Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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.002098/0.002098, allocations: 180.7 kB / 7.453 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.071/1.071, allocations: 221.4 MB / 229.3 MB, free: 3.117 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.0009106/0.0009106, allocations: 89.67 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.02227/0.02227, allocations: 5.291 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.00739/0.00739, allocations: 2.298 MB / 390.4 MB, free: 74.71 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.232e-06, allocations: 4 kB / 449.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 52.18 MB / 0.4898 GB, free: 43.31 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3315, allocations: 98.04 MB / 0.5856 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.3318, allocations: 65.55 kB / 0.5856 GB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09344/0.4252, allocations: 37.29 MB / 0.6221 GB, free: 7.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.492e-05/0.4253, allocations: 24 kB / 0.6221 GB, free: 7.145 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.003444/0.4288, allocations: 1.409 MB / 0.6235 GB, free: 5.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4288, allocations: 8.031 kB / 0.6235 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.4306, allocations: 322.2 kB / 0.6238 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.432, allocations: 0.6603 MB / 0.6244 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.4321, allocations: 40 kB / 0.6245 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.4323, allocations: 64 kB / 0.6245 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/0.4344, allocations: 1.023 MB / 0.6255 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4363, allocations: 0.9734 MB / 0.6265 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.4363, allocations: 7.906 kB / 0.6265 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.4364, allocations: 0 / 0.6265 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.4364, allocations: 29.31 kB / 0.6265 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/0.5607, allocations: 4.385 MB / 0.6308 GB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.5617, allocations: 0.6803 MB / 0.6314 GB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.5622, allocations: 315.1 kB / 0.6317 GB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.5623, allocations: 91.75 kB / 0.6318 GB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.5628, allocations: 453.9 kB / 0.6323 GB, free: 136.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.095e-06/0.5628, allocations: 0 / 0.6323 GB, free: 136.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.003599/0.5664, allocations: 1.01 MB / 0.6333 GB, free: 136.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.5665, allocations: 254.8 kB / 0.6335 GB, free: 136.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.5672, allocations: 0.5947 MB / 0.6341 GB, free: 136.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.5673, allocations: 39.3 kB / 0.6341 GB, free: 136.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.5675, allocations: 447.7 kB / 0.6345 GB, free: 135.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.5677, allocations: 227 kB / 0.6348 GB, free: 135.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.5678, allocations: 0 / 0.6348 GB, free: 135.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5679, allocations: 387.9 kB / 0.6351 GB, free: 135.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.5683, allocations: 284.7 kB / 0.6354 GB, free: 135.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.5688, allocations: 0.5181 MB / 0.6359 GB, free: 135.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.5694, allocations: 370.9 kB / 0.6363 GB, free: 135.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5694, allocations: 0 / 0.6363 GB, free: 135.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001734/0.5711, allocations: 1.005 MB / 0.6372 GB, free: 135 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5712, allocations: 8.625 kB / 0.6373 GB, free: 135 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.5712, allocations: 7.844 kB / 0.6373 GB, free: 135 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.5717, allocations: 97.38 kB / 0.6374 GB, free: 135 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.5725, allocations: 214.2 kB / 0.6376 GB, free: 135 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5738, allocations: 1.506 MB / 0.639 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.5746, allocations: 79.38 kB / 0.6391 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.5747, allocations: 46.95 kB / 0.6391 GB, free: 133.7 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.0001994/0.5749, allocations: 208.2 kB / 0.6393 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.575, allocations: 83.84 kB / 0.6394 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.5787, allocations: 1.176 MB / 0.6406 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.5787, allocations: 11.64 kB / 0.6406 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5787, allocations: 0 / 0.6406 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.5787, allocations: 7.688 kB / 0.6406 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/0.5836, allocations: 2.236 MB / 0.6428 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5836, allocations: 0 / 0.6428 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.584, allocations: 114.9 kB / 0.6429 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.5863, allocations: 0.546 MB / 0.6434 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.5864, allocations: 24.83 kB / 0.6434 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/0.587, allocations: 0.8373 MB / 0.6443 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5871, allocations: 2.344 kB / 0.6443 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003952/0.591, allocations: 1.604 MB / 0.6458 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.5914, allocations: 268.9 kB / 0.6461 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5916, allocations: 11.84 kB / 0.6461 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.5921, allocations: 32.52 kB / 0.6461 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5922, allocations: 47.36 kB / 0.6462 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.5923, allocations: 27.14 kB / 0.6462 GB, free: 132.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004815/0.5928, allocations: 465.7 kB / 0.6466 GB, free: 132 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009858/0.5938, allocations: 337.3 kB / 0.647 GB, free: 132 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.001104/0.5949, allocations: 0.5977 MB / 0.6475 GB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.5962, allocations: 0.9048 MB / 0.6484 GB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5962, allocations: 0 / 0.6484 GB, free: 131.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.5967, allocations: 452.4 kB / 0.6489 GB, free: 131.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.5974, allocations: 111.8 kB / 0.649 GB, free: 131.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.5998, allocations: 1.298 MB / 0.6502 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.6005, allocations: 1.137 MB / 0.6513 GB, free: 130.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6005, allocations: 0 / 0.6513 GB, free: 130.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01802/0.6185, allocations: 12.31 MB / 0.6634 GB, free: 129.7 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)