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.0292/0.0292, allocations: 5.393 MB / 21.03 MB, free: 1.625 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.006984/0.006984, allocations: 94.06 kB / 23.03 MB, free: 0.7773 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.001064/0.001064, allocations: 195.5 kB / 25.15 MB, free: 196 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.443/1.443, allocations: 222.9 MB / 250 MB, free: 8.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009516/0.009517, allocations: 2.318 MB / 303.7 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 95.84 kB / 419.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 51.21 MB / 470.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.008572/0.119, allocations: 6.892 MB / 477.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.1265, allocations: 4.025 MB / 481.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1277, allocations: 23.94 kB / 481.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.1308, allocations: 1.186 MB / 483 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.1336, allocations: 0.8931 MB / 483.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.1364, allocations: 0.6151 MB / 484.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.1393, allocations: 1.413 MB / 485.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.1412, allocations: 1.013 MB / 486.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1423, allocations: 0.5681 MB / 487.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009231/0.1432, allocations: 0.6847 MB / 488.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.1434, allocations: 136 kB / 488.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1445, allocations: 439.6 kB / 488.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.1448, allocations: 295 kB / 489 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.1453, allocations: 0.6335 MB / 489.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1475, allocations: 1.771 MB / 491.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1475, allocations: 0 / 491.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1475, allocations: 0 / 491.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1475, allocations: 3.938 kB / 491.4 MB, free: 14.57 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.004232/0.1518, allocations: 1.832 MB / 493.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1518, allocations: 12.03 kB / 493.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.154, allocations: 383.8 kB / 493.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.1558, allocations: 0.8326 MB / 494.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.1559, allocations: 74 kB / 494.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.156, allocations: 104 kB / 494.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.1581, allocations: 1.122 MB / 495.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.1581, allocations: 4 kB / 495.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1582, allocations: 48 kB / 495.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.1582, allocations: 24 kB / 495.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.1602, allocations: 0.951 MB / 496.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/0.1663, allocations: 4.323 MB / 0.4894 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.1689, allocations: 1.665 MB / 0.491 GB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.1696, allocations: 312 kB / 0.4913 GB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.1698, allocations: 93.53 kB / 0.4914 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009462/0.1707, allocations: 458.6 kB / 0.4918 GB, free: 1.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.817e-06/0.1707, allocations: 4 kB / 0.4918 GB, free: 1.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006351/0.1771, allocations: 1.549 MB / 0.4933 GB, free: 132 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.1773, allocations: 277.6 kB / 0.4936 GB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/0.1782, allocations: 0.6643 MB / 0.4942 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.1783, allocations: 45.69 kB / 0.4943 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1786, allocations: 0.5312 MB / 0.4948 GB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.1788, allocations: 226.2 kB / 0.495 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.1791, allocations: 186.5 kB / 0.4952 GB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1793, allocations: 390.8 kB / 0.4956 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.1799, allocations: 285.8 kB / 0.4958 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.1808, allocations: 0.5363 MB / 0.4964 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1823, allocations: 0.9138 MB / 0.4973 GB, free: 11.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.1823, allocations: 3.938 kB / 0.4973 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002224/0.1845, allocations: 1.071 MB / 0.4983 GB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.1846, allocations: 67.39 kB / 0.4984 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.1846, allocations: 8 kB / 0.4984 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.1851, allocations: 84.78 kB / 0.4985 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/0.186, allocations: 223.9 kB / 0.4987 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.1877, allocations: 1.582 MB / 0.5002 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008442/0.1886, allocations: 119.4 kB / 0.5003 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.1887, allocations: 39.98 kB / 0.5004 GB, free: 8.395 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.0005734/0.1892, allocations: 339.4 kB / 0.5007 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.1894, allocations: 95.38 kB / 0.5008 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.1913, allocations: 0.9051 MB / 0.5017 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1914, allocations: 8 kB / 0.5017 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1914, allocations: 4 kB / 0.5017 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1914, allocations: 3.984 kB / 0.5017 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.1979, allocations: 2.215 MB / 0.5039 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1979, allocations: 0 / 0.5039 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.1983, allocations: 87.89 kB / 0.5039 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.1992, allocations: 326.3 kB / 0.5043 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.1992, allocations: 23.97 kB / 0.5043 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2006, allocations: 0.8897 MB / 0.5051 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.2006, allocations: 4.031 kB / 0.5051 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/0.206, allocations: 1.639 MB / 0.5067 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/0.2065, allocations: 224.3 kB / 0.507 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.2067, allocations: 23.95 kB / 0.507 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.2072, allocations: 47.95 kB / 0.507 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2073, allocations: 40.39 kB / 0.5071 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.2074, allocations: 31.97 kB / 0.5071 GB, free: 1.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006421/0.2081, allocations: 467 kB / 0.5075 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2081, allocations: 0 / 0.5075 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001135/0.2092, allocations: 315.2 kB / 0.5078 GB, free: 0.5156 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.00155/0.2108, allocations: 0.6673 MB / 0.5085 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2613/0.4721, allocations: 0.9622 MB / 0.5094 GB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4721, allocations: 3.953 kB / 0.5094 GB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009842/0.4731, allocations: 489.6 kB / 0.5099 GB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4742, allocations: 163.2 kB / 0.5101 GB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.4775, allocations: 1.723 MB / 0.5117 GB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.4781, allocations: 1.008 MB / 0.5127 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.4785, allocations: 120 kB / 0.5128 GB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.4787, allocations: 82.23 kB / 0.5129 GB, free: 44.96 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4787, allocations: 1.188 kB / 0.5129 GB, free: 44.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02272/0.5015, allocations: 12.34 MB / 0.525 GB, free: 41.57 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)