Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04626/0.04626, allocations: 5.393 MB / 21.03 MB, free: 1.621 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.009259/0.00926, allocations: 88.41 kB / 23.02 MB, free: 0.7812 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.001498/0.001498, allocations: 188.7 kB / 25.14 MB, free: 192 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.326/1.326, allocations: 222.9 MB / 250 MB, free: 8.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009229/0.009229, allocations: 2.315 MB / 303.7 MB, free: 6.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001745, allocations: 95.84 kB / 423.2 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09603, allocations: 51.2 MB / 474.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.00851/0.1046, allocations: 6.855 MB / 481.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.1118, allocations: 3.939 MB / 485.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.1129, allocations: 23.94 kB / 485.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.1163, allocations: 1.166 MB / 486.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.1189, allocations: 0.8506 MB / 487.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1207, allocations: 0.5497 MB / 487.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.1227, allocations: 1.413 MB / 489.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.1243, allocations: 1.021 MB / 490.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009407/0.1253, allocations: 0.5526 MB / 490.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.1264, allocations: 0.6925 MB / 491.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.1266, allocations: 144 kB / 491.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008961/0.1275, allocations: 439.6 kB / 492 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.1278, allocations: 310.9 kB / 492.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.1284, allocations: 0.6413 MB / 492.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.1304, allocations: 1.81 MB / 494.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1304, allocations: 0 / 494.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1304, allocations: 0 / 494.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.1304, allocations: 0 / 494.7 MB, free: 11.28 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004126/0.1346, allocations: 1.847 MB / 496.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1346, allocations: 12.03 kB / 496.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.1368, allocations: 383.8 kB / 497 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.1385, allocations: 0.8289 MB / 497.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.1386, allocations: 82.08 kB / 497.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1388, allocations: 108 kB / 498 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.1408, allocations: 1.177 MB / 499.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.1409, allocations: 3.938 kB / 499.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.141, allocations: 44 kB / 499.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.141, allocations: 28 kB / 499.2 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.1431, allocations: 1.07 MB / 0.4886 GB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.1489, allocations: 4.346 MB / 0.4928 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.1515, allocations: 1.74 MB / 0.4945 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006437/0.1522, allocations: 326.3 kB / 0.4948 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.1523, allocations: 101.6 kB / 0.4949 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/0.1531, allocations: 465.8 kB / 0.4954 GB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.1531, allocations: 0 / 0.4954 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.005518/0.1586, allocations: 1.593 MB / 0.4969 GB, free: 12.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1588, allocations: 226.1 kB / 0.4972 GB, free: 12.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.1596, allocations: 0.6525 MB / 0.4978 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.1597, allocations: 37.7 kB / 0.4978 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.16, allocations: 0.539 MB / 0.4984 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.1602, allocations: 242 kB / 0.4986 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.1605, allocations: 190.5 kB / 0.4988 GB, free: 10.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1607, allocations: 394.7 kB / 0.4991 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.1613, allocations: 297.8 kB / 0.4994 GB, free: 9.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/0.1621, allocations: 0.5309 MB / 0.4999 GB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.1636, allocations: 0.936 MB / 0.5009 GB, free: 8.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1636, allocations: 7.938 kB / 0.5009 GB, free: 8.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002171/0.1658, allocations: 1.114 MB / 0.502 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.1659, allocations: 67.39 kB / 0.502 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1659, allocations: 7.938 kB / 0.502 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.1664, allocations: 93.06 kB / 0.5021 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.1672, allocations: 219.6 kB / 0.5023 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1688, allocations: 1.582 MB / 0.5039 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.1694, allocations: 115.3 kB / 0.504 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.1695, allocations: 47.97 kB / 0.504 GB, free: 4.715 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004232/0.17, allocations: 339.1 kB / 0.5043 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1701, allocations: 87.48 kB / 0.5044 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.1721, allocations: 1.011 MB / 0.5054 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.1721, allocations: 12 kB / 0.5054 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1721, allocations: 0 / 0.5054 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1722, allocations: 3.984 kB / 0.5054 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.178, allocations: 2.306 MB / 0.5077 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.178, allocations: 4 kB / 0.5077 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.1784, allocations: 99.83 kB / 0.5078 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008141/0.1792, allocations: 326.3 kB / 0.5081 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.1793, allocations: 27.97 kB / 0.5081 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1887/0.368, allocations: 0.8938 MB / 0.509 GB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.368, allocations: 1.156 kB / 0.509 GB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.3709, allocations: 1.4 MB / 0.5104 GB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.3712, allocations: 229.3 kB / 0.5106 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.3713, allocations: 23.53 kB / 0.5106 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.3719, allocations: 48.23 kB / 0.5107 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.372, allocations: 42.53 kB / 0.5107 GB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.3721, allocations: 31.11 kB / 0.5107 GB, free: 45.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005965/0.3727, allocations: 452.9 kB / 0.5112 GB, free: 45.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3727, allocations: 0 / 0.5112 GB, free: 45.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009298/0.3737, allocations: 327.7 kB / 0.5115 GB, free: 45.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001331/0.375, allocations: 0.6597 MB / 0.5121 GB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.3769, allocations: 0.9975 MB / 0.5131 GB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3769, allocations: 0 / 0.5131 GB, free: 45.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.3777, allocations: 0.4926 MB / 0.5136 GB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.3785, allocations: 157.8 kB / 0.5137 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3814, allocations: 1.775 MB / 0.5154 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.382, allocations: 1.014 MB / 0.5164 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004892/0.3825, allocations: 133.3 kB / 0.5166 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.3827, allocations: 83.98 kB / 0.5166 GB, free: 43.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3827, allocations: 0 / 0.5166 GB, free: 43.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02035/0.4031, allocations: 12.2 MB / 0.5286 GB, free: 39.68 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)