Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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.03178/0.03178, allocations: 4.231 MB / 23.59 MB, free: 0.7969 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.001745/0.001745, allocations: 89.2 kB / 28.05 MB, free: 1.844 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.001941/0.001941, allocations: 156 kB / 32.6 MB, free: 3.492 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 1.467/1.467, allocations: 177.2 MB / 214.2 MB, free: 15.16 MB / 202.7 MB " [Timeout remaining time 178] 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 3.341/3.341, allocations: 429.4 MB / 0.6849 GB, free: 416 kB / 0.6355 GB " [Timeout remaining time 176] 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.01186/0.01186, allocations: 1.982 MB / 0.8801 GB, free: 10.72 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 1.09 GB, free: 3.797 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.875e-05, allocations: 2.312 kB / 1.09 GB, free: 3.793 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.009675/0.009703, allocations: 6.599 MB / 1.096 GB, free: 13.15 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00742/0.01712, allocations: 4.077 MB / 1.1 GB, free: 9.059 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.01782, allocations: 23.88 kB / 1.1 GB, free: 9.035 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.02099, allocations: 1.181 MB / 1.101 GB, free: 7.848 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.02309, allocations: 0.757 MB / 1.102 GB, free: 7.086 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.02483, allocations: 0.5337 MB / 1.103 GB, free: 6.559 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.02666, allocations: 1.463 MB / 1.104 GB, free: 5.09 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.02806, allocations: 0.9149 MB / 1.105 GB, free: 4.148 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.0292, allocations: 0.8418 MB / 1.106 GB, free: 3.305 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008891/0.03009, allocations: 0.5609 MB / 1.106 GB, free: 2.742 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.03031, allocations: 148 kB / 1.106 GB, free: 2.598 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.03131, allocations: 471.3 kB / 1.107 GB, free: 2.137 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.03165, allocations: 322.8 kB / 1.107 GB, free: 1.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.0322, allocations: 454.8 kB / 1.108 GB, free: 1.375 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.03483, allocations: 1.924 MB / 1.109 GB, free: 15.45 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.03484, allocations: 4 kB / 1.109 GB, free: 15.44 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.453e-06/0.03484, allocations: 0 / 1.109 GB, free: 15.44 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.03486, allocations: 0 / 1.109 GB, free: 15.44 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.004287/0.03914, allocations: 1.949 MB / 1.111 GB, free: 13.44 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.03918, allocations: 8.031 kB / 1.111 GB, free: 13.43 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.04149, allocations: 0.4997 MB / 1.112 GB, free: 12.93 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.04326, allocations: 0.754 MB / 1.113 GB, free: 12.14 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.04334, allocations: 82.39 kB / 1.113 GB, free: 12.06 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.04353, allocations: 115.9 kB / 1.113 GB, free: 11.95 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.04587, allocations: 1.326 MB / 1.114 GB, free: 10.53 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.0459, allocations: 0 / 1.114 GB, free: 10.53 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.04601, allocations: 48 kB / 1.114 GB, free: 10.48 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.04604, allocations: 24 kB / 1.114 GB, free: 10.46 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.04828, allocations: 1.081 MB / 1.115 GB, free: 9.367 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007446/0.05573, allocations: 4.586 MB / 1.12 GB, free: 4.641 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.05822, allocations: 0.9129 MB / 1.121 GB, free: 3.699 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.05892, allocations: 350.7 kB / 1.121 GB, free: 3.34 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.05902, allocations: 32.42 kB / 1.121 GB, free: 3.309 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.06003, allocations: 0.5434 MB / 1.121 GB, free: 2.723 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.155e-06/0.06003, allocations: 0 / 1.121 GB, free: 2.723 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.005047/0.06508, allocations: 1.488 MB / 1.123 GB, free: 1.18 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.06525, allocations: 230.3 kB / 1.123 GB, free: 0.9062 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.06634, allocations: 0.8352 MB / 1.124 GB, free: 56 kB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.0664, allocations: 45.7 kB / 1.124 GB, free: 4 kB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.06697, allocations: 0.612 MB / 1.125 GB, free: 15.38 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.06722, allocations: 258 kB / 1.125 GB, free: 15.13 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.06758, allocations: 228.2 kB / 1.125 GB, free: 14.9 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003863/0.06797, allocations: 0.6055 MB / 1.126 GB, free: 14.28 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.06865, allocations: 341.2 kB / 1.126 GB, free: 13.93 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.0697, allocations: 0.7207 MB / 1.127 GB, free: 13.06 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.0714, allocations: 1.055 MB / 1.128 GB, free: 11.84 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.0714, allocations: 0 / 1.128 GB, free: 11.84 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002543/0.07395, allocations: 1.21 MB / 1.129 GB, free: 10.59 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.07401, allocations: 67.34 kB / 1.129 GB, free: 10.52 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.07403, allocations: 8 kB / 1.129 GB, free: 10.51 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.07452, allocations: 87.61 kB / 1.129 GB, free: 10.42 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.07541, allocations: 219.6 kB / 1.129 GB, free: 10.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.07744, allocations: 2.022 MB / 1.131 GB, free: 8.051 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.07814, allocations: 99.33 kB / 1.131 GB, free: 7.953 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.07823, allocations: 52.09 kB / 1.131 GB, free: 7.902 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.0005173/0.07874, allocations: 370.3 kB / 1.132 GB, free: 7.52 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.07895, allocations: 107.5 kB / 1.132 GB, free: 7.414 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.08131, allocations: 1.134 MB / 1.133 GB, free: 6.234 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.08132, allocations: 12 kB / 1.133 GB, free: 6.223 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.08132, allocations: 0 / 1.133 GB, free: 6.223 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.08133, allocations: 3.984 kB / 1.133 GB, free: 6.219 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.08575, allocations: 2.193 MB / 1.135 GB, free: 3.945 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.08575, allocations: 0 / 1.135 GB, free: 3.945 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.08621, allocations: 111.9 kB / 1.135 GB, free: 3.836 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/0.08703, allocations: 350.8 kB / 1.136 GB, free: 3.477 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.0871, allocations: 35.91 kB / 1.136 GB, free: 3.441 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.08863, allocations: 1.227 MB / 1.137 GB, free: 2.164 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.08863, allocations: 0 / 1.137 GB, free: 2.164 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.09202, allocations: 1.702 MB / 1.138 GB, free: 396 kB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.09239, allocations: 163.2 kB / 1.139 GB, free: 232 kB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.09252, allocations: 27.97 kB / 1.139 GB, free: 204 kB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.09306, allocations: 35.98 kB / 1.139 GB, free: 168 kB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.09318, allocations: 52.5 kB / 1.139 GB, free: 116 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.09325, allocations: 31.97 kB / 1.139 GB, free: 84 kB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007311/0.09398, allocations: 0.5224 MB / 1.139 GB, free: 15.56 MB / 1.089 GB Notification: Performance of sort global known variables: time 1e-07/0.09398, allocations: 0 / 1.139 GB, free: 15.56 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001036/0.09501, allocations: 351 kB / 1.14 GB, free: 15.22 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.004032/0.09905, allocations: 0.7517 MB / 1.14 GB, free: 14.74 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002226/0.1013, allocations: 1.201 MB / 1.141 GB, free: 13.47 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1013, allocations: 0 / 1.141 GB, free: 13.47 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.1023, allocations: 0.55 MB / 1.142 GB, free: 12.88 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.1031, allocations: 175.4 kB / 1.142 GB, free: 12.71 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.1066, allocations: 1.822 MB / 1.144 GB, free: 10.83 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.1071, allocations: 436.2 kB / 1.144 GB, free: 10.37 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.1075, allocations: 134.2 kB / 1.144 GB, free: 10.23 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.1078, allocations: 84.45 kB / 1.145 GB, free: 10.15 MB / 1.089 GB Notification: Performance of SimCode: time 7.81e-07/0.1078, allocations: 0 / 1.145 GB, free: 10.15 MB / 1.089 GB Notification: Performance of Templates: time 0.02659/0.1343, allocations: 12.55 MB / 1.157 GB, free: 13.74 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.606810097931884]