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.001531/0.001531, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.608/1.608, allocations: 223.2 MB / 239.7 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.36 kB / 290.9 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05294/0.05294, allocations: 8.101 MB / 350.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.000368, allocations: 11.98 kB / 413.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2647, allocations: 52.52 MB / 465.7 MB, free: 69.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.367, allocations: 77.18 MB / 0.5302 GB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.3674, allocations: 59.97 kB / 0.5302 GB, free: 8.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004682/0.3721, allocations: 1.366 MB / 0.5315 GB, free: 6.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3721, allocations: 0 / 0.5315 GB, free: 6.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3721, allocations: 0 / 0.5315 GB, free: 6.906 MB / 362.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.00084/0.373, allocations: 443 kB / 0.532 GB, free: 6.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.373, allocations: 8.031 kB / 0.532 GB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.3731, allocations: 38.56 kB / 0.532 GB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.3732, allocations: 15.86 kB / 0.532 GB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3734, allocations: 174.9 kB / 0.5322 GB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3736, allocations: 65.67 kB / 0.5323 GB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3737, allocations: 8 kB / 0.5323 GB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.3749, allocations: 422.1 kB / 0.5327 GB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3749, allocations: 0 / 0.5327 GB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3749, allocations: 15.95 kB / 0.5327 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3749, allocations: 0 / 0.5327 GB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.3755, allocations: 179.8 kB / 0.5329 GB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.3762, allocations: 381.7 kB / 0.5332 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/0.3772, allocations: 351.6 kB / 0.5335 GB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3772, allocations: 3.984 kB / 0.5336 GB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3773, allocations: 42.58 kB / 0.5336 GB, free: 4.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.3773, allocations: 0 / 0.5336 GB, free: 4.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001131/0.3784, allocations: 357.7 kB / 0.5339 GB, free: 4.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.3786, allocations: 118.7 kB / 0.534 GB, free: 4.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3787, allocations: 93 kB / 0.5341 GB, free: 3.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3787, allocations: 25.7 kB / 0.5342 GB, free: 3.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.3788, allocations: 92.12 kB / 0.5342 GB, free: 3.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3788, allocations: 11.53 kB / 0.5343 GB, free: 3.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.3789, allocations: 4 kB / 0.5343 GB, free: 3.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.379, allocations: 322.8 kB / 0.5346 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.3791, allocations: 15.98 kB / 0.5346 GB, free: 3.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3792, allocations: 95.16 kB / 0.5347 GB, free: 3.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.3793, allocations: 43.86 kB / 0.5347 GB, free: 3.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3793, allocations: 4 kB / 0.5347 GB, free: 3.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001998/0.3795, allocations: 125.4 kB / 0.5348 GB, free: 3.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3795, allocations: 10.03 kB / 0.5349 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3796, allocations: 8.297 kB / 0.5349 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3796, allocations: 8 kB / 0.5349 GB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3797, allocations: 23.98 kB / 0.5349 GB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3797, allocations: 7.938 kB / 0.5349 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.3798, allocations: 11.84 kB / 0.5349 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3798, allocations: 12 kB / 0.5349 GB, free: 3.133 MB / 362.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 () * Number of clocked 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 0.0001204/0.3799, allocations: 121.8 kB / 0.535 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/0.3807, allocations: 253.8 kB / 0.5353 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.3808, allocations: 49.67 kB / 0.5353 GB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3808, allocations: 7.953 kB / 0.5353 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3808, allocations: 3.984 kB / 0.5353 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3809, allocations: 0 / 0.5353 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3811, allocations: 185.6 kB / 0.5355 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3811, allocations: 0 / 0.5355 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3814, allocations: 55.92 kB / 0.5356 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3814, allocations: 4 kB / 0.5356 GB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3814, allocations: 4 kB / 0.5356 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3814, allocations: 4 kB / 0.5356 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3814, allocations: 3.953 kB / 0.5356 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.3823, allocations: 460.3 kB / 0.536 GB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.3823, allocations: 92.91 kB / 0.5361 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3824, allocations: 4 kB / 0.5361 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.3826, allocations: 31.97 kB / 0.5361 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3826, allocations: 3.938 kB / 0.5361 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3826, allocations: 8 kB / 0.5362 GB, free: 1.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.382e-05/0.3827, allocations: 87.28 kB / 0.5362 GB, free: 1.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3827, allocations: 0 / 0.5362 GB, free: 1.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.383, allocations: 20 kB / 0.5363 GB, free: 1.641 MB / 362.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 () * Number of clocked 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.001325/0.3843, allocations: 1.133 MB / 0.5374 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.3848, allocations: 160.4 kB / 0.5375 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3848, allocations: 0 / 0.5375 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.3849, allocations: 11.98 kB / 0.5375 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.3854, allocations: 136.1 kB / 0.5377 GB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.3888, allocations: 2.579 MB / 0.5402 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.3892, allocations: 0.7045 MB / 0.5409 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.3893, allocations: 8.422 kB / 0.5409 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.3894, allocations: 27.38 kB / 0.5409 GB, free: 12.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3894, allocations: 0 / 0.5409 GB, free: 12.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.4052, allocations: 1.84 MB / 0.5427 GB, free: 10.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.4056, allocations: 157.3 kB / 0.5428 GB, free: 10.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.102, allocations: 0 / 0.5428 GB, free: 10.72 MB / 378.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)