Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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/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/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 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) 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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04417/0.04417, allocations: 5.397 MB / 21.03 MB, free: 1.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 98.2 kB / 23.02 MB, free: 0.7891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 198.9 kB / 25.15 MB, free: 180 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 250 MB, free: 8.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009318/0.009318, allocations: 2.32 MB / 303.7 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 99.84 kB / 419.6 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09969, allocations: 51.2 MB / 470.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.00932/0.1091, allocations: 6.905 MB / 477.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.1161, allocations: 4.021 MB / 481.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.1169, allocations: 23.94 kB / 481.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.1198, allocations: 1.165 MB / 482.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.1226, allocations: 0.8778 MB / 483.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.1252, allocations: 0.617 MB / 484.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.1277, allocations: 1.415 MB / 485.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.1294, allocations: 1.017 MB / 486.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.1304, allocations: 0.5643 MB / 487.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.1312, allocations: 0.6846 MB / 488.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1314, allocations: 140 kB / 488.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.1323, allocations: 431.7 kB / 488.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.1326, allocations: 298.9 kB / 489 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.1333, allocations: 0.6336 MB / 489.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.1357, allocations: 1.767 MB / 491.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.861e-05/0.1358, allocations: 0 / 491.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1358, allocations: 0 / 491.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.1358, allocations: 0 / 491.4 MB, free: 14.61 MB / 366.1 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.003977/0.1398, allocations: 1.835 MB / 493.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1398, allocations: 12.03 kB / 493.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.1419, allocations: 383.8 kB / 493.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.1436, allocations: 0.821 MB / 494.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.1437, allocations: 78 kB / 494.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.1438, allocations: 100 kB / 494.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.1458, allocations: 1.13 MB / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.1459, allocations: 3.938 kB / 495.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.146, allocations: 44 kB / 495.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.146, allocations: 24 kB / 495.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.1479, allocations: 0.9485 MB / 496.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006541/0.1545, allocations: 4.319 MB / 0.4893 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.1572, allocations: 1.67 MB / 0.4909 GB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.1579, allocations: 316 kB / 0.4912 GB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.158, allocations: 93.53 kB / 0.4913 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008943/0.1589, allocations: 458.6 kB / 0.4918 GB, free: 1.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.1589, allocations: 0 / 0.4918 GB, free: 1.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00566/0.1646, allocations: 1.553 MB / 0.4933 GB, free: 164 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.1648, allocations: 277.6 kB / 0.4936 GB, free: 15.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.1659, allocations: 0.6682 MB / 0.4942 GB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.166, allocations: 41.73 kB / 0.4942 GB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.1664, allocations: 0.535 MB / 0.4948 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.1667, allocations: 222.2 kB / 0.495 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.167, allocations: 178.5 kB / 0.4952 GB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1672, allocations: 394.7 kB / 0.4955 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.1678, allocations: 285.8 kB / 0.4958 GB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.1686, allocations: 0.5363 MB / 0.4963 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.1701, allocations: 0.9099 MB / 0.4972 GB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.1701, allocations: 8.188 kB / 0.4972 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002318/0.1724, allocations: 1.083 MB / 0.4983 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.1725, allocations: 63.39 kB / 0.4983 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1725, allocations: 8 kB / 0.4983 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.173, allocations: 93.05 kB / 0.4984 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.1739, allocations: 215.7 kB / 0.4986 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.1756, allocations: 1.578 MB / 0.5002 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/0.1766, allocations: 107.5 kB / 0.5003 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.1767, allocations: 47.97 kB / 0.5003 GB, free: 8.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007185/0.1775, allocations: 339.5 kB / 0.5007 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.1776, allocations: 91.38 kB / 0.5007 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.1796, allocations: 0.9129 MB / 0.5016 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1797, allocations: 8 kB / 0.5016 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1797, allocations: 4 kB / 0.5016 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1797, allocations: 3.984 kB / 0.5016 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.1853, allocations: 2.204 MB / 0.5038 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1853, allocations: 0 / 0.5038 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.1857, allocations: 91.83 kB / 0.5039 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.1865, allocations: 330.3 kB / 0.5042 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.1866, allocations: 32.03 kB / 0.5042 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.188, allocations: 0.8936 MB / 0.5051 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.188, allocations: 3.938 kB / 0.5051 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.1932, allocations: 1.635 MB / 0.5067 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.1937, allocations: 232.3 kB / 0.5069 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.1938, allocations: 19.95 kB / 0.5069 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.1944, allocations: 51.95 kB / 0.507 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1945, allocations: 40.39 kB / 0.507 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.1946, allocations: 27.97 kB / 0.5071 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006358/0.1952, allocations: 463 kB / 0.5075 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1952, allocations: 0 / 0.5075 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.1964, allocations: 319.2 kB / 0.5078 GB, free: 0.5391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.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.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/0.1979, allocations: 0.6568 MB / 0.5084 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2357/0.4337, allocations: 0.9678 MB / 0.5094 GB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.4337, allocations: 0 / 0.5094 GB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4348, allocations: 485.4 kB / 0.5099 GB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.436, allocations: 164.4 kB / 0.51 GB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.4393, allocations: 1.731 MB / 0.5117 GB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.44, allocations: 1.009 MB / 0.5127 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.4405, allocations: 124.3 kB / 0.5128 GB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4408, allocations: 76.31 kB / 0.5129 GB, free: 44.95 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4408, allocations: 0 / 0.5129 GB, free: 44.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02872/0.4695, allocations: 12.34 MB / 0.5249 GB, free: 41.56 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)