Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03305/0.03305, allocations: 5.394 MB / 21.03 MB, free: 1.605 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.001033/0.001034, allocations: 96.08 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.001155/0.001155, allocations: 204.8 kB / 25.15 MB, free: 172 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.248/1.248, allocations: 222.9 MB / 250 MB, free: 8.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008753/0.008752, allocations: 2.311 MB / 303.7 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 91.86 kB / 419.6 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09599, allocations: 51.21 MB / 470.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.007523/0.1036, allocations: 6.905 MB / 477.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.1095, allocations: 4.006 MB / 481.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.1101, allocations: 19.94 kB / 481.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.1126, allocations: 1.182 MB / 483 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1145, allocations: 0.8853 MB / 483.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.1162, allocations: 0.6061 MB / 484.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1174, allocations: 1.417 MB / 485.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1185, allocations: 1.009 MB / 486.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005244/0.1191, allocations: 0.5681 MB / 487.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.1198, allocations: 0.6808 MB / 488.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.12, allocations: 140 kB / 488.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.1206, allocations: 439.6 kB / 488.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.1208, allocations: 294.9 kB / 489 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.1213, allocations: 0.6336 MB / 489.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.1228, allocations: 1.764 MB / 491.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1228, allocations: 4 kB / 491.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1228, allocations: 0 / 491.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1228, allocations: 0 / 491.4 MB, free: 14.6 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.003521/0.1264, allocations: 1.783 MB / 493.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1264, allocations: 12.03 kB / 493.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.1284, allocations: 383.1 kB / 493.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.1302, allocations: 0.8203 MB / 494.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.1302, allocations: 78 kB / 494.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1304, allocations: 104 kB / 494.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.1323, allocations: 1.13 MB / 495.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.1323, allocations: 3.906 kB / 495.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.1324, allocations: 47.98 kB / 495.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.1324, allocations: 24 kB / 495.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.1343, allocations: 0.9508 MB / 496.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.1402, allocations: 4.303 MB / 0.4893 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.1427, allocations: 1.666 MB / 0.4909 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.1434, allocations: 322 kB / 0.4912 GB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.1435, allocations: 89.53 kB / 0.4913 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/0.1443, allocations: 458.5 kB / 0.4917 GB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.394e-06/0.1443, allocations: 0 / 0.4917 GB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005445/0.1498, allocations: 1.552 MB / 0.4932 GB, free: 224 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.1499, allocations: 277.6 kB / 0.4935 GB, free: 15.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.1507, allocations: 0.6603 MB / 0.4941 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.1508, allocations: 41.7 kB / 0.4942 GB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.1512, allocations: 0.5179 MB / 0.4947 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.1514, allocations: 217.1 kB / 0.4949 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.1516, allocations: 182.4 kB / 0.4951 GB, free: 14.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1518, allocations: 394.8 kB / 0.4954 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.1525, allocations: 281.8 kB / 0.4957 GB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/0.1533, allocations: 0.5363 MB / 0.4962 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.1547, allocations: 0.9256 MB / 0.4971 GB, free: 11.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.1547, allocations: 7.938 kB / 0.4971 GB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002118/0.1569, allocations: 1.059 MB / 0.4982 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.1569, allocations: 67.67 kB / 0.4982 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.157, allocations: 12 kB / 0.4983 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.1574, allocations: 80.78 kB / 0.4983 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/0.1583, allocations: 219.6 kB / 0.4985 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1597, allocations: 1.581 MB / 0.5001 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.1605, allocations: 118.9 kB / 0.5002 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.1606, allocations: 47.97 kB / 0.5002 GB, free: 8.508 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.0004486/0.161, allocations: 335.6 kB / 0.5006 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1612, allocations: 86.98 kB / 0.5006 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.1631, allocations: 0.9091 MB / 0.5015 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1631, allocations: 4 kB / 0.5015 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1631, allocations: 4 kB / 0.5015 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.1631, allocations: 3.984 kB / 0.5015 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.1689, allocations: 2.211 MB / 0.5037 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1689, allocations: 0 / 0.5037 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.1693, allocations: 87.89 kB / 0.5038 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.1701, allocations: 326.2 kB / 0.5041 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.1701, allocations: 31.97 kB / 0.5041 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.1714, allocations: 0.8819 MB / 0.505 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1715, allocations: 3.938 kB / 0.505 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.1764, allocations: 1.635 MB / 0.5066 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.1768, allocations: 220 kB / 0.5068 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.1769, allocations: 27.98 kB / 0.5068 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.1774, allocations: 47.95 kB / 0.5069 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.1775, allocations: 40.39 kB / 0.5069 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.1776, allocations: 27.97 kB / 0.5069 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006139/0.1782, allocations: 467 kB / 0.5074 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1782, allocations: 0 / 0.5074 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001028/0.1793, allocations: 319 kB / 0.5077 GB, free: 0.6484 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.00149/0.1808, allocations: 0.6587 MB / 0.5083 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1776/0.3584, allocations: 0.9607 MB / 0.5093 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3585, allocations: 0 / 0.5093 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.3595, allocations: 484.7 kB / 0.5097 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3605, allocations: 167 kB / 0.5099 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3632, allocations: 1.693 MB / 0.5115 GB, free: 45.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.3637, allocations: 1.017 MB / 0.5125 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.3641, allocations: 120.7 kB / 0.5127 GB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3643, allocations: 75.38 kB / 0.5127 GB, free: 45.04 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3643, allocations: 1.688 kB / 0.5127 GB, free: 45.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02027/0.3845, allocations: 12.64 MB / 0.5251 GB, free: 41.42 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)