Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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.002196/0.002196, allocations: 180.8 kB / 7.456 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.094/1.094, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.0009251/0.0009251, allocations: 90.61 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02244/0.02244, allocations: 5.294 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.007641/0.007641, allocations: 2.304 MB / 390.4 MB, free: 74.75 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.769e-06/4.789e-06, allocations: 0 / 449.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2048, allocations: 52.2 MB / 0.4898 GB, free: 43.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3088, allocations: 98.03 MB / 0.5856 GB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3091, allocations: 63.98 kB / 0.5856 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09314/0.4022, allocations: 37.29 MB / 0.6221 GB, free: 7.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.459e-05/0.4023, allocations: 24 kB / 0.6221 GB, free: 7.113 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.003221/0.4055, allocations: 1.416 MB / 0.6235 GB, free: 5.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.4056, allocations: 8.031 kB / 0.6235 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.4073, allocations: 318.2 kB / 0.6238 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4085, allocations: 0.6681 MB / 0.6244 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.4085, allocations: 36 kB / 0.6245 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.4087, allocations: 60 kB / 0.6245 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/0.4106, allocations: 1.019 MB / 0.6255 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.4123, allocations: 0.9774 MB / 0.6265 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.4123, allocations: 3.906 kB / 0.6265 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.227e-05/0.4124, allocations: 4 kB / 0.6265 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4124, allocations: 24 kB / 0.6265 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1137/0.5262, allocations: 4.386 MB / 0.6308 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.527, allocations: 0.68 MB / 0.6314 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.5274, allocations: 316.2 kB / 0.6317 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.5275, allocations: 90.86 kB / 0.6318 GB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.528, allocations: 458.7 kB / 0.6323 GB, free: 136.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.853e-06/0.528, allocations: 2.438 kB / 0.6323 GB, free: 136.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.003564/0.5315, allocations: 1.012 MB / 0.6333 GB, free: 136.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5316, allocations: 252.1 kB / 0.6335 GB, free: 135.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.5322, allocations: 0.598 MB / 0.6341 GB, free: 135.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.5322, allocations: 33.33 kB / 0.6341 GB, free: 135.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5324, allocations: 452.6 kB / 0.6345 GB, free: 135.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5325, allocations: 225.9 kB / 0.6348 GB, free: 135.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.5326, allocations: 0 / 0.6348 GB, free: 135.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.5326, allocations: 391.6 kB / 0.6351 GB, free: 135 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.533, allocations: 284.6 kB / 0.6354 GB, free: 135 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.5335, allocations: 0.5193 MB / 0.6359 GB, free: 134.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.534, allocations: 363.8 kB / 0.6363 GB, free: 134.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.534, allocations: 0 / 0.6363 GB, free: 134.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001604/0.5356, allocations: 1.006 MB / 0.6372 GB, free: 134.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5357, allocations: 7.781 kB / 0.6373 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5357, allocations: 3.812 kB / 0.6373 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.5362, allocations: 97.02 kB / 0.6373 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.537, allocations: 222.4 kB / 0.6376 GB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.5382, allocations: 1.502 MB / 0.639 GB, free: 133.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.5388, allocations: 83.08 kB / 0.6391 GB, free: 133.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.5389, allocations: 44.8 kB / 0.6391 GB, free: 133.3 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.0001609/0.5391, allocations: 204.5 kB / 0.6393 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5392, allocations: 78.03 kB / 0.6394 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.5429, allocations: 1.186 MB / 0.6406 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5429, allocations: 11.28 kB / 0.6406 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5429, allocations: 6.797 kB / 0.6406 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.5429, allocations: 2.906 kB / 0.6406 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/0.5475, allocations: 2.232 MB / 0.6428 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5475, allocations: 3.281 kB / 0.6428 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.548, allocations: 109.6 kB / 0.6429 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.5503, allocations: 0.5494 MB / 0.6434 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.5504, allocations: 23.92 kB / 0.6434 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006253/0.551, allocations: 0.8344 MB / 0.6443 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.551, allocations: 3.375 kB / 0.6443 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003957/0.555, allocations: 1.602 MB / 0.6458 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.5553, allocations: 268.8 kB / 0.6461 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.5555, allocations: 10.94 kB / 0.6461 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.556, allocations: 36.94 kB / 0.6461 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.5561, allocations: 36.25 kB / 0.6462 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.5562, allocations: 33.11 kB / 0.6462 GB, free: 131.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000431/0.5566, allocations: 464.4 kB / 0.6466 GB, free: 131.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008545/0.5575, allocations: 351.1 kB / 0.647 GB, free: 131.6 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.001041/0.5585, allocations: 0.5872 MB / 0.6475 GB, free: 131.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.5597, allocations: 0.9071 MB / 0.6484 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5597, allocations: 0 / 0.6484 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.5602, allocations: 450.7 kB / 0.6489 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.5608, allocations: 113.7 kB / 0.649 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.5628, allocations: 1.299 MB / 0.6502 GB, free: 130.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.5634, allocations: 1.136 MB / 0.6513 GB, free: 130.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5634, allocations: 0 / 0.6513 GB, free: 130.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01639/0.5798, allocations: 12.3 MB / 0.6634 GB, free: 129.3 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)