Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") [: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.001827/0.001827, allocations: 180 kB / 7.454 MB, free: 2.504 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.065/1.065, allocations: 221.4 MB / 229.3 MB, free: 3.258 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.0008442/0.0008442, allocations: 93 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0223/0.0223, allocations: 5.288 MB / 336.2 MB, free: 9.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007342/0.007342, allocations: 2.294 MB / 390.4 MB, free: 74.68 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.34e-06, allocations: 0 / 449.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 52.19 MB / 0.4898 GB, free: 43.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0911/0.2641, allocations: 97.83 MB / 0.5854 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001583/0.2643, allocations: 66.14 kB / 0.5854 GB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09255/0.3569, allocations: 38.16 MB / 0.6227 GB, free: 6.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.531e-05/0.357, allocations: 28 kB / 0.6227 GB, free: 6.367 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002803/0.3598, allocations: 1.387 MB / 0.6241 GB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.3598, allocations: 8.031 kB / 0.6241 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3614, allocations: 322.2 kB / 0.6244 GB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.3625, allocations: 0.6563 MB / 0.625 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.3626, allocations: 44.92 kB / 0.6251 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3627, allocations: 60 kB / 0.6251 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001578/0.3643, allocations: 0.863 MB / 0.626 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.3658, allocations: 0.9312 MB / 0.6269 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3658, allocations: 7.984 kB / 0.6269 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.3659, allocations: 4 kB / 0.6269 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.3659, allocations: 24 kB / 0.6269 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/0.4729, allocations: 4.299 MB / 0.6311 GB, free: 136 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.4737, allocations: 0.619 MB / 0.6317 GB, free: 136 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.4741, allocations: 302 kB / 0.632 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.4742, allocations: 93.84 kB / 0.6321 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004464/0.4747, allocations: 428 kB / 0.6325 GB, free: 135.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.776e-06/0.4747, allocations: 0 / 0.6325 GB, free: 135.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003437/0.4781, allocations: 0.9564 MB / 0.6335 GB, free: 135.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4782, allocations: 300.8 kB / 0.6337 GB, free: 135.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.4788, allocations: 0.5893 MB / 0.6343 GB, free: 135.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.4789, allocations: 28.89 kB / 0.6343 GB, free: 135.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4791, allocations: 439.9 kB / 0.6348 GB, free: 134.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4792, allocations: 213.6 kB / 0.635 GB, free: 134.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4792, allocations: 0 / 0.635 GB, free: 134.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.4793, allocations: 394.9 kB / 0.6353 GB, free: 134.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.4797, allocations: 260.5 kB / 0.6356 GB, free: 134.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.4801, allocations: 0.5056 MB / 0.6361 GB, free: 134.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.4807, allocations: 349.3 kB / 0.6364 GB, free: 134.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4807, allocations: 0 / 0.6364 GB, free: 134.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001564/0.4823, allocations: 0.9352 MB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4823, allocations: 3.938 kB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4823, allocations: 6.625 kB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.4828, allocations: 100.7 kB / 0.6374 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.4836, allocations: 216.6 kB / 0.6376 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.4848, allocations: 1.504 MB / 0.6391 GB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.4855, allocations: 85.09 kB / 0.6392 GB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.4856, allocations: 51.64 kB / 0.6392 GB, free: 132.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete 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 (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.0001703/0.4858, allocations: 206.9 kB / 0.6394 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4859, allocations: 84.47 kB / 0.6395 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.4893, allocations: 1.063 MB / 0.6406 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4894, allocations: 7.75 kB / 0.6406 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4894, allocations: 0 / 0.6406 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4894, allocations: 9.891 kB / 0.6406 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.494, allocations: 2.051 MB / 0.6426 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.494, allocations: 1.688 kB / 0.6426 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.4943, allocations: 91.72 kB / 0.6427 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.4967, allocations: 0.5564 MB / 0.6432 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.4967, allocations: 18.11 kB / 0.6432 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006773/0.4974, allocations: 0.8369 MB / 0.6441 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4974, allocations: 0.5938 kB / 0.6441 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003811/0.5013, allocations: 1.496 MB / 0.6455 GB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.5016, allocations: 250.3 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.5018, allocations: 11.38 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.5023, allocations: 39.95 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.5024, allocations: 40.72 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.5025, allocations: 35.95 kB / 0.6459 GB, free: 131.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004374/0.5029, allocations: 451.5 kB / 0.6463 GB, free: 131 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008984/0.5038, allocations: 330.3 kB / 0.6466 GB, free: 131 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001082/0.5049, allocations: 0.5981 MB / 0.6472 GB, free: 130.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.5061, allocations: 0.8462 MB / 0.648 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5061, allocations: 3.438 kB / 0.648 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.5066, allocations: 405.5 kB / 0.6484 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.5073, allocations: 134.9 kB / 0.6485 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.5095, allocations: 1.228 MB / 0.6497 GB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/0.5102, allocations: 1.121 MB / 0.6508 GB, free: 129.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5102, allocations: 0 / 0.6508 GB, free: 129.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01679/0.527, allocations: 12.17 MB / 0.6627 GB, free: 128.7 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)