Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 181.2 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.5 MB / 230 MB, free: 3.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008113/0.000811, allocations: 86.84 kB / 280.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05279/0.05279, allocations: 8.099 MB / 339.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.366e-05, allocations: 0 / 398.5 MB, free: 67.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09659, allocations: 52.53 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4551, allocations: 76.78 MB / 0.5154 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.4553, allocations: 52.77 kB / 0.5154 GB, free: 1.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00416/0.4595, allocations: 1.36 MB / 0.5168 GB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4595, allocations: 4 kB / 0.5168 GB, free: 15.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.4596, allocations: 0 / 0.5168 GB, free: 15.89 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006837/0.4602, allocations: 426.2 kB / 0.5172 GB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4603, allocations: 15.98 kB / 0.5172 GB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.4604, allocations: 12.95 kB / 0.5172 GB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4606, allocations: 174.9 kB / 0.5174 GB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.4608, allocations: 57.67 kB / 0.5174 GB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4608, allocations: 4 kB / 0.5174 GB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001813/0.461, allocations: 80.41 kB / 0.5175 GB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.4614, allocations: 261.9 kB / 0.5178 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4614, allocations: 3.953 kB / 0.5178 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4614, allocations: 0 / 0.5178 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4615, allocations: 0 / 0.5178 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.4619, allocations: 346 kB / 0.5181 GB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4622, allocations: 183.4 kB / 0.5183 GB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.4623, allocations: 113.4 kB / 0.5184 GB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.4624, allocations: 0 / 0.5184 GB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4624, allocations: 41.88 kB / 0.5184 GB, free: 14.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4624, allocations: 0 / 0.5184 GB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003221/0.4627, allocations: 154.8 kB / 0.5186 GB, free: 14.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.4628, allocations: 114 kB / 0.5187 GB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.4629, allocations: 96.52 kB / 0.5188 GB, free: 13.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4629, allocations: 25.7 kB / 0.5188 GB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.463, allocations: 84.14 kB / 0.5189 GB, free: 13.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.463, allocations: 11.33 kB / 0.5189 GB, free: 13.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.463, allocations: 0 / 0.5189 GB, free: 13.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4632, allocations: 318.7 kB / 0.5192 GB, free: 13.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.4632, allocations: 15.17 kB / 0.5192 GB, free: 13.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.4633, allocations: 94.72 kB / 0.5193 GB, free: 13.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.4634, allocations: 35.36 kB / 0.5193 GB, free: 13.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4634, allocations: 0 / 0.5193 GB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001859/0.4636, allocations: 119.6 kB / 0.5194 GB, free: 13.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4636, allocations: 4 kB / 0.5194 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4636, allocations: 4 kB / 0.5194 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4636, allocations: 8.031 kB / 0.5195 GB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4638, allocations: 31.88 kB / 0.5195 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4638, allocations: 4 kB / 0.5195 GB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.4638, allocations: 8.344 kB / 0.5195 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4639, allocations: 19.88 kB / 0.5195 GB, free: 13.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.484e-05/0.464, allocations: 104.9 kB / 0.5196 GB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.4642, allocations: 141.2 kB / 0.5198 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.4643, allocations: 52.8 kB / 0.5198 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4643, allocations: 0 / 0.5198 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4643, allocations: 11.94 kB / 0.5198 GB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4643, allocations: 0 / 0.5198 GB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4646, allocations: 157.6 kB / 0.52 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4646, allocations: 4.031 kB / 0.52 GB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.4648, allocations: 47.41 kB / 0.52 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4648, allocations: 0 / 0.52 GB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4648, allocations: 7.984 kB / 0.52 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4648, allocations: 0 / 0.52 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4649, allocations: 4 kB / 0.52 GB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4652, allocations: 357.7 kB / 0.5204 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.4652, allocations: 85.05 kB / 0.5204 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4653, allocations: 0 / 0.5204 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.4655, allocations: 35.92 kB / 0.5205 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.4655, allocations: 0 / 0.5205 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4655, allocations: 7.5 kB / 0.5205 GB, free: 12.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.776e-05/0.4656, allocations: 83.28 kB / 0.5206 GB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4656, allocations: 0 / 0.5206 GB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.4659, allocations: 12 kB / 0.5206 GB, free: 11.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001024/0.466, allocations: 100.8 kB / 0.5207 GB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.4662, allocations: 87.98 kB / 0.5208 GB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4662, allocations: 4.75 kB / 0.5208 GB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.4662, allocations: 19.36 kB / 0.5208 GB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4665, allocations: 82.16 kB / 0.5209 GB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4679, allocations: 297.6 kB / 0.5211 GB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4682, allocations: 0.7032 MB / 0.5218 GB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.4683, allocations: 4.438 kB / 0.5218 GB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.4683, allocations: 15.42 kB / 0.5218 GB, free: 10.66 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4683, allocations: 0 / 0.5218 GB, free: 10.66 MB / 346.7 MB Notification: Performance of Templates: time 0.002892/0.4712, allocations: 0.8619 MB / 0.5227 GB, free: 9.805 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)