Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006832/0.006832, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 102.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05334/0.05334, allocations: 14.19 MB / 332 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 12.94 kB / 395.7 MB, free: 50.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08631, allocations: 51.13 MB / 446.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0938/0.1802, allocations: 79.63 MB / 0.5142 GB, free: 4.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.1804, allocations: 71.95 kB / 0.5142 GB, free: 4.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1765/0.3569, allocations: 6.643 MB / 0.5207 GB, free: 81.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3569, allocations: 0 / 0.5207 GB, free: 81.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.3569, allocations: 7.625 kB / 0.5207 GB, free: 81.89 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007895/0.3577, allocations: 0.6384 MB / 0.5213 GB, free: 81.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3578, allocations: 16.56 kB / 0.5214 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.3578, allocations: 52.23 kB / 0.5214 GB, free: 81.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.3579, allocations: 39.03 kB / 0.5214 GB, free: 81.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3584, allocations: 332.3 kB / 0.5218 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3584, allocations: 15.19 kB / 0.5218 GB, free: 81.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3585, allocations: 22.52 kB / 0.5218 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.359, allocations: 314 kB / 0.5221 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3591, allocations: 0.6562 kB / 0.5221 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3591, allocations: 13.36 kB / 0.5221 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3591, allocations: 3.906 kB / 0.5221 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.3597, allocations: 243 kB / 0.5223 GB, free: 81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3609, allocations: 0.9609 MB / 0.5233 GB, free: 80.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.3619, allocations: 379.3 kB / 0.5236 GB, free: 80.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.362, allocations: 4.031 kB / 0.5236 GB, free: 80.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.3624, allocations: 253.8 kB / 0.5239 GB, free: 80.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.3624, allocations: 1.062 kB / 0.5239 GB, free: 80.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00115/0.3636, allocations: 0.5999 MB / 0.5245 GB, free: 80.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3636, allocations: 223.2 kB / 0.5247 GB, free: 79.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3639, allocations: 249.5 kB / 0.5249 GB, free: 79.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3639, allocations: 32.02 kB / 0.525 GB, free: 79.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.364, allocations: 174 kB / 0.5251 GB, free: 79.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.3641, allocations: 69.84 kB / 0.5252 GB, free: 79.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.3641, allocations: 5.156 kB / 0.5252 GB, free: 79.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.3642, allocations: 340.2 kB / 0.5255 GB, free: 79.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3645, allocations: 129.7 kB / 0.5256 GB, free: 79.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.3648, allocations: 204.7 kB / 0.5258 GB, free: 79.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3651, allocations: 168.5 kB / 0.526 GB, free: 79.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3652, allocations: 0 / 0.526 GB, free: 79.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007763/0.3659, allocations: 428.6 kB / 0.5264 GB, free: 79.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/0.366, allocations: 396.8 kB / 0.5268 GB, free: 78.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.366, allocations: 2.031 kB / 0.5268 GB, free: 78.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3661, allocations: 8.953 kB / 0.5268 GB, free: 78.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3663, allocations: 58.48 kB / 0.5269 GB, free: 78.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3663, allocations: 2.062 kB / 0.5269 GB, free: 78.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3666, allocations: 49.17 kB / 0.5269 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.3666, allocations: 8.797 kB / 0.5269 GB, free: 78.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.3666, allocations: 4.281 kB / 0.5269 GB, free: 78.63 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005164/0.3671, allocations: 317.6 kB / 0.5272 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.3671, allocations: 0 / 0.5272 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.3672, allocations: 7.312 kB / 0.5272 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3673, allocations: 31.84 kB / 0.5273 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3673, allocations: 2.438 kB / 0.5273 GB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3675, allocations: 35.12 kB / 0.5273 GB, free: 78.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3675, allocations: 9.031 kB / 0.5273 GB, free: 78.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001469/0.3677, allocations: 271.5 kB / 0.5276 GB, free: 78.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.3677, allocations: 29.44 kB / 0.5276 GB, free: 78.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.3678, allocations: 34.36 kB / 0.5276 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3678, allocations: 2.5 kB / 0.5276 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3678, allocations: 1.672 kB / 0.5276 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3678, allocations: 1.781 kB / 0.5276 GB, free: 78.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3681, allocations: 358.5 kB / 0.528 GB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3681, allocations: 0 / 0.528 GB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3684, allocations: 48.84 kB / 0.528 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3684, allocations: 3.375 kB / 0.528 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3684, allocations: 9.719 kB / 0.528 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3684, allocations: 1.812 kB / 0.528 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3684, allocations: 3.469 kB / 0.528 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3695, allocations: 0.6485 MB / 0.5287 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3696, allocations: 109 kB / 0.5288 GB, free: 77.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3696, allocations: 10.91 kB / 0.5288 GB, free: 77.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3699, allocations: 37.91 kB / 0.5288 GB, free: 77.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.3699, allocations: 18.69 kB / 0.5288 GB, free: 77.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.37, allocations: 15.05 kB / 0.5288 GB, free: 77.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3701, allocations: 205.5 kB / 0.529 GB, free: 77.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3702, allocations: 0 / 0.529 GB, free: 77.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.3706, allocations: 119.4 kB / 0.5292 GB, free: 77.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.001352/0.3719, allocations: 1.328 MB / 0.5305 GB, free: 76.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.373, allocations: 0.557 MB / 0.531 GB, free: 76.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.373, allocations: 0 / 0.531 GB, free: 76.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.3733, allocations: 228.5 kB / 0.5312 GB, free: 76.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3737, allocations: 58.64 kB / 0.5313 GB, free: 76.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.3765, allocations: 2.37 MB / 0.5336 GB, free: 75.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.3767, allocations: 0.7756 MB / 0.5343 GB, free: 74.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.3768, allocations: 39.42 kB / 0.5344 GB, free: 74.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.377, allocations: 97.55 kB / 0.5345 GB, free: 74.78 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.377, allocations: 0 / 0.5345 GB, free: 74.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.3971, allocations: 6.523 MB / 0.5408 GB, free: 72.74 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.3973, allocations: 174.5 kB / 0.541 GB, free: 72.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.145, allocations: 0 / 0.541 GB, free: 72.5 MB / 362.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)