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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001552, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.000926, allocations: 85.75 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02599/0.02599, allocations: 5.279 MB / 341.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008125/0.008125, allocations: 2.291 MB / 396.2 MB, free: 70.46 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.857e-05/4.884e-05, allocations: 0 / 457.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3911, allocations: 52.19 MB / 0.4974 GB, free: 41.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5273, allocations: 98.54 MB / 0.5937 GB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5276, allocations: 67.92 kB / 0.5937 GB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3808/0.9084, allocations: 37.05 MB / 0.6299 GB, free: 93.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.9085, allocations: 0 / 0.6299 GB, free: 93.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.04e-05/0.9086, allocations: 30.89 kB / 0.6299 GB, free: 93.84 MB / 394.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.003597/0.9122, allocations: 1.349 MB / 0.6313 GB, free: 93.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.9123, allocations: 11.34 kB / 0.6313 GB, free: 93.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.9142, allocations: 302.6 kB / 0.6316 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.9158, allocations: 0.6465 MB / 0.6322 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.069e-05/0.9159, allocations: 76.59 kB / 0.6323 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.9162, allocations: 101.8 kB / 0.6324 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.9183, allocations: 1.098 MB / 0.6334 GB, free: 92.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.9183, allocations: 7.219 kB / 0.6334 GB, free: 92.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.9185, allocations: 44.75 kB / 0.6335 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.9185, allocations: 25.53 kB / 0.6335 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.9204, allocations: 0.9296 MB / 0.6344 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007575/0.928, allocations: 4.489 MB / 0.6388 GB, free: 90.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.9302, allocations: 1.687 MB / 0.6404 GB, free: 88.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.9308, allocations: 293.1 kB / 0.6407 GB, free: 88.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.931, allocations: 95.33 kB / 0.6408 GB, free: 88.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007429/0.9317, allocations: 451.1 kB / 0.6412 GB, free: 88.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 4.508e-06/0.9318, allocations: 0 / 0.6412 GB, free: 88.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003884/0.9356, allocations: 1.063 MB / 0.6423 GB, free: 87.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.9359, allocations: 301.9 kB / 0.6426 GB, free: 87.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.9372, allocations: 0.6269 MB / 0.6432 GB, free: 87.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.9373, allocations: 43.36 kB / 0.6432 GB, free: 87.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.9377, allocations: 0.5098 MB / 0.6437 GB, free: 86.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.938, allocations: 221.5 kB / 0.6439 GB, free: 86.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.938, allocations: 15.88 kB / 0.644 GB, free: 86.65 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9382, allocations: 392.7 kB / 0.6443 GB, free: 86.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.9386, allocations: 270.3 kB / 0.6446 GB, free: 86.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.9392, allocations: 0.5202 MB / 0.6451 GB, free: 85.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.9397, allocations: 394.6 kB / 0.6455 GB, free: 85.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.9398, allocations: 2.656 kB / 0.6455 GB, free: 85.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001943/0.9417, allocations: 1.052 MB / 0.6465 GB, free: 85.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.9418, allocations: 63.81 kB / 0.6466 GB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.9418, allocations: 7.406 kB / 0.6466 GB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.9424, allocations: 101.2 kB / 0.6467 GB, free: 85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.9433, allocations: 219.6 kB / 0.6469 GB, free: 84.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.9449, allocations: 1.562 MB / 0.6484 GB, free: 83.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.9462, allocations: 112 kB / 0.6485 GB, free: 83.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.9464, allocations: 47.5 kB / 0.6486 GB, free: 83.37 MB / 394.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.0004183/0.9468, allocations: 234.4 kB / 0.6488 GB, free: 83.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.9472, allocations: 83.06 kB / 0.6489 GB, free: 83.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.9513, allocations: 1.189 MB / 0.65 GB, free: 82.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.9513, allocations: 11.5 kB / 0.65 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9513, allocations: 0 / 0.65 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.9514, allocations: 3.422 kB / 0.65 GB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.9556, allocations: 2.059 MB / 0.652 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.9556, allocations: 4 kB / 0.652 GB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.956, allocations: 91.31 kB / 0.6521 GB, free: 80.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.9583, allocations: 0.5392 MB / 0.6527 GB, free: 79.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.9585, allocations: 23.22 kB / 0.6527 GB, free: 79.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/0.9595, allocations: 0.8601 MB / 0.6535 GB, free: 78.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9595, allocations: 7.969 kB / 0.6535 GB, free: 78.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.9619, allocations: 1.334 MB / 0.6548 GB, free: 77.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/0.9627, allocations: 251.3 kB / 0.6551 GB, free: 77.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.963, allocations: 16 kB / 0.6551 GB, free: 77.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.9638, allocations: 55.62 kB / 0.6551 GB, free: 77.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.9639, allocations: 43.89 kB / 0.6552 GB, free: 77.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.964, allocations: 27.36 kB / 0.6552 GB, free: 77.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008448/0.9649, allocations: 492.6 kB / 0.6557 GB, free: 76.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9649, allocations: 4 kB / 0.6557 GB, free: 76.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001617/0.9665, allocations: 362.6 kB / 0.656 GB, free: 76.43 MB / 394.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.001846/0.9684, allocations: 0.6993 MB / 0.6567 GB, free: 75.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.9706, allocations: 0.938 MB / 0.6576 GB, free: 75.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.9707, allocations: 0 / 0.6576 GB, free: 75.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.9718, allocations: 464 kB / 0.6581 GB, free: 74.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.9733, allocations: 148.4 kB / 0.6582 GB, free: 74.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.9776, allocations: 1.24 MB / 0.6594 GB, free: 73.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.9787, allocations: 1.033 MB / 0.6604 GB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000877/0.9796, allocations: 108.4 kB / 0.6605 GB, free: 72.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.98, allocations: 73.7 kB / 0.6606 GB, free: 72.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.98, allocations: 0 / 0.6606 GB, free: 72.24 MB / 394.7 MB Notification: Performance of Templates: time 0.02671/1.007, allocations: 12.85 MB / 0.6731 GB, free: 60.02 MB / 394.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)