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.01694/0.01694, 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.0009066/0.0009066, allocations: 85.31 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.0009924/0.0009924, allocations: 166.9 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.8638/0.8638, allocations: 177.2 MB / 214.9 MB, free: 15.06 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.982/1.982, allocations: 438.1 MB / 0.6942 GB, free: 7.789 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.007011/0.007011, allocations: 1.979 MB / 0.8921 GB, free: 14.2 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_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.623e-06/1.623e-06, allocations: 0 / 1.105 GB, free: 3.965 MB / 1.042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.002e-05, allocations: 2.312 kB / 1.105 GB, free: 3.961 MB / 1.042 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.006711/0.006731, allocations: 6.564 MB / 1.111 GB, free: 13.36 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.01177, allocations: 4.092 MB / 1.115 GB, free: 9.25 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.01234, allocations: 27.88 kB / 1.115 GB, free: 9.223 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.01416, allocations: 1.177 MB / 1.116 GB, free: 8.039 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.01542, allocations: 0.7492 MB / 1.117 GB, free: 7.285 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.01656, allocations: 0.534 MB / 1.118 GB, free: 6.758 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.001513/0.01807, allocations: 1.456 MB / 1.119 GB, free: 5.293 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.01912, allocations: 0.9226 MB / 1.12 GB, free: 4.34 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.01987, allocations: 0.8535 MB / 1.121 GB, free: 3.484 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.02034, allocations: 0.5493 MB / 1.121 GB, free: 2.934 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.0205, allocations: 140 kB / 1.122 GB, free: 2.797 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.02107, allocations: 463.3 kB / 1.122 GB, free: 2.344 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.02124, allocations: 318.8 kB / 1.122 GB, free: 2.031 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.02153, allocations: 458.8 kB / 1.123 GB, free: 1.582 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.02258, allocations: 1.296 MB / 1.124 GB, free: 288 kB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.02259, allocations: 0 / 1.124 GB, free: 288 kB / 1.057 GB Notification: Performance of FrontEnd: time 1.663e-06/0.02259, allocations: 4 kB / 1.124 GB, free: 284 kB / 1.057 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.0226, allocations: 0 / 1.124 GB, free: 284 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.002077/0.02467, allocations: 1.871 MB / 1.126 GB, free: 14.35 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.02471, allocations: 12.03 kB / 1.126 GB, free: 14.34 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.02585, allocations: 0.5035 MB / 1.126 GB, free: 13.83 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.02659, allocations: 0.6411 MB / 1.127 GB, free: 13.16 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.02664, allocations: 82.45 kB / 1.127 GB, free: 13.08 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.02673, allocations: 111.9 kB / 1.127 GB, free: 12.97 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.0276, allocations: 0.9518 MB / 1.128 GB, free: 11.92 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.02762, allocations: 3.953 kB / 1.128 GB, free: 11.92 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.02768, allocations: 44 kB / 1.128 GB, free: 11.88 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.0277, allocations: 24 kB / 1.128 GB, free: 11.85 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.02838, allocations: 0.5632 MB / 1.129 GB, free: 11.27 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.03192, allocations: 4.013 MB / 1.133 GB, free: 7.125 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.03285, allocations: 0.7766 MB / 1.133 GB, free: 6.32 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.03304, allocations: 216.5 kB / 1.134 GB, free: 6.09 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.03309, allocations: 28.42 kB / 1.134 GB, free: 6.062 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.03342, allocations: 424.4 kB / 1.134 GB, free: 5.598 MB / 1.073 GB Notification: Performance of pre-optimization done (n=69): time 1.843e-06/0.03343, allocations: 0 / 1.134 GB, free: 5.598 MB / 1.073 GB Notification: Performance of matching and sorting (n=69): time 0.00174/0.03517, allocations: 1.132 MB / 1.135 GB, free: 4.414 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.03524, allocations: 226.4 kB / 1.135 GB, free: 4.141 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.03566, allocations: 0.6707 MB / 1.136 GB, free: 3.457 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.03569, allocations: 45.7 kB / 1.136 GB, free: 3.406 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.03595, allocations: 0.5962 MB / 1.137 GB, free: 2.801 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.03606, allocations: 242 kB / 1.137 GB, free: 2.562 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.03625, allocations: 204.1 kB / 1.137 GB, free: 2.355 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.03639, allocations: 0.5702 MB / 1.138 GB, free: 1.773 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.03656, allocations: 181.3 kB / 1.138 GB, free: 1.582 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.03686, allocations: 0.5449 MB / 1.138 GB, free: 0.8828 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007351/0.0376, allocations: 0.7428 MB / 1.139 GB, free: 15.98 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.0376, allocations: 4 kB / 1.139 GB, free: 15.97 MB / 1.089 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0008646/0.03847, allocations: 0.8975 MB / 1.14 GB, free: 15.04 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.0385, allocations: 67.58 kB / 1.14 GB, free: 14.96 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.03851, allocations: 11.94 kB / 1.14 GB, free: 14.95 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.03871, allocations: 87.61 kB / 1.14 GB, free: 14.86 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.03911, allocations: 223.6 kB / 1.14 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008554/0.03997, allocations: 1.964 MB / 1.142 GB, free: 12.57 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.04026, allocations: 103.3 kB / 1.142 GB, free: 12.46 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.0403, allocations: 39.97 kB / 1.142 GB, free: 12.43 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.0002023/0.0405, allocations: 290.5 kB / 1.143 GB, free: 12.12 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.04061, allocations: 115.4 kB / 1.143 GB, free: 12 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.04138, allocations: 0.8407 MB / 1.144 GB, free: 11.12 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.04138, allocations: 8 kB / 1.144 GB, free: 11.11 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.04138, allocations: 0 / 1.144 GB, free: 11.11 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.04139, allocations: 3.984 kB / 1.144 GB, free: 11.11 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.04292, allocations: 1.604 MB / 1.145 GB, free: 9.426 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.04292, allocations: 0 / 1.145 GB, free: 9.426 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.04314, allocations: 111.9 kB / 1.145 GB, free: 9.316 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.04365, allocations: 302.7 kB / 1.146 GB, free: 9.004 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.04369, allocations: 23.97 kB / 1.146 GB, free: 8.98 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004756/0.04416, allocations: 1.067 MB / 1.147 GB, free: 7.863 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.04416, allocations: 3.969 kB / 1.147 GB, free: 7.859 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.04523, allocations: 1.23 MB / 1.148 GB, free: 6.555 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.04542, allocations: 159.2 kB / 1.148 GB, free: 6.398 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.04549, allocations: 27.94 kB / 1.148 GB, free: 6.371 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.04571, allocations: 39.97 kB / 1.148 GB, free: 6.332 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.04577, allocations: 52.56 kB / 1.148 GB, free: 6.281 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.0458, allocations: 31.97 kB / 1.148 GB, free: 6.25 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002294/0.04603, allocations: 406.8 kB / 1.148 GB, free: 5.855 MB / 1.089 GB Notification: Performance of sort global known variables: time 8e-08/0.04603, allocations: 0 / 1.148 GB, free: 5.855 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0005226/0.04655, allocations: 355 kB / 1.149 GB, free: 5.508 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.001168/0.04772, allocations: 0.7286 MB / 1.15 GB, free: 5.016 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.04843, allocations: 0.9002 MB / 1.15 GB, free: 4.039 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.04843, allocations: 0 / 1.15 GB, free: 4.039 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.04874, allocations: 422.8 kB / 1.151 GB, free: 3.59 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.04918, allocations: 177 kB / 1.151 GB, free: 3.422 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.05113, allocations: 1.677 MB / 1.153 GB, free: 1.684 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.05123, allocations: 185 kB / 1.153 GB, free: 1.484 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002189/0.05145, allocations: 122 kB / 1.153 GB, free: 1.363 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.05177, allocations: 258.1 kB / 1.153 GB, free: 1.109 MB / 1.089 GB Notification: Performance of SimCode: time 6.21e-07/0.05177, allocations: 0 / 1.153 GB, free: 1.109 MB / 1.089 GB Notification: Performance of Templates: time 0.0155/0.06727, allocations: 14.18 MB / 1.167 GB, free: 3.125 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: 6.833339271135628]