Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") [: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.002411/0.002411, allocations: 181 kB / 7.454 MB, free: 2.508 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.039/1.039, 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.0008524/0.0008524, allocations: 88.34 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.02229/0.02229, allocations: 5.298 MB / 336.2 MB, free: 9.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00727/0.00727, allocations: 2.292 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.359e-06/4.379e-06, allocations: 0 / 449.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 52.18 MB / 0.4898 GB, free: 43.21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09518/0.2759, allocations: 97.84 MB / 0.5854 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.2761, allocations: 72.91 kB / 0.5854 GB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09273/0.3688, allocations: 38.16 MB / 0.6227 GB, free: 6.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.613e-05/0.3689, allocations: 24 kB / 0.6227 GB, free: 6.414 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.003156/0.3721, allocations: 1.391 MB / 0.6241 GB, free: 4.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3721, allocations: 8.031 kB / 0.6241 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.3738, allocations: 322.2 kB / 0.6244 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3751, allocations: 0.6563 MB / 0.625 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.3751, allocations: 36 kB / 0.6251 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.3753, allocations: 60 kB / 0.6251 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001667/0.377, allocations: 0.8669 MB / 0.626 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.3786, allocations: 0.9351 MB / 0.6269 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3786, allocations: 4 kB / 0.6269 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/0.3787, allocations: 5.312 kB / 0.6269 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.3788, allocations: 28 kB / 0.6269 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1085/0.4873, allocations: 4.304 MB / 0.6311 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.4881, allocations: 0.6195 MB / 0.6317 GB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.4885, allocations: 295.8 kB / 0.632 GB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.544e-05/0.4886, allocations: 90.53 kB / 0.6321 GB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.4891, allocations: 429.7 kB / 0.6325 GB, free: 135.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.354e-06/0.4891, allocations: 0 / 0.6325 GB, free: 135.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003422/0.4925, allocations: 0.9559 MB / 0.6335 GB, free: 135.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.4926, allocations: 301.3 kB / 0.6337 GB, free: 135.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.4931, allocations: 0.5854 MB / 0.6343 GB, free: 135 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.4932, allocations: 33.52 kB / 0.6343 GB, free: 135 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.4934, allocations: 446.4 kB / 0.6348 GB, free: 134.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4935, allocations: 212 kB / 0.635 GB, free: 134.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.4935, allocations: 0 / 0.635 GB, free: 134.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.4936, allocations: 395.8 kB / 0.6353 GB, free: 134.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.494, allocations: 259.3 kB / 0.6356 GB, free: 134.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.4944, allocations: 0.5079 MB / 0.6361 GB, free: 134.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.495, allocations: 350.4 kB / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.495, allocations: 0 / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001532/0.4965, allocations: 0.9345 MB / 0.6373 GB, free: 134 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4965, allocations: 4.688 kB / 0.6373 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4966, allocations: 7.656 kB / 0.6374 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.4971, allocations: 98.95 kB / 0.6374 GB, free: 133.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.4979, allocations: 216.5 kB / 0.6377 GB, free: 133.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4991, allocations: 1.498 MB / 0.6391 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.4998, allocations: 89.14 kB / 0.6392 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.4998, allocations: 45.36 kB / 0.6392 GB, free: 132.6 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.0001717/0.5, allocations: 210 kB / 0.6394 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5001, allocations: 88.48 kB / 0.6395 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/0.5036, allocations: 1.058 MB / 0.6406 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5036, allocations: 10.84 kB / 0.6406 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5036, allocations: 0 / 0.6406 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.5036, allocations: 3.938 kB / 0.6406 GB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.508, allocations: 2.065 MB / 0.6426 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.508, allocations: 0.75 kB / 0.6426 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.5084, allocations: 84.73 kB / 0.6427 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.5106, allocations: 0.5534 MB / 0.6432 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.5107, allocations: 22.38 kB / 0.6432 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/0.5113, allocations: 0.8384 MB / 0.6441 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5113, allocations: 0 / 0.6441 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003685/0.515, allocations: 1.494 MB / 0.6455 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.5153, allocations: 248.5 kB / 0.6457 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.5155, allocations: 7.656 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.516, allocations: 37.75 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.5161, allocations: 48.23 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.5161, allocations: 27.75 kB / 0.6459 GB, free: 131 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004024/0.5166, allocations: 448.5 kB / 0.6463 GB, free: 130.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007952/0.5174, allocations: 337 kB / 0.6466 GB, free: 130.9 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.0009924/0.5184, allocations: 0.6046 MB / 0.6472 GB, free: 130.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.5194, allocations: 0.8452 MB / 0.648 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5194, allocations: 0 / 0.648 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.5199, allocations: 405.6 kB / 0.6484 GB, free: 130.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.5206, allocations: 135.3 kB / 0.6485 GB, free: 130.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.5225, allocations: 1.227 MB / 0.6497 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/0.5231, allocations: 1.118 MB / 0.6508 GB, free: 129.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5231, allocations: 0 / 0.6508 GB, free: 129.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01594/0.5391, allocations: 12.17 MB / 0.6627 GB, free: 128.6 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)