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.0164/0.0164, allocations: 4.224 MB / 24.01 MB, free: 460 kB / 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.0007272/0.0007272, allocations: 85.75 kB / 28.56 MB, free: 1.582 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.001276/0.001276, allocations: 167.6 kB / 33.22 MB, free: 3.133 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.872/0.872, allocations: 177.2 MB / 214.9 MB, free: 15.04 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 2.002/2.002, allocations: 438.1 MB / 0.6941 GB, free: 7.836 MB / 0.6511 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.007399/0.007399, allocations: 1.976 MB / 0.8921 GB, free: 14.24 MB / 0.8386 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 2.014e-06/2.014e-06, allocations: 0 / 1.105 GB, free: 4.004 MB / 1.042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.81e-05, allocations: 4.562 kB / 1.105 GB, free: 4 MB / 1.042 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005647/0.005665, allocations: 6.569 MB / 1.111 GB, free: 13.39 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.009749, allocations: 4.092 MB / 1.115 GB, free: 9.281 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.01011, allocations: 27.88 kB / 1.115 GB, free: 9.254 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.01153, allocations: 1.166 MB / 1.116 GB, free: 8.082 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01254, allocations: 0.7608 MB / 1.117 GB, free: 7.316 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.01345, allocations: 0.5357 MB / 1.118 GB, free: 6.789 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.0009311/0.01438, allocations: 1.452 MB / 1.119 GB, free: 5.328 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.01519, allocations: 0.9265 MB / 1.12 GB, free: 4.371 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007298/0.01592, allocations: 0.8457 MB / 1.121 GB, free: 3.523 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.01641, allocations: 0.5531 MB / 1.121 GB, free: 2.969 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.01654, allocations: 140 kB / 1.122 GB, free: 2.832 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.01706, allocations: 467.3 kB / 1.122 GB, free: 2.375 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.01724, allocations: 330.8 kB / 1.122 GB, free: 2.051 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.01752, allocations: 442.8 kB / 1.123 GB, free: 1.617 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.01884, allocations: 1.296 MB / 1.124 GB, free: 324 kB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01884, allocations: 0 / 1.124 GB, free: 324 kB / 1.057 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01884, allocations: 4 kB / 1.124 GB, free: 320 kB / 1.057 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.01885, allocations: 0 / 1.124 GB, free: 320 kB / 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.002182/0.02103, allocations: 1.867 MB / 1.126 GB, free: 14.39 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.02107, allocations: 12.03 kB / 1.126 GB, free: 14.38 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.02223, allocations: 0.5036 MB / 1.126 GB, free: 13.87 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.02296, allocations: 0.6526 MB / 1.127 GB, free: 13.19 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.02302, allocations: 82.45 kB / 1.127 GB, free: 13.11 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.02313, allocations: 107.9 kB / 1.127 GB, free: 13 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.02405, allocations: 0.9479 MB / 1.128 GB, free: 11.96 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.02408, allocations: 7.938 kB / 1.128 GB, free: 11.95 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.02414, allocations: 44 kB / 1.128 GB, free: 11.91 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.02415, allocations: 24 kB / 1.128 GB, free: 11.88 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.02474, allocations: 0.5593 MB / 1.129 GB, free: 11.31 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.02825, allocations: 4.017 MB / 1.133 GB, free: 7.156 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.02921, allocations: 0.7708 MB / 1.133 GB, free: 6.355 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.02941, allocations: 220.5 kB / 1.134 GB, free: 6.121 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.02947, allocations: 32.42 kB / 1.134 GB, free: 6.09 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.02982, allocations: 420.4 kB / 1.134 GB, free: 5.629 MB / 1.073 GB Notification: Performance of pre-optimization done (n=69): time 2.124e-06/0.02982, allocations: 0 / 1.134 GB, free: 5.629 MB / 1.073 GB Notification: Performance of matching and sorting (n=69): time 0.001885/0.03171, allocations: 1.136 MB / 1.135 GB, free: 4.441 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.03179, allocations: 230.2 kB / 1.135 GB, free: 4.164 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.03223, allocations: 0.6668 MB / 1.136 GB, free: 3.484 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.03226, allocations: 45.7 kB / 1.136 GB, free: 3.434 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.03253, allocations: 0.6001 MB / 1.137 GB, free: 2.824 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.03265, allocations: 242 kB / 1.137 GB, free: 2.586 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.03284, allocations: 204.1 kB / 1.137 GB, free: 2.379 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.033, allocations: 0.5702 MB / 1.138 GB, free: 1.797 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.03317, allocations: 181.3 kB / 1.138 GB, free: 1.605 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.03349, allocations: 0.5449 MB / 1.138 GB, free: 0.9062 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.034, allocations: 0.739 MB / 1.139 GB, free: 8 kB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.034, allocations: 4 kB / 1.139 GB, free: 4 kB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008953/0.0349, allocations: 0.9016 MB / 1.14 GB, free: 15.07 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.03494, allocations: 61.28 kB / 1.14 GB, free: 15 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.03494, allocations: 8 kB / 1.14 GB, free: 14.99 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.03516, allocations: 91.55 kB / 1.14 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.03556, allocations: 219.8 kB / 1.14 GB, free: 14.68 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.03657, allocations: 1.964 MB / 1.142 GB, free: 12.6 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.03687, allocations: 107.3 kB / 1.142 GB, free: 12.5 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.03691, allocations: 44.09 kB / 1.142 GB, free: 12.45 MB / 1.089 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.0002146/0.03713, allocations: 290.2 kB / 1.143 GB, free: 12.14 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.03724, allocations: 111.5 kB / 1.143 GB, free: 12.04 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.03804, allocations: 0.8446 MB / 1.144 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.03804, allocations: 8 kB / 1.144 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.03804, allocations: 0 / 1.144 GB, free: 11.14 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.03805, allocations: 3.984 kB / 1.144 GB, free: 11.13 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.03964, allocations: 1.6 MB / 1.145 GB, free: 9.457 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.03965, allocations: 0 / 1.145 GB, free: 9.457 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.03987, allocations: 123.8 kB / 1.145 GB, free: 9.336 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.04016, allocations: 290.8 kB / 1.146 GB, free: 9.035 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.0402, allocations: 23.97 kB / 1.146 GB, free: 9.012 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004999/0.0407, allocations: 1.07 MB / 1.147 GB, free: 7.891 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0407, allocations: 0 / 1.147 GB, free: 7.891 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.04189, allocations: 1.226 MB / 1.148 GB, free: 6.59 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.04208, allocations: 163.2 kB / 1.148 GB, free: 6.43 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.04215, allocations: 27.94 kB / 1.148 GB, free: 6.402 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.04237, allocations: 40 kB / 1.148 GB, free: 6.363 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.04243, allocations: 52.56 kB / 1.148 GB, free: 6.312 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.04247, allocations: 31.97 kB / 1.148 GB, free: 6.281 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002409/0.04271, allocations: 402.8 kB / 1.148 GB, free: 5.891 MB / 1.089 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04271, allocations: 3.938 kB / 1.148 GB, free: 5.887 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0006092/0.04332, allocations: 359 kB / 1.149 GB, free: 5.535 MB / 1.089 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.0013/0.04462, allocations: 0.7272 MB / 1.15 GB, free: 5.047 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0007388/0.04536, allocations: 0.9002 MB / 1.15 GB, free: 4.07 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.04536, allocations: 4.062 kB / 1.15 GB, free: 4.066 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.04569, allocations: 426.7 kB / 1.151 GB, free: 3.613 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.04614, allocations: 172.7 kB / 1.151 GB, free: 3.449 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.04801, allocations: 1.67 MB / 1.153 GB, free: 1.719 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.04811, allocations: 185 kB / 1.153 GB, free: 1.52 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.04834, allocations: 122 kB / 1.153 GB, free: 1.398 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.04866, allocations: 262.1 kB / 1.153 GB, free: 1.141 MB / 1.089 GB Notification: Performance of SimCode: time 5.51e-07/0.04866, allocations: 0 / 1.153 GB, free: 1.141 MB / 1.089 GB Notification: Performance of Templates: time 0.01601/0.06468, allocations: 14.17 MB / 1.167 GB, free: 3.156 MB / 1.104 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.927942263428122]