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: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, 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.426/1.426, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0009674/0.0009676, allocations: 99.48 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07025/0.07025, allocations: 8.093 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.106e-05, allocations: 4 kB / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09547, allocations: 52.52 MB / 458.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4937, allocations: 77.37 MB / 0.5229 GB, free: 8.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4939, allocations: 58.16 kB / 0.5229 GB, free: 8.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004274/0.4982, allocations: 1.361 MB / 0.5243 GB, free: 7.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4982, allocations: 0 / 0.5243 GB, free: 7.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4983, allocations: 3.281 kB / 0.5243 GB, free: 7.328 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.0006502/0.4989, allocations: 438.5 kB / 0.5247 GB, free: 6.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.499, allocations: 8.031 kB / 0.5247 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.499, allocations: 38.12 kB / 0.5247 GB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.4991, allocations: 7.953 kB / 0.5248 GB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.4993, allocations: 186.8 kB / 0.5249 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4995, allocations: 57.62 kB / 0.525 GB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4995, allocations: 11.75 kB / 0.525 GB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.5, allocations: 272.3 kB / 0.5253 GB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5, allocations: 0 / 0.5253 GB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.5, allocations: 11.64 kB / 0.5253 GB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5, allocations: 0 / 0.5253 GB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5002, allocations: 82.78 kB / 0.5253 GB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.5006, allocations: 377.1 kB / 0.5257 GB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.5009, allocations: 193.8 kB / 0.5259 GB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5011, allocations: 118 kB / 0.526 GB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5011, allocations: 3.953 kB / 0.526 GB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5011, allocations: 38.31 kB / 0.526 GB, free: 5.512 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.5011, allocations: 0 / 0.526 GB, free: 5.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.00032/0.5015, allocations: 155.5 kB / 0.5262 GB, free: 5.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.5015, allocations: 110.6 kB / 0.5263 GB, free: 5.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.5016, allocations: 96.69 kB / 0.5264 GB, free: 5.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5017, allocations: 33.62 kB / 0.5264 GB, free: 5.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.5017, allocations: 80.14 kB / 0.5265 GB, free: 5.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.5017, allocations: 12.2 kB / 0.5265 GB, free: 5.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.5018, allocations: 3.75 kB / 0.5265 GB, free: 5.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5019, allocations: 326.6 kB / 0.5268 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.5019, allocations: 15.56 kB / 0.5268 GB, free: 4.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.502, allocations: 91.41 kB / 0.5269 GB, free: 4.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.5021, allocations: 47.19 kB / 0.527 GB, free: 4.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5021, allocations: 0 / 0.527 GB, free: 4.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001782/0.5023, allocations: 131.9 kB / 0.5271 GB, free: 4.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5023, allocations: 9.516 kB / 0.5271 GB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5023, allocations: 4.406 kB / 0.5271 GB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5023, allocations: 8 kB / 0.5271 GB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.5024, allocations: 27.92 kB / 0.5271 GB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5025, allocations: 4 kB / 0.5271 GB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.5025, allocations: 15.47 kB / 0.5272 GB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5025, allocations: 9 kB / 0.5272 GB, free: 4.348 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.428e-05/0.5026, allocations: 117.8 kB / 0.5273 GB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.5029, allocations: 133.8 kB / 0.5274 GB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.503, allocations: 67.67 kB / 0.5275 GB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.503, allocations: 4 kB / 0.5275 GB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.503, allocations: 0 / 0.5275 GB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.503, allocations: 7.984 kB / 0.5275 GB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.5032, allocations: 180.7 kB / 0.5277 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5033, allocations: 0 / 0.5277 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.5035, allocations: 63.42 kB / 0.5277 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5035, allocations: 0 / 0.5277 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5035, allocations: 7.938 kB / 0.5277 GB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5036, allocations: 3.953 kB / 0.5277 GB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5036, allocations: 3.938 kB / 0.5277 GB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.5039, allocations: 362.7 kB / 0.5281 GB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.5039, allocations: 89.19 kB / 0.5282 GB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.504, allocations: 7.359 kB / 0.5282 GB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.5042, allocations: 27.98 kB / 0.5282 GB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.5042, allocations: 3.984 kB / 0.5282 GB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.5042, allocations: 11.42 kB / 0.5282 GB, free: 3.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.5043, allocations: 79.28 kB / 0.5283 GB, free: 3.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5043, allocations: 0 / 0.5283 GB, free: 3.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.5045, allocations: 19.69 kB / 0.5283 GB, free: 3.184 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.0006072/0.5052, allocations: 1.03 MB / 0.5293 GB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5054, allocations: 114.5 kB / 0.5294 GB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5054, allocations: 0 / 0.5294 GB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.5054, allocations: 6.938 kB / 0.5294 GB, free: 2.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.5057, allocations: 84.84 kB / 0.5295 GB, free: 2.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.5073, allocations: 349.4 kB / 0.5298 GB, free: 1.664 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.5076, allocations: 0.7003 MB / 0.5305 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.5076, allocations: 16.42 kB / 0.5305 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.5077, allocations: 18.62 kB / 0.5306 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5077, allocations: 0 / 0.5306 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.5206, allocations: 1.85 MB / 0.5324 GB, free: 15.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.5208, allocations: 131.9 kB / 0.5325 GB, free: 14.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.977, allocations: 3.938 kB / 0.5325 GB, free: 14.93 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)