Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 172.8 kB / 16.1 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240.1 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 86.69 kB / 291.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0252/0.0252, allocations: 5.389 MB / 347.8 MB, free: 7.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009792/0.009792, allocations: 2.306 MB / 402.4 MB, free: 1.211 MB / 286.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 12 kB / 466.7 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2981, allocations: 52.2 MB / 0.5068 GB, free: 7.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007251/0.3053, allocations: 6.332 MB / 0.513 GB, free: 2.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.3125, allocations: 3.831 MB / 0.5167 GB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.3138, allocations: 22.88 kB / 0.5167 GB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.3154, allocations: 448.7 kB / 0.5171 GB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.3179, allocations: 0.7596 MB / 0.5179 GB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.3199, allocations: 498.9 kB / 0.5184 GB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.3219, allocations: 1.314 MB / 0.5196 GB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.3244, allocations: 1.418 MB / 0.521 GB, free: 13.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.3252, allocations: 464.8 kB / 0.5215 GB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.326, allocations: 0.5793 MB / 0.522 GB, free: 12.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3262, allocations: 59.81 kB / 0.5221 GB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.3272, allocations: 351.5 kB / 0.5224 GB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3275, allocations: 219.6 kB / 0.5226 GB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.3281, allocations: 0.568 MB / 0.5232 GB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3295, allocations: 1.331 MB / 0.5245 GB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3295, allocations: 0 / 0.5245 GB, free: 10.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3295, allocations: 0 / 0.5245 GB, free: 10.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3296, allocations: 9.156 kB / 0.5245 GB, free: 10.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003981/0.3335, allocations: 1.574 MB / 0.526 GB, free: 9.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3336, allocations: 9.562 kB / 0.526 GB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.3358, allocations: 379.1 kB / 0.5264 GB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.3385, allocations: 0.8358 MB / 0.5272 GB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3386, allocations: 82.36 kB / 0.5273 GB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.3389, allocations: 103.2 kB / 0.5274 GB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.3412, allocations: 1.184 MB / 0.5286 GB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.3413, allocations: 0 / 0.5286 GB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.3414, allocations: 44 kB / 0.5286 GB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.3414, allocations: 28 kB / 0.5286 GB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3436, allocations: 1.073 MB / 0.5297 GB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007204/0.3508, allocations: 4.4 MB / 0.534 GB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.3535, allocations: 1.755 MB / 0.5357 GB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.3542, allocations: 331.3 kB / 0.536 GB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3543, allocations: 93.66 kB / 0.5361 GB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3554, allocations: 473.7 kB / 0.5365 GB, free: 15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/0.3554, allocations: 0 / 0.5365 GB, free: 15 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005939/0.3613, allocations: 1.635 MB / 0.5381 GB, free: 13.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.3615, allocations: 222.2 kB / 0.5384 GB, free: 13.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/0.3624, allocations: 0.6486 MB / 0.539 GB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.3624, allocations: 41.7 kB / 0.539 GB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.3629, allocations: 0.5257 MB / 0.5395 GB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.3631, allocations: 236.9 kB / 0.5398 GB, free: 11.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3632, allocations: 81.67 kB / 0.5398 GB, free: 11.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3634, allocations: 390.7 kB / 0.5402 GB, free: 11.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006256/0.364, allocations: 301.8 kB / 0.5405 GB, free: 10.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/0.3649, allocations: 0.5387 MB / 0.541 GB, free: 10.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.3664, allocations: 0.9438 MB / 0.542 GB, free: 9.102 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3664, allocations: 4 kB / 0.542 GB, free: 9.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002178/0.3686, allocations: 1.121 MB / 0.543 GB, free: 7.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.3686, allocations: 63.39 kB / 0.5431 GB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3687, allocations: 8 kB / 0.5431 GB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.3691, allocations: 80.78 kB / 0.5432 GB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.37, allocations: 231.8 kB / 0.5434 GB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.3715, allocations: 1.472 MB / 0.5449 GB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.3723, allocations: 115.1 kB / 0.545 GB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.3723, allocations: 43.98 kB / 0.545 GB, free: 5.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005707/0.3729, allocations: 335.9 kB / 0.5453 GB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.373, allocations: 94.83 kB / 0.5454 GB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.3751, allocations: 1.018 MB / 0.5464 GB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3751, allocations: 4 kB / 0.5464 GB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3751, allocations: 0 / 0.5464 GB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3751, allocations: 11.97 kB / 0.5464 GB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.3813, allocations: 2.333 MB / 0.5487 GB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3814, allocations: 4 kB / 0.5487 GB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.382, allocations: 107.9 kB / 0.5488 GB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.3831, allocations: 334.3 kB / 0.5491 GB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.3832, allocations: 23.98 kB / 0.5492 GB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.3849, allocations: 0.9131 MB / 0.55 GB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3849, allocations: 3.938 kB / 0.55 GB, free: 476 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.3886, allocations: 1.412 MB / 0.5514 GB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.3891, allocations: 235.9 kB / 0.5517 GB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.3893, allocations: 23.94 kB / 0.5517 GB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.3901, allocations: 51.97 kB / 0.5517 GB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3902, allocations: 44.5 kB / 0.5518 GB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.3903, allocations: 31.97 kB / 0.5518 GB, free: 14.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009257/0.3913, allocations: 451 kB / 0.5522 GB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3913, allocations: 0 / 0.5522 GB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001512/0.3928, allocations: 327 kB / 0.5525 GB, free: 13.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.3947, allocations: 0.6606 MB / 0.5532 GB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.3973, allocations: 0.9998 MB / 0.5542 GB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3974, allocations: 0 / 0.5542 GB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.3985, allocations: 0.4944 MB / 0.5546 GB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3997, allocations: 151.9 kB / 0.5548 GB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.4037, allocations: 2.318 MB / 0.5571 GB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.4045, allocations: 1.018 MB / 0.558 GB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4049, allocations: 79.41 kB / 0.5581 GB, free: 8.242 MB / 334.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4049, allocations: 3.938 kB / 0.5581 GB, free: 8.238 MB / 334.1 MB Notification: Performance of Templates: time 0.02892/0.4338, allocations: 17.11 MB / 0.5748 GB, free: 7.168 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629CalcHelperMain.o] Error 1