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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002299/0.002299, allocations: 185.7 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.062/1.062, allocations: 221.4 MB / 229.3 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 91.05 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02211/0.02211, allocations: 5.286 MB / 336.2 MB, free: 9.301 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007962/0.007962, allocations: 2.3 MB / 390.4 MB, free: 74.73 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.218e-06/4.248e-06, allocations: 0 / 449.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 52.19 MB / 0.4898 GB, free: 43.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08954/0.2576, allocations: 98.03 MB / 0.5856 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001314/0.2577, allocations: 74.81 kB / 0.5856 GB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.08828/0.346, allocations: 37.3 MB / 0.6221 GB, free: 7.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.3461, allocations: 24 kB / 0.6221 GB, free: 7.086 MB / 410.7 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.002628/0.3487, allocations: 1.405 MB / 0.6235 GB, free: 5.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.3488, allocations: 12.03 kB / 0.6235 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.3503, allocations: 322.2 kB / 0.6238 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.3512, allocations: 0.6626 MB / 0.6244 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3513, allocations: 36 kB / 0.6245 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3514, allocations: 67.98 kB / 0.6245 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/0.3531, allocations: 1.019 MB / 0.6255 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.3547, allocations: 0.9774 MB / 0.6265 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3547, allocations: 3.906 kB / 0.6265 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.3548, allocations: 4 kB / 0.6265 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3548, allocations: 28 kB / 0.6265 GB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1006/0.4555, allocations: 4.389 MB / 0.6308 GB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.4563, allocations: 0.6771 MB / 0.6315 GB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.4567, allocations: 310.2 kB / 0.6318 GB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.4568, allocations: 95.14 kB / 0.6318 GB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.4573, allocations: 455.7 kB / 0.6323 GB, free: 136 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.435e-06/0.4573, allocations: 0 / 0.6323 GB, free: 136 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.003433/0.4607, allocations: 1.011 MB / 0.6333 GB, free: 136 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4608, allocations: 249.8 kB / 0.6335 GB, free: 135.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.4613, allocations: 0.6015 MB / 0.6341 GB, free: 135.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.4614, allocations: 29.36 kB / 0.6341 GB, free: 135.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4615, allocations: 446.4 kB / 0.6345 GB, free: 135.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4617, allocations: 228.7 kB / 0.6348 GB, free: 135.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.4617, allocations: 0 / 0.6348 GB, free: 135.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.4618, allocations: 390.8 kB / 0.6351 GB, free: 134.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.4622, allocations: 288.5 kB / 0.6354 GB, free: 134.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.4626, allocations: 0.5205 MB / 0.6359 GB, free: 134.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.4632, allocations: 363.2 kB / 0.6363 GB, free: 134.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4632, allocations: 3.688 kB / 0.6363 GB, free: 134.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001594/0.4648, allocations: 0.9996 MB / 0.6372 GB, free: 134.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.4648, allocations: 3.031 kB / 0.6372 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4648, allocations: 7.188 kB / 0.6373 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.4653, allocations: 101.6 kB / 0.6374 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.4661, allocations: 220.7 kB / 0.6376 GB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4672, allocations: 1.501 MB / 0.639 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.4679, allocations: 81.56 kB / 0.6391 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.468, allocations: 47.16 kB / 0.6391 GB, free: 133.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.4681, allocations: 206.4 kB / 0.6393 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.4682, allocations: 86.86 kB / 0.6394 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.4718, allocations: 1.181 MB / 0.6406 GB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4718, allocations: 6.75 kB / 0.6406 GB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.4718, allocations: 3.938 kB / 0.6406 GB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.4718, allocations: 3.469 kB / 0.6406 GB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.4764, allocations: 2.238 MB / 0.6428 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4764, allocations: 0 / 0.6428 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.4768, allocations: 113.8 kB / 0.6429 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.4791, allocations: 0.5499 MB / 0.6434 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.4792, allocations: 21 kB / 0.6434 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/0.4798, allocations: 0.8342 MB / 0.6443 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4798, allocations: 3.625 kB / 0.6443 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003802/0.4836, allocations: 1.605 MB / 0.6458 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.4839, allocations: 260.5 kB / 0.6461 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.484, allocations: 11.53 kB / 0.6461 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.4846, allocations: 35.34 kB / 0.6461 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.4846, allocations: 42.66 kB / 0.6462 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.4847, allocations: 37.33 kB / 0.6462 GB, free: 131.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003981/0.4851, allocations: 458.4 kB / 0.6466 GB, free: 131.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.4859, allocations: 348.5 kB / 0.647 GB, free: 131.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008997/0.4868, allocations: 0.5881 MB / 0.6475 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4879, allocations: 0.9045 MB / 0.6484 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4879, allocations: 0 / 0.6484 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.4884, allocations: 452.8 kB / 0.6489 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.489, allocations: 117.7 kB / 0.649 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.4909, allocations: 1.29 MB / 0.6502 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.4915, allocations: 1.141 MB / 0.6513 GB, free: 129.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4915, allocations: 0.75 kB / 0.6513 GB, free: 129.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01567/0.5072, allocations: 12.3 MB / 0.6634 GB, free: 129.2 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)