Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0241/0.0241, allocations: 5.399 MB / 21.7 MB, free: 1.344 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.0009994/0.0009994, allocations: 98.09 kB / 23.69 MB, free: 0.9258 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.001264/0.001264, allocations: 191.2 kB / 25.82 MB, free: 4.613 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.28/1.28, allocations: 222.9 MB / 250.7 MB, free: 8.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008986/0.008986, allocations: 2.326 MB / 304.4 MB, free: 6.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 96.08 kB / 420.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08484, allocations: 51.21 MB / 471.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.007603/0.09248, allocations: 6.897 MB / 478.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.09852, allocations: 4.013 MB / 482.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.0992, allocations: 19.94 kB / 482.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.1018, allocations: 1.181 MB / 483.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1036, allocations: 0.8778 MB / 484.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1053, allocations: 0.6127 MB / 485.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1067, allocations: 1.417 MB / 486.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.1079, allocations: 1.009 MB / 487.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006184/0.1086, allocations: 0.5759 MB / 488.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.1093, allocations: 0.6793 MB / 488.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1095, allocations: 140 kB / 488.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.1102, allocations: 435.6 kB / 489.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.1105, allocations: 299 kB / 489.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004845/0.111, allocations: 0.6297 MB / 490.3 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1126, allocations: 1.768 MB / 492.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1126, allocations: 0 / 492.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1126, allocations: 0 / 492.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1127, allocations: 0 / 492.1 MB, free: 14.63 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.003682/0.1164, allocations: 1.791 MB / 493.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1164, allocations: 12.03 kB / 493.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.1184, allocations: 383.1 kB / 494.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.12, allocations: 0.8125 MB / 495 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.1201, allocations: 78 kB / 495.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1203, allocations: 104 kB / 495.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.1222, allocations: 1.13 MB / 496.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1222, allocations: 3.906 kB / 496.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1223, allocations: 47.98 kB / 496.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.1224, allocations: 24 kB / 496.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.1242, allocations: 0.9485 MB / 497.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.1298, allocations: 4.303 MB / 0.4899 GB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.1323, allocations: 1.662 MB / 0.4915 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.1329, allocations: 318.1 kB / 0.4918 GB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/0.133, allocations: 97.47 kB / 0.4919 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007945/0.1338, allocations: 466.5 kB / 0.4924 GB, free: 1.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.295e-06/0.1338, allocations: 0 / 0.4924 GB, free: 1.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005346/0.1392, allocations: 1.537 MB / 0.4939 GB, free: 260 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.1393, allocations: 281.6 kB / 0.4942 GB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.1402, allocations: 0.6681 MB / 0.4948 GB, free: 15.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1402, allocations: 37.7 kB / 0.4948 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.1406, allocations: 0.514 MB / 0.4953 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.1408, allocations: 221.1 kB / 0.4956 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.141, allocations: 182.4 kB / 0.4957 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1412, allocations: 394.7 kB / 0.4961 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.1418, allocations: 281.8 kB / 0.4964 GB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.1426, allocations: 0.5402 MB / 0.4969 GB, free: 12.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.1439, allocations: 0.9215 MB / 0.4978 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.1439, allocations: 7.938 kB / 0.4978 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002032/0.146, allocations: 1.059 MB / 0.4988 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.146, allocations: 59.41 kB / 0.4989 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1461, allocations: 8 kB / 0.4989 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/0.1465, allocations: 89.06 kB / 0.499 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008027/0.1473, allocations: 219.6 kB / 0.4992 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.1488, allocations: 1.586 MB / 0.5007 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.1495, allocations: 122.9 kB / 0.5009 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.1496, allocations: 43.98 kB / 0.5009 GB, free: 8.535 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.0004289/0.15, allocations: 339.6 kB / 0.5012 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1502, allocations: 87.03 kB / 0.5013 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.152, allocations: 0.909 MB / 0.5022 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.152, allocations: 4 kB / 0.5022 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.152, allocations: 4 kB / 0.5022 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.152, allocations: 3.984 kB / 0.5022 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.1575, allocations: 2.203 MB / 0.5044 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1575, allocations: 0 / 0.5044 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.1578, allocations: 91.92 kB / 0.5045 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007635/0.1586, allocations: 334.2 kB / 0.5048 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.1587, allocations: 23.98 kB / 0.5048 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.1599, allocations: 0.8858 MB / 0.5057 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1599, allocations: 7.922 kB / 0.5057 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.1647, allocations: 1.631 MB / 0.5073 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.165, allocations: 219.9 kB / 0.5075 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.1652, allocations: 20 kB / 0.5075 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.1657, allocations: 51.95 kB / 0.5075 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.1658, allocations: 40.39 kB / 0.5076 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.1659, allocations: 27.97 kB / 0.5076 GB, free: 1.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.1664, allocations: 467 kB / 0.508 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1664, allocations: 4 kB / 0.5081 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000904/0.1673, allocations: 319 kB / 0.5084 GB, free: 0.6719 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.001345/0.1687, allocations: 0.6476 MB / 0.509 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1888/0.3575, allocations: 0.9623 MB / 0.5099 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3575, allocations: 0 / 0.5099 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009742/0.3585, allocations: 491.9 kB / 0.5104 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3596, allocations: 166.1 kB / 0.5106 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.3626, allocations: 1.745 MB / 0.5123 GB, free: 45.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.3631, allocations: 1.011 MB / 0.5132 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.3634, allocations: 80.83 kB / 0.5133 GB, free: 45.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3634, allocations: 5.469 kB / 0.5133 GB, free: 45.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02153/0.3849, allocations: 17.37 MB / 0.5303 GB, free: 38.79 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)