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.001432/0.001432, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.0008572, allocations: 101.8 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04162/0.04162, allocations: 8.105 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.701e-05, allocations: 3.984 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07676/0.0768, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4234, allocations: 77.38 MB / 0.5228 GB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.4236, allocations: 58.66 kB / 0.5229 GB, free: 8.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00399/0.4276, allocations: 1.367 MB / 0.5242 GB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4276, allocations: 0 / 0.5242 GB, free: 7.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.4276, allocations: 0 / 0.5242 GB, free: 7.289 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.0005923/0.4282, allocations: 433 kB / 0.5246 GB, free: 6.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4283, allocations: 8.031 kB / 0.5246 GB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.4283, allocations: 11.95 kB / 0.5246 GB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4285, allocations: 169.8 kB / 0.5248 GB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4287, allocations: 68.55 kB / 0.5249 GB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4287, allocations: 7.312 kB / 0.5249 GB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.4291, allocations: 270.8 kB / 0.5251 GB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4291, allocations: 4 kB / 0.5251 GB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.4292, allocations: 7.938 kB / 0.5251 GB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4292, allocations: 4 kB / 0.5251 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.4293, allocations: 76.48 kB / 0.5252 GB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.4297, allocations: 366 kB / 0.5256 GB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.43, allocations: 196.2 kB / 0.5257 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.4302, allocations: 112.3 kB / 0.5258 GB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4302, allocations: 11.92 kB / 0.5259 GB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4302, allocations: 41.7 kB / 0.5259 GB, free: 5.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4302, allocations: 0 / 0.5259 GB, free: 5.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003089/0.4306, allocations: 156.3 kB / 0.526 GB, free: 5.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.4306, allocations: 117.8 kB / 0.5262 GB, free: 5.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.4307, allocations: 92.98 kB / 0.5262 GB, free: 5.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4307, allocations: 32.89 kB / 0.5263 GB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.4308, allocations: 84.14 kB / 0.5264 GB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.4308, allocations: 15.14 kB / 0.5264 GB, free: 5.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4308, allocations: 3.125 kB / 0.5264 GB, free: 5.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4309, allocations: 313.6 kB / 0.5267 GB, free: 4.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.431, allocations: 22.92 kB / 0.5267 GB, free: 4.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.431, allocations: 99.34 kB / 0.5268 GB, free: 4.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.4311, allocations: 38.55 kB / 0.5268 GB, free: 4.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4311, allocations: 0 / 0.5268 GB, free: 4.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001774/0.4313, allocations: 136.4 kB / 0.527 GB, free: 4.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4313, allocations: 9.562 kB / 0.527 GB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.4313, allocations: 7.953 kB / 0.527 GB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4314, allocations: 4 kB / 0.527 GB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4315, allocations: 30.98 kB / 0.527 GB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4315, allocations: 4 kB / 0.527 GB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.4315, allocations: 4 kB / 0.527 GB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4316, allocations: 7.984 kB / 0.527 GB, free: 4.367 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.112e-05/0.4316, allocations: 125.1 kB / 0.5271 GB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.4319, allocations: 140.3 kB / 0.5273 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.432, allocations: 55.91 kB / 0.5273 GB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.432, allocations: 7.953 kB / 0.5273 GB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.432, allocations: 0 / 0.5273 GB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.432, allocations: 0 / 0.5273 GB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.4322, allocations: 195.6 kB / 0.5275 GB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4322, allocations: 0 / 0.5275 GB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.4325, allocations: 51 kB / 0.5276 GB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.4325, allocations: 4 kB / 0.5276 GB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4325, allocations: 3.938 kB / 0.5276 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4325, allocations: 0 / 0.5276 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4325, allocations: 7.953 kB / 0.5276 GB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.4329, allocations: 372.3 kB / 0.5279 GB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.4329, allocations: 85 kB / 0.528 GB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.4329, allocations: 4 kB / 0.528 GB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4332, allocations: 31.47 kB / 0.5281 GB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.4332, allocations: 4 kB / 0.5281 GB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4332, allocations: 4 kB / 0.5281 GB, free: 3.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.4332, allocations: 82.72 kB / 0.5281 GB, free: 3.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4332, allocations: 4 kB / 0.5281 GB, free: 3.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000262/0.4335, allocations: 19.38 kB / 0.5282 GB, free: 3.199 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 9.011e-05/0.4336, allocations: 98.06 kB / 0.5283 GB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.4338, allocations: 102.3 kB / 0.5284 GB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4338, allocations: 4.688 kB / 0.5284 GB, free: 3.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.4338, allocations: 8 kB / 0.5284 GB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4341, allocations: 92.47 kB / 0.5285 GB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4355, allocations: 308 kB / 0.5288 GB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.4357, allocations: 0.7081 MB / 0.5294 GB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.4358, allocations: 4.438 kB / 0.5294 GB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.4358, allocations: 11.44 kB / 0.5295 GB, free: 1.898 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4358, allocations: 7.938 kB / 0.5295 GB, free: 1.891 MB / 346.7 MB Notification: Performance of Templates: time 0.002549/0.4384, allocations: 0.9003 MB / 0.5303 GB, free: 1 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)