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.02367/0.02367, allocations: 5.395 MB / 21.7 MB, free: 1.391 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.001051/0.001052, allocations: 107.7 kB / 23.7 MB, free: 0.9336 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.00134/0.00134, allocations: 197.8 kB / 25.82 MB, free: 4.68 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 250.7 MB, free: 8.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009125/0.009126, allocations: 2.308 MB / 304.3 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 96.27 kB / 420.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09488, allocations: 51.2 MB / 471.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.007992/0.1029, allocations: 6.893 MB / 478.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.1094, allocations: 4.021 MB / 482.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.1105, allocations: 20 kB / 482.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.1135, allocations: 1.189 MB / 483.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.1158, allocations: 0.8701 MB / 484.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1179, allocations: 0.6097 MB / 485.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1198, allocations: 1.417 MB / 486.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.1215, allocations: 1.009 MB / 487.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008514/0.1223, allocations: 0.5643 MB / 488.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.1234, allocations: 0.6807 MB / 488.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.1238, allocations: 140 kB / 488.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.1248, allocations: 439.7 kB / 489.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.1251, allocations: 302.8 kB / 489.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.1259, allocations: 0.6336 MB / 490.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.128, allocations: 1.76 MB / 492 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1281, allocations: 4 kB / 492 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1281, allocations: 0 / 492 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.1281, allocations: 0 / 492 MB, free: 14.65 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.004341/0.1325, allocations: 1.791 MB / 493.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1325, allocations: 8.031 kB / 493.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.1347, allocations: 379.1 kB / 494.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.1365, allocations: 0.8165 MB / 495 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.1366, allocations: 78 kB / 495.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.1368, allocations: 104 kB / 495.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1389, allocations: 1.134 MB / 496.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.1389, allocations: 3.906 kB / 496.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.139, allocations: 40 kB / 496.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1391, allocations: 31.92 kB / 496.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.141, allocations: 0.9447 MB / 497.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/0.1469, allocations: 4.31 MB / 0.4899 GB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.1493, allocations: 1.662 MB / 0.4915 GB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.1499, allocations: 319.4 kB / 0.4918 GB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.15, allocations: 93.52 kB / 0.4919 GB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007987/0.1508, allocations: 466.5 kB / 0.4924 GB, free: 1.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.1508, allocations: 0 / 0.4924 GB, free: 1.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005567/0.1564, allocations: 1.545 MB / 0.4939 GB, free: 276 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.1566, allocations: 281.6 kB / 0.4942 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/0.1575, allocations: 0.6603 MB / 0.4948 GB, free: 15.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.1576, allocations: 45.69 kB / 0.4948 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.158, allocations: 0.514 MB / 0.4953 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1582, allocations: 213 kB / 0.4955 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.1585, allocations: 186.4 kB / 0.4957 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1587, allocations: 390.8 kB / 0.4961 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.1593, allocations: 281.8 kB / 0.4964 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.16, allocations: 0.5363 MB / 0.4969 GB, free: 12.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1615, allocations: 0.9177 MB / 0.4978 GB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.1615, allocations: 7.938 kB / 0.4978 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002147/0.1636, allocations: 1.063 MB / 0.4988 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.1637, allocations: 65.91 kB / 0.4989 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1637, allocations: 12.28 kB / 0.4989 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.1642, allocations: 84.78 kB / 0.499 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.1651, allocations: 215.6 kB / 0.4992 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1666, allocations: 1.59 MB / 0.5007 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.1674, allocations: 118.9 kB / 0.5009 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.1675, allocations: 43.98 kB / 0.5009 GB, free: 8.562 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.0005167/0.168, allocations: 339.7 kB / 0.5012 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.1682, allocations: 83 kB / 0.5013 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.1701, allocations: 0.9129 MB / 0.5022 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1702, allocations: 8 kB / 0.5022 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1702, allocations: 0 / 0.5022 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1702, allocations: 3.984 kB / 0.5022 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.1759, allocations: 2.203 MB / 0.5044 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.176, allocations: 8.031 kB / 0.5044 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.1763, allocations: 83.89 kB / 0.5044 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007962/0.1771, allocations: 334.2 kB / 0.5048 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.1772, allocations: 23.97 kB / 0.5048 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.1784, allocations: 0.8897 MB / 0.5057 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1784, allocations: 0 / 0.5057 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.1834, allocations: 1.639 MB / 0.5073 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.1838, allocations: 215.9 kB / 0.5075 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.184, allocations: 20 kB / 0.5075 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.1846, allocations: 47.95 kB / 0.5075 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.1847, allocations: 44.33 kB / 0.5076 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.1848, allocations: 31.97 kB / 0.5076 GB, free: 1.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000603/0.1854, allocations: 467 kB / 0.508 GB, free: 1.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1854, allocations: 4 kB / 0.5081 GB, free: 1.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001076/0.1865, allocations: 311 kB / 0.5083 GB, free: 0.7031 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.001538/0.188, allocations: 0.6531 MB / 0.509 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1999/0.3879, allocations: 0.9624 MB / 0.5099 GB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.388, allocations: 0.5 kB / 0.5099 GB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.389, allocations: 489.4 kB / 0.5104 GB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3901, allocations: 168.3 kB / 0.5106 GB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.3933, allocations: 1.741 MB / 0.5123 GB, free: 46.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.3938, allocations: 1.015 MB / 0.5132 GB, free: 45.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.3941, allocations: 83.83 kB / 0.5133 GB, free: 45.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3941, allocations: 0 / 0.5133 GB, free: 45.66 MB / 382.1 MB Notification: Performance of Templates: time 0.02582/0.4199, allocations: 17.38 MB / 0.5303 GB, free: 39.22 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)