Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") [: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.00232/0.00232, allocations: 191.2 kB / 7.458 MB, free: 2.516 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.045/1.045, allocations: 221.4 MB / 229.3 MB, free: 3.121 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.0008411/0.0008411, allocations: 95.84 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0225/0.0225, allocations: 5.298 MB / 336.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007325/0.007325, allocations: 2.296 MB / 390.4 MB, free: 74.72 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.83e-06, allocations: 0 / 449.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 52.19 MB / 0.4898 GB, free: 43.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09541/0.2812, allocations: 97.84 MB / 0.5854 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.2815, allocations: 68.91 kB / 0.5854 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09251/0.374, allocations: 38.16 MB / 0.6227 GB, free: 6.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-05/0.3741, allocations: 24 kB / 0.6227 GB, free: 6.41 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.002832/0.3769, allocations: 1.395 MB / 0.6241 GB, free: 4.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3769, allocations: 8.031 kB / 0.6241 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.3785, allocations: 322.2 kB / 0.6244 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3797, allocations: 0.6563 MB / 0.625 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.3798, allocations: 36 kB / 0.6251 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3799, allocations: 67.98 kB / 0.6251 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/0.3815, allocations: 0.8617 MB / 0.626 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.3831, allocations: 0.9351 MB / 0.6269 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.3832, allocations: 4 kB / 0.6269 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.3833, allocations: 0 / 0.6269 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.3833, allocations: 28 kB / 0.6269 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.4968, allocations: 4.298 MB / 0.6311 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.4976, allocations: 0.6247 MB / 0.6317 GB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.498, allocations: 295.2 kB / 0.632 GB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.615e-05/0.4981, allocations: 95.61 kB / 0.6321 GB, free: 135.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.4985, allocations: 432.3 kB / 0.6325 GB, free: 135.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.504e-06/0.4986, allocations: 0 / 0.6325 GB, free: 135.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.00349/0.502, allocations: 0.9535 MB / 0.6335 GB, free: 135.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.5021, allocations: 305.4 kB / 0.6337 GB, free: 135.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.5028, allocations: 0.5831 MB / 0.6343 GB, free: 135.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.5028, allocations: 35.73 kB / 0.6344 GB, free: 135 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.503, allocations: 443.8 kB / 0.6348 GB, free: 134.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5031, allocations: 202.1 kB / 0.635 GB, free: 134.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.5032, allocations: 3.062 kB / 0.635 GB, free: 134.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.5033, allocations: 395.2 kB / 0.6353 GB, free: 134.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.5036, allocations: 254.9 kB / 0.6356 GB, free: 134.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.5041, allocations: 0.5101 MB / 0.6361 GB, free: 134.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.5046, allocations: 347.7 kB / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5046, allocations: 0 / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001519/0.5061, allocations: 0.9347 MB / 0.6373 GB, free: 134 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5062, allocations: 7.562 kB / 0.6373 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5062, allocations: 6.469 kB / 0.6373 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.5067, allocations: 108.5 kB / 0.6374 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.5075, allocations: 208.6 kB / 0.6376 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.5087, allocations: 1.512 MB / 0.6391 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.5094, allocations: 89.5 kB / 0.6392 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.5094, allocations: 45.56 kB / 0.6393 GB, free: 132.7 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.000168/0.5096, allocations: 201.9 kB / 0.6394 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5097, allocations: 85.78 kB / 0.6395 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.5132, allocations: 1.06 MB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5132, allocations: 7.25 kB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5132, allocations: 3.688 kB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5133, allocations: 6.234 kB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.5177, allocations: 2.055 MB / 0.6426 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5177, allocations: 5.375 kB / 0.6426 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.5181, allocations: 88.25 kB / 0.6427 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/0.5204, allocations: 0.5535 MB / 0.6432 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.5204, allocations: 23.67 kB / 0.6432 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/0.5211, allocations: 0.8384 MB / 0.6441 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5211, allocations: 3.906 kB / 0.6441 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003746/0.5248, allocations: 1.487 MB / 0.6455 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.5251, allocations: 247.8 kB / 0.6457 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.5253, allocations: 11.53 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.5258, allocations: 41.33 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.5259, allocations: 44 kB / 0.6458 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.526, allocations: 31.44 kB / 0.6459 GB, free: 131 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004153/0.5264, allocations: 448.6 kB / 0.6463 GB, free: 130.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008109/0.5272, allocations: 336.9 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.0009339/0.5281, allocations: 0.5927 MB / 0.6472 GB, free: 130.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.5292, allocations: 0.8491 MB / 0.648 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5292, allocations: 3.188 kB / 0.648 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.5297, allocations: 402 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.0006136/0.5303, allocations: 132.4 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.001937/0.5323, allocations: 1.23 MB / 0.6497 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.5328, allocations: 1.115 MB / 0.6508 GB, free: 129.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5329, allocations: 0 / 0.6508 GB, free: 129.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01613/0.549, allocations: 12.18 MB / 0.6627 GB, free: 128.6 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)