Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01662/0.01662, allocations: 4.234 MB / 23.79 MB, free: 0.7383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006971/0.0006971, allocations: 87.59 kB / 28.3 MB, free: 1.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 160.8 kB / 32.93 MB, free: 3.344 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 177.2 MB / 214.6 MB, free: 15.16 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.973/1.973, allocations: 429.5 MB / 0.6854 GB, free: 428 kB / 0.6355 GB " [Timeout remaining time 177] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo): time 0.01139/0.01139, allocations: 1.991 MB / 0.8806 GB, free: 10.52 MB / 0.823 GB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo) Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 1.091 GB, free: 3.191 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.865e-05, allocations: 2.312 kB / 1.091 GB, free: 3.188 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.008476/0.008495, allocations: 6.666 MB / 1.097 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006176/0.01467, allocations: 4.124 MB / 1.101 GB, free: 8.344 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.01519, allocations: 19.94 kB / 1.101 GB, free: 8.324 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.01758, allocations: 1.193 MB / 1.102 GB, free: 7.125 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.01926, allocations: 0.757 MB / 1.103 GB, free: 6.363 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.02076, allocations: 0.5238 MB / 1.104 GB, free: 5.84 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.0223, allocations: 1.463 MB / 1.105 GB, free: 4.371 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.02351, allocations: 0.9265 MB / 1.106 GB, free: 3.418 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.02418, allocations: 0.8457 MB / 1.107 GB, free: 2.57 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.02475, allocations: 0.5503 MB / 1.107 GB, free: 2.02 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.02495, allocations: 140 kB / 1.107 GB, free: 1.883 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.0255, allocations: 467.3 kB / 1.108 GB, free: 1.426 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.02569, allocations: 318.8 kB / 1.108 GB, free: 1.113 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.02599, allocations: 454.8 kB / 1.109 GB, free: 0.668 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02723, allocations: 1.3 MB / 1.11 GB, free: 15.36 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.02723, allocations: 3.984 kB / 1.11 GB, free: 15.36 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.022e-06/0.02723, allocations: 0 / 1.11 GB, free: 15.36 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.02725, allocations: 0 / 1.11 GB, free: 15.36 MB / 1.057 GB 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.002273/0.02952, allocations: 1.86 MB / 1.112 GB, free: 13.45 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.02955, allocations: 8.031 kB / 1.112 GB, free: 13.44 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.03077, allocations: 0.4997 MB / 1.112 GB, free: 12.94 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.03159, allocations: 0.6528 MB / 1.113 GB, free: 12.25 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.03164, allocations: 82.45 kB / 1.113 GB, free: 12.17 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.03175, allocations: 107.9 kB / 1.113 GB, free: 12.06 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.0329, allocations: 1.034 MB / 1.114 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.03292, allocations: 3.953 kB / 1.114 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/0.03299, allocations: 48 kB / 1.114 GB, free: 10.88 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.03301, allocations: 27.94 kB / 1.114 GB, free: 10.86 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.03394, allocations: 0.6862 MB / 1.115 GB, free: 10.15 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.03765, allocations: 3.99 MB / 1.119 GB, free: 6.027 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.03881, allocations: 0.823 MB / 1.119 GB, free: 5.176 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.03909, allocations: 234.4 kB / 1.12 GB, free: 4.926 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.03915, allocations: 32.42 kB / 1.12 GB, free: 4.895 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.03957, allocations: 436.5 kB / 1.12 GB, free: 4.422 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.394e-06/0.03958, allocations: 0 / 1.12 GB, free: 4.422 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002173/0.04175, allocations: 1.21 MB / 1.121 GB, free: 3.16 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.04183, allocations: 230.2 kB / 1.122 GB, free: 2.887 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.04236, allocations: 0.6867 MB / 1.122 GB, free: 2.188 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.0424, allocations: 37.7 kB / 1.122 GB, free: 2.145 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.04266, allocations: 0.6003 MB / 1.123 GB, free: 1.535 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.04278, allocations: 238.1 kB / 1.123 GB, free: 1.301 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.04297, allocations: 200.2 kB / 1.123 GB, free: 1.098 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.04313, allocations: 0.5625 MB / 1.124 GB, free: 0.5234 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.0434, allocations: 221.3 kB / 1.124 GB, free: 300 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.0438, allocations: 0.5801 MB / 1.125 GB, free: 15.56 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.04448, allocations: 0.8015 MB / 1.125 GB, free: 14.59 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.04449, allocations: 4 kB / 1.125 GB, free: 14.59 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001108/0.0456, allocations: 0.9753 MB / 1.126 GB, free: 13.57 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.04564, allocations: 63.41 kB / 1.126 GB, free: 13.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.04564, allocations: 4 kB / 1.126 GB, free: 13.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.04589, allocations: 96.23 kB / 1.126 GB, free: 13.4 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.04634, allocations: 219.6 kB / 1.127 GB, free: 13.18 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.04741, allocations: 1.987 MB / 1.129 GB, free: 11.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.04773, allocations: 103.3 kB / 1.129 GB, free: 10.97 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.04777, allocations: 47.97 kB / 1.129 GB, free: 10.93 MB / 1.073 GB 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.0002293/0.048, allocations: 282.3 kB / 1.129 GB, free: 10.62 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.04812, allocations: 115.5 kB / 1.129 GB, free: 10.51 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/0.04909, allocations: 0.8956 MB / 1.13 GB, free: 9.566 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.0491, allocations: 8 kB / 1.13 GB, free: 9.559 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.0491, allocations: 0 / 1.13 GB, free: 9.559 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.04911, allocations: 7.984 kB / 1.13 GB, free: 9.551 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.05104, allocations: 1.787 MB / 1.132 GB, free: 7.684 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.05104, allocations: 0 / 1.132 GB, free: 7.684 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.05128, allocations: 111.9 kB / 1.132 GB, free: 7.574 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.05162, allocations: 306.8 kB / 1.132 GB, free: 7.258 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.05166, allocations: 31.91 kB / 1.132 GB, free: 7.227 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005508/0.05222, allocations: 1.074 MB / 1.133 GB, free: 6.102 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.05222, allocations: 8.062 kB / 1.133 GB, free: 6.094 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.05358, allocations: 1.304 MB / 1.135 GB, free: 4.715 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.05383, allocations: 159.2 kB / 1.135 GB, free: 4.559 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.05391, allocations: 27.94 kB / 1.135 GB, free: 4.531 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.05416, allocations: 43.97 kB / 1.135 GB, free: 4.488 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.05424, allocations: 48.5 kB / 1.135 GB, free: 4.438 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.05428, allocations: 35.97 kB / 1.135 GB, free: 4.402 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003354/0.05462, allocations: 447 kB / 1.135 GB, free: 3.969 MB / 1.073 GB Notification: Performance of sort global known variables: time 9e-08/0.05462, allocations: 0 / 1.135 GB, free: 3.969 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005894/0.05521, allocations: 355.1 kB / 1.136 GB, free: 3.621 MB / 1.073 GB 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 (69): * Single equations (assignments): 65 * 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.001347/0.05656, allocations: 0.7148 MB / 1.136 GB, free: 3.145 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.05759, allocations: 0.9693 MB / 1.137 GB, free: 2.105 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.05759, allocations: 0 / 1.137 GB, free: 2.105 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.05799, allocations: 448.2 kB / 1.138 GB, free: 1.625 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.05846, allocations: 175.5 kB / 1.138 GB, free: 1.461 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.06049, allocations: 1.689 MB / 1.139 GB, free: 15.71 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.06061, allocations: 192.9 kB / 1.14 GB, free: 15.5 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.06084, allocations: 118 kB / 1.14 GB, free: 15.39 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.061, allocations: 84.44 kB / 1.14 GB, free: 15.3 MB / 1.089 GB Notification: Performance of SimCode: time 1.002e-06/0.061, allocations: 4 kB / 1.14 GB, free: 15.3 MB / 1.089 GB Notification: Performance of Templates: time 0.01627/0.07728, allocations: 14.07 MB / 1.154 GB, free: 1.387 MB / 1.089 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.537023384124041]