Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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.0173/0.0173, allocations: 4.23 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.0009868/0.0009868, allocations: 84.61 kB / 28.3 MB, free: 1.93 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.001202/0.001202, allocations: 163.5 kB / 32.93 MB, free: 3.516 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.8962/0.8962, allocations: 177.2 MB / 214.6 MB, free: 15.17 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.105/2.105, allocations: 429.5 MB / 0.6854 GB, free: 460 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.007563/0.007563, allocations: 1.984 MB / 0.8806 GB, free: 10.68 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.091 GB, free: 3.355 MB / 1.026 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.38e-05, allocations: 2.312 kB / 1.091 GB, free: 3.352 MB / 1.026 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007899/0.007923, allocations: 6.667 MB / 1.097 GB, free: 12.64 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.006342/0.01426, allocations: 4.116 MB / 1.101 GB, free: 8.512 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007875/0.01505, allocations: 31.88 kB / 1.101 GB, free: 8.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.01734, allocations: 1.181 MB / 1.102 GB, free: 7.293 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.01915, allocations: 0.7609 MB / 1.103 GB, free: 6.527 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.02049, allocations: 0.5293 MB / 1.104 GB, free: 6.004 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.02167, allocations: 1.455 MB / 1.105 GB, free: 4.543 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009683/0.02263, allocations: 0.9342 MB / 1.106 GB, free: 3.582 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.02338, allocations: 0.8418 MB / 1.107 GB, free: 2.738 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.02393, allocations: 0.5493 MB / 1.107 GB, free: 2.188 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.02406, allocations: 148 kB / 1.107 GB, free: 2.043 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.02476, allocations: 471.3 kB / 1.108 GB, free: 1.582 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.02496, allocations: 322.8 kB / 1.108 GB, free: 1.266 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.02528, allocations: 454.8 kB / 1.109 GB, free: 0.8203 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.02666, allocations: 1.312 MB / 1.11 GB, free: 15.5 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.02667, allocations: 0 / 1.11 GB, free: 15.5 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.553e-06/0.02667, allocations: 4 kB / 1.11 GB, free: 15.5 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.02668, allocations: 0 / 1.11 GB, free: 15.5 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.002355/0.02904, allocations: 1.867 MB / 1.112 GB, free: 13.58 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.02907, allocations: 8.031 kB / 1.112 GB, free: 13.57 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.03031, allocations: 0.4996 MB / 1.112 GB, free: 13.07 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009702/0.03128, allocations: 0.7384 MB / 1.113 GB, free: 12.3 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.03133, allocations: 78.45 kB / 1.113 GB, free: 12.22 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.03145, allocations: 111.9 kB / 1.113 GB, free: 12.11 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.03261, allocations: 1.018 MB / 1.114 GB, free: 11 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.03263, allocations: 8 kB / 1.114 GB, free: 10.99 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.03269, allocations: 44 kB / 1.114 GB, free: 10.95 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.03271, allocations: 24 kB / 1.114 GB, free: 10.92 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.03364, allocations: 0.6823 MB / 1.115 GB, free: 10.22 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.03739, allocations: 3.936 MB / 1.119 GB, free: 6.152 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.03856, allocations: 0.8153 MB / 1.119 GB, free: 5.309 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.03885, allocations: 240.5 kB / 1.12 GB, free: 5.051 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.03891, allocations: 28.42 kB / 1.12 GB, free: 5.023 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.03933, allocations: 436.5 kB / 1.12 GB, free: 4.551 MB / 1.057 GB Notification: Performance of pre-optimization done (n=69): time 2.435e-06/0.03934, allocations: 7.938 kB / 1.12 GB, free: 4.543 MB / 1.057 GB Notification: Performance of matching and sorting (n=69): time 0.002131/0.04147, allocations: 1.167 MB / 1.121 GB, free: 3.324 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.04155, allocations: 226.3 kB / 1.121 GB, free: 3.055 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.0421, allocations: 0.6789 MB / 1.122 GB, free: 2.363 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.04214, allocations: 37.7 kB / 1.122 GB, free: 2.32 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.04242, allocations: 0.5924 MB / 1.123 GB, free: 1.719 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.04256, allocations: 238.1 kB / 1.123 GB, free: 1.484 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.04275, allocations: 200.2 kB / 1.123 GB, free: 1.281 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.04292, allocations: 0.5587 MB / 1.124 GB, free: 0.7109 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.04318, allocations: 225.3 kB / 1.124 GB, free: 488 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.0436, allocations: 0.584 MB / 1.125 GB, free: 15.74 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.04427, allocations: 0.7937 MB / 1.125 GB, free: 14.78 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.04428, allocations: 4 kB / 1.125 GB, free: 14.78 MB / 1.073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001108/0.04539, allocations: 0.9677 MB / 1.126 GB, free: 13.77 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.04543, allocations: 67.41 kB / 1.126 GB, free: 13.69 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.04544, allocations: 4 kB / 1.126 GB, free: 13.69 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.04569, allocations: 91.95 kB / 1.126 GB, free: 13.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.04613, allocations: 219.6 kB / 1.127 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.04718, allocations: 1.971 MB / 1.129 GB, free: 11.29 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.04754, allocations: 99.28 kB / 1.129 GB, free: 11.19 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.04759, allocations: 47.97 kB / 1.129 GB, free: 11.14 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.0002544/0.04785, allocations: 294.2 kB / 1.129 GB, free: 10.83 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.04797, allocations: 111.5 kB / 1.129 GB, free: 10.72 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/0.04897, allocations: 0.8916 MB / 1.13 GB, free: 9.773 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.04897, allocations: 8 kB / 1.13 GB, free: 9.766 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.04897, allocations: 4 kB / 1.13 GB, free: 9.762 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.04898, allocations: 7.984 kB / 1.13 GB, free: 9.754 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.05099, allocations: 1.748 MB / 1.132 GB, free: 7.93 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.05099, allocations: 4 kB / 1.132 GB, free: 7.926 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.05122, allocations: 111.9 kB / 1.132 GB, free: 7.816 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/0.05155, allocations: 262.8 kB / 1.132 GB, free: 7.543 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.05159, allocations: 35.91 kB / 1.132 GB, free: 7.508 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005607/0.05215, allocations: 1.074 MB / 1.133 GB, free: 6.383 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.05216, allocations: 0 / 1.133 GB, free: 6.383 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.05354, allocations: 1.285 MB / 1.134 GB, free: 5.023 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.05379, allocations: 159.3 kB / 1.135 GB, free: 4.867 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.05387, allocations: 24 kB / 1.135 GB, free: 4.844 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.05412, allocations: 35.97 kB / 1.135 GB, free: 4.809 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.0542, allocations: 56.5 kB / 1.135 GB, free: 4.75 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.05424, allocations: 27.98 kB / 1.135 GB, free: 4.723 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003665/0.05461, allocations: 438.9 kB / 1.135 GB, free: 4.297 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.05461, allocations: 3.938 kB / 1.135 GB, free: 4.293 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0007792/0.05539, allocations: 347 kB / 1.135 GB, free: 3.953 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.001455/0.05684, allocations: 0.7204 MB / 1.136 GB, free: 3.477 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.05805, allocations: 0.9698 MB / 1.137 GB, free: 2.438 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.05805, allocations: 0 / 1.137 GB, free: 2.438 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.0585, allocations: 442.8 kB / 1.137 GB, free: 1.961 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.05906, allocations: 169 kB / 1.138 GB, free: 1.805 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.0614, allocations: 1.689 MB / 1.139 GB, free: 60 kB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.06153, allocations: 185 kB / 1.139 GB, free: 15.85 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.06183, allocations: 130.2 kB / 1.14 GB, free: 15.72 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.06199, allocations: 88.45 kB / 1.14 GB, free: 15.64 MB / 1.089 GB Notification: Performance of SimCode: time 1.452e-06/0.06199, allocations: 0 / 1.14 GB, free: 15.64 MB / 1.089 GB Notification: Performance of Templates: time 0.0155/0.07749, allocations: 12.57 MB / 1.152 GB, free: 3.215 MB / 1.089 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.184686730615795]