Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.conf.json 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/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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009665, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009248/0.0009251, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1776/0.1776, allocations: 14.18 MB / 305.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005318, allocations: 8 kB / 371.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3212, allocations: 53.91 MB / 425.7 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001672/0.3229, allocations: 1.524 MB / 427.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3239, allocations: 0.7316 MB / 428 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.324, allocations: 6.719 kB / 428 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3242, allocations: 44.72 kB / 428 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.3243, allocations: 45.88 kB / 428.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3247, allocations: 166.3 kB / 428.2 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.325, allocations: 205.9 kB / 428.4 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.3251, allocations: 34.17 kB / 428.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.3252, allocations: 85.88 kB / 428.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3253, allocations: 101.8 kB / 428.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3253, allocations: 8.781 kB / 428.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3254, allocations: 72.06 kB / 428.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.3255, allocations: 35.64 kB / 428.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3256, allocations: 59.02 kB / 428.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3257, allocations: 180.8 kB / 429 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3257, allocations: 0.9375 kB / 429 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3258, allocations: 0.5625 kB / 429 MB, free: 38.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3258, allocations: 0 / 429 MB, free: 38.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006634/0.3264, allocations: 0.556 MB / 429.5 MB, free: 38.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3265, allocations: 19.14 kB / 429.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.3265, allocations: 39.38 kB / 429.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.3266, allocations: 23.25 kB / 429.6 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3268, allocations: 282.9 kB / 429.9 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3269, allocations: 8.719 kB / 429.9 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.3269, allocations: 11.91 kB / 429.9 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.3275, allocations: 283.1 kB / 430.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3275, allocations: 0 / 430.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3275, allocations: 10.14 kB / 430.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3275, allocations: 3.188 kB / 430.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.3282, allocations: 255.3 kB / 430.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.3291, allocations: 0.8867 MB / 431.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.3298, allocations: 319.5 kB / 431.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.3301, allocations: 156.2 kB / 431.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3301, allocations: 3 kB / 431.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.3306, allocations: 244.2 kB / 432.1 MB, free: 37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.3306, allocations: 4 kB / 432.1 MB, free: 37 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001187/0.3318, allocations: 0.5232 MB / 432.6 MB, free: 36.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3319, allocations: 159.9 kB / 432.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.3321, allocations: 244.3 kB / 433 MB, free: 36.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3321, allocations: 30.61 kB / 433 MB, free: 36.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3322, allocations: 141.9 kB / 433.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.3323, allocations: 51.47 kB / 433.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.3323, allocations: 5.156 kB / 433.2 MB, free: 36.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.3324, allocations: 329.6 kB / 433.5 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.3327, allocations: 140.1 kB / 433.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3331, allocations: 201.6 kB / 433.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3334, allocations: 168.7 kB / 434 MB, free: 36.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3334, allocations: 0 / 434 MB, free: 36.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007701/0.3342, allocations: 437.6 kB / 434.4 MB, free: 35.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.3343, allocations: 166.1 kB / 434.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3343, allocations: 4.125 kB / 434.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3343, allocations: 2.906 kB / 434.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3346, allocations: 67.92 kB / 434.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3346, allocations: 2.844 kB / 434.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3348, allocations: 53.89 kB / 434.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.3349, allocations: 8.25 kB / 434.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.3349, allocations: 5.875 kB / 434.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003534/0.3352, allocations: 273 kB / 435 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.3352, allocations: 1.016 kB / 435 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.3352, allocations: 3 kB / 435 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3354, allocations: 32.23 kB / 435.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.3354, allocations: 2.938 kB / 435.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3355, allocations: 19.52 kB / 435.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3355, allocations: 13.75 kB / 435.1 MB, free: 35.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001493/0.3357, allocations: 263 kB / 435.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.3357, allocations: 25.66 kB / 435.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.3358, allocations: 32.44 kB / 435.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3358, allocations: 0 / 435.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3358, allocations: 2.906 kB / 435.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3358, allocations: 0 / 435.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3361, allocations: 293.9 kB / 435.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3361, allocations: 0 / 435.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3363, allocations: 65.88 kB / 435.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3364, allocations: 0 / 435.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3364, allocations: 5.875 kB / 435.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.3364, allocations: 0 / 435.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3364, allocations: 4 kB / 435.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3375, allocations: 0.5997 MB / 436.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3376, allocations: 98.42 kB / 436.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.3376, allocations: 6.531 kB / 436.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3378, allocations: 48.61 kB / 436.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3379, allocations: 32.05 kB / 436.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.338, allocations: 4.969 kB / 436.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3381, allocations: 171.8 kB / 436.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 4 kB / 436.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.3385, allocations: 87.48 kB / 436.8 MB, free: 34.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.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 (11): * Single equations (assignments): 10 * 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.001475/0.34, allocations: 1.172 MB / 438 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.341, allocations: 0.5712 MB / 438.6 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.341, allocations: 0 / 438.6 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.3414, allocations: 247 kB / 438.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3418, allocations: 47.06 kB / 438.8 MB, free: 33.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3444, allocations: 1.684 MB / 440.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3445, allocations: 0.7448 MB / 441.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.3447, allocations: 25.55 kB / 441.3 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.3448, allocations: 62.45 kB / 441.4 MB, free: 32.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3448, allocations: 192 / 441.4 MB, free: 32.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.3602, allocations: 5.689 MB / 447 MB, free: 31.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.3604, allocations: 208.2 kB / 447.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.984, allocations: 0 / 447.2 MB, free: 31.62 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestIntegratorWithNonWindupLimiter.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)