Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02841/0.02841, allocations: 5.394 MB / 21.7 MB, free: 1.379 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.001135/0.001135, allocations: 115.7 kB / 23.7 MB, free: 0.9492 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.001393/0.001393, allocations: 198.1 kB / 25.82 MB, free: 4.668 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.321/1.321, allocations: 222.9 MB / 250.7 MB, free: 8.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009495/0.009495, allocations: 2.318 MB / 304.4 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 87.86 kB / 420.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.09012, allocations: 51.22 MB / 471.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.008472/0.09864, allocations: 6.889 MB / 478.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006912/0.1056, allocations: 4.021 MB / 482.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1068, allocations: 19.94 kB / 482.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.11, allocations: 1.182 MB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.1128, allocations: 0.8779 MB / 484.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.115, allocations: 0.6062 MB / 485.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.1172, allocations: 1.417 MB / 486.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.119, allocations: 1.009 MB / 487.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.12, allocations: 0.572 MB / 488.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1213, allocations: 0.6808 MB / 488.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.1215, allocations: 140 kB / 488.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.1225, allocations: 435.6 kB / 489.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1228, allocations: 295 kB / 489.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005451/0.1233, allocations: 0.6335 MB / 490.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1251, allocations: 1.76 MB / 492 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1251, allocations: 0 / 492 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1251, allocations: 0 / 492 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1252, allocations: 3.938 kB / 492 MB, free: 14.64 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.003747/0.1289, allocations: 1.791 MB / 493.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.129, allocations: 12.03 kB / 493.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.131, allocations: 387 kB / 494.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.1328, allocations: 0.8125 MB / 495 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.1329, allocations: 78 kB / 495.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.133, allocations: 108 kB / 495.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.1349, allocations: 1.126 MB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.135, allocations: 7.906 kB / 496.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-05/0.1351, allocations: 44 kB / 496.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1351, allocations: 24 kB / 496.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.1369, allocations: 0.9447 MB / 497.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.1424, allocations: 4.31 MB / 0.4899 GB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.1448, allocations: 1.662 MB / 0.4915 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.1455, allocations: 315 kB / 0.4918 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.1456, allocations: 97.55 kB / 0.4919 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000782/0.1463, allocations: 466.5 kB / 0.4924 GB, free: 1.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.705e-06/0.1464, allocations: 4 kB / 0.4924 GB, free: 1.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005364/0.1517, allocations: 1.541 MB / 0.4939 GB, free: 264 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1519, allocations: 269.6 kB / 0.4941 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.1527, allocations: 0.672 MB / 0.4948 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.1527, allocations: 41.73 kB / 0.4948 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.1531, allocations: 0.5179 MB / 0.4953 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1533, allocations: 217.1 kB / 0.4956 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.1535, allocations: 182.4 kB / 0.4957 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1537, allocations: 390.8 kB / 0.4961 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.1543, allocations: 285.8 kB / 0.4964 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.1551, allocations: 0.5402 MB / 0.4969 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.1565, allocations: 0.9138 MB / 0.4978 GB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.1565, allocations: 7.938 kB / 0.4978 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00211/0.1586, allocations: 1.067 MB / 0.4988 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.1587, allocations: 59.41 kB / 0.4989 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.1587, allocations: 8 kB / 0.4989 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.1591, allocations: 89.06 kB / 0.499 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.16, allocations: 219.6 kB / 0.4992 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1614, allocations: 1.582 MB / 0.5007 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.1622, allocations: 123 kB / 0.5009 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.1623, allocations: 43.98 kB / 0.5009 GB, free: 8.547 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.0004434/0.1627, allocations: 331.5 kB / 0.5012 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.1629, allocations: 87 kB / 0.5013 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.1647, allocations: 0.9091 MB / 0.5022 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1647, allocations: 11.98 kB / 0.5022 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1647, allocations: 0 / 0.5022 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1647, allocations: 4 kB / 0.5022 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/0.1703, allocations: 2.211 MB / 0.5044 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1703, allocations: 0 / 0.5044 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1706, allocations: 83.91 kB / 0.5044 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000754/0.1714, allocations: 330.3 kB / 0.5048 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.1715, allocations: 23.98 kB / 0.5048 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1726, allocations: 0.8896 MB / 0.5057 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1726, allocations: 4.031 kB / 0.5057 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004928/0.1776, allocations: 1.631 MB / 0.5072 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.1779, allocations: 223.9 kB / 0.5075 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.1781, allocations: 23.98 kB / 0.5075 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.1787, allocations: 47.97 kB / 0.5075 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1788, allocations: 44.38 kB / 0.5076 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.1788, allocations: 23.98 kB / 0.5076 GB, free: 1.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005525/0.1794, allocations: 463 kB / 0.508 GB, free: 1.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1794, allocations: 0 / 0.508 GB, free: 1.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.1804, allocations: 323 kB / 0.5083 GB, free: 0.6914 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.001447/0.1818, allocations: 0.6683 MB / 0.509 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2009/0.3827, allocations: 0.9612 MB / 0.5099 GB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.3827, allocations: 0 / 0.5099 GB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.3838, allocations: 486.2 kB / 0.5104 GB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3849, allocations: 160.5 kB / 0.5106 GB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.388, allocations: 1.744 MB / 0.5123 GB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.3885, allocations: 1.015 MB / 0.5132 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3887, allocations: 86.47 kB / 0.5133 GB, free: 45.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3887, allocations: 0 / 0.5133 GB, free: 45.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02613/0.4149, allocations: 17.36 MB / 0.5303 GB, free: 38.82 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)