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.04028/0.04027, allocations: 5.398 MB / 21.03 MB, free: 1.582 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.001016/0.001016, allocations: 101.7 kB / 23.03 MB, free: 0.793 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.001094/0.001094, allocations: 202.1 kB / 25.16 MB, free: 164 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.3/1.3, allocations: 222.9 MB / 250 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.009449/0.009448, allocations: 2.322 MB / 303.7 MB, free: 6.516 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 96.28 kB / 423.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1294, allocations: 51.21 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.007863/0.1373, allocations: 6.851 MB / 481.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.1431, allocations: 3.939 MB / 485.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.1438, allocations: 20 kB / 485.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.1466, allocations: 1.181 MB / 486.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.1488, allocations: 0.874 MB / 487.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1505, allocations: 0.5465 MB / 487.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1521, allocations: 1.409 MB / 489.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.1536, allocations: 1.028 MB / 490.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006617/0.1543, allocations: 0.5604 MB / 490.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.155, allocations: 0.6808 MB / 491.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.1552, allocations: 144 kB / 491.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008418/0.1561, allocations: 431.7 kB / 492 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.1563, allocations: 314.9 kB / 492.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.157, allocations: 0.6375 MB / 493 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1591, allocations: 1.817 MB / 494.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1592, allocations: 0 / 494.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1592, allocations: 4 kB / 494.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.1592, allocations: 0 / 494.8 MB, free: 11.25 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.004063/0.1633, allocations: 1.843 MB / 496.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1633, allocations: 8.031 kB / 496.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.1654, allocations: 387.8 kB / 497 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.1672, allocations: 0.8366 MB / 497.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.1673, allocations: 78.08 kB / 497.9 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.1675, allocations: 108 kB / 498 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.1696, allocations: 1.165 MB / 499.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.1696, allocations: 8 kB / 499.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.1697, allocations: 47.98 kB / 499.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1697, allocations: 24 kB / 499.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.1719, allocations: 1.066 MB / 0.4886 GB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/0.1782, allocations: 4.362 MB / 0.4929 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.181, allocations: 1.74 MB / 0.4946 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.1816, allocations: 323.3 kB / 0.4949 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.142e-05/0.1817, allocations: 93.66 kB / 0.495 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.1825, allocations: 469.7 kB / 0.4954 GB, free: 14.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.144e-06/0.1826, allocations: 0 / 0.4954 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.005978/0.1885, allocations: 1.589 MB / 0.497 GB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1887, allocations: 230.1 kB / 0.4972 GB, free: 12.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.1895, allocations: 0.6525 MB / 0.4978 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.1895, allocations: 41.7 kB / 0.4979 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.1899, allocations: 0.535 MB / 0.4984 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.1901, allocations: 246 kB / 0.4986 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.1903, allocations: 186.5 kB / 0.4988 GB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1905, allocations: 390.7 kB / 0.4992 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.1912, allocations: 301.8 kB / 0.4995 GB, free: 9.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.192, allocations: 0.5347 MB / 0.5 GB, free: 9.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.1934, allocations: 0.936 MB / 0.5009 GB, free: 8.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1934, allocations: 0 / 0.5009 GB, free: 8.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002237/0.1957, allocations: 1.118 MB / 0.502 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.1957, allocations: 67.39 kB / 0.5021 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1958, allocations: 8 kB / 0.5021 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.1962, allocations: 76.8 kB / 0.5021 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.1971, allocations: 231.8 kB / 0.5024 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.1986, allocations: 1.582 MB / 0.5039 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007249/0.1994, allocations: 119.3 kB / 0.504 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.1994, allocations: 47.97 kB / 0.5041 GB, free: 4.699 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.0004062/0.1999, allocations: 343.2 kB / 0.5044 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2, allocations: 83.48 kB / 0.5045 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.2021, allocations: 1.011 MB / 0.5055 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.2021, allocations: 8 kB / 0.5055 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2021, allocations: 0 / 0.5055 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2021, allocations: 4 kB / 0.5055 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/0.2081, allocations: 2.306 MB / 0.5077 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2081, allocations: 0 / 0.5077 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.2085, allocations: 99.83 kB / 0.5078 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.2093, allocations: 330.3 kB / 0.5081 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.2094, allocations: 27.97 kB / 0.5082 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1928/0.4022, allocations: 0.8919 MB / 0.509 GB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4023, allocations: 1.812 kB / 0.509 GB, free: 46.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.4051, allocations: 1.404 MB / 0.5104 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.4054, allocations: 231.5 kB / 0.5106 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.4056, allocations: 22.92 kB / 0.5106 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.4062, allocations: 48.16 kB / 0.5107 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4063, allocations: 38.42 kB / 0.5107 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.4063, allocations: 34.02 kB / 0.5108 GB, free: 45.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005662/0.4069, allocations: 453.4 kB / 0.5112 GB, free: 45.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4069, allocations: 0 / 0.5112 GB, free: 45.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009134/0.4078, allocations: 327.4 kB / 0.5115 GB, free: 45.76 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.001302/0.4092, allocations: 0.665 MB / 0.5122 GB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.411, allocations: 0.9968 MB / 0.5131 GB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.411, allocations: 0 / 0.5131 GB, free: 45.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.4118, allocations: 0.4978 MB / 0.5136 GB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.4125, allocations: 153.7 kB / 0.5138 GB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.4158, allocations: 1.771 MB / 0.5155 GB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.4165, allocations: 1.021 MB / 0.5165 GB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005947/0.4171, allocations: 132.2 kB / 0.5166 GB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.4174, allocations: 77.25 kB / 0.5167 GB, free: 43.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4174, allocations: 0 / 0.5167 GB, free: 43.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02995/0.4474, allocations: 12.21 MB / 0.5286 GB, free: 39.57 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)