Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter",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.001235/0.001235, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001509/0.001509, allocations: 177.3 kB / 15.95 MB, free: 216 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.378/1.378, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1914/0.1914, allocations: 14.18 MB / 305.2 MB, free: 1.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.000323, allocations: 12 kB / 371.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2813, allocations: 53.9 MB / 425.6 MB, free: 38.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.002058/0.2835, allocations: 1.779 MB / 427.4 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2845, allocations: 0.8099 MB / 428.2 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2847, allocations: 6.938 kB / 428.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.2848, allocations: 44.98 kB / 428.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.285, allocations: 85.86 kB / 428.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.2855, allocations: 200.3 kB / 428.5 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.2858, allocations: 220.1 kB / 428.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2859, allocations: 79.44 kB / 428.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.286, allocations: 113.3 kB / 428.9 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2862, allocations: 121.1 kB / 429 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2862, allocations: 8.688 kB / 429 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.2863, allocations: 70.97 kB / 429.1 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.2864, allocations: 46.58 kB / 429.2 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.2864, allocations: 70.28 kB / 429.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2866, allocations: 249.1 kB / 429.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2866, allocations: 0.9688 kB / 429.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2867, allocations: 0 / 429.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.2867, allocations: 1.25 kB / 429.5 MB, free: 38.55 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006401/0.2873, allocations: 0.6042 MB / 430.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2873, allocations: 9.156 kB / 430.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.2874, allocations: 51.83 kB / 430.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.2875, allocations: 39.09 kB / 430.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.2877, allocations: 322.9 kB / 430.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2878, allocations: 15.31 kB / 430.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.2878, allocations: 19.25 kB / 430.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.2883, allocations: 302.8 kB / 430.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2883, allocations: 0 / 430.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.2884, allocations: 11.89 kB / 430.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2884, allocations: 5.094 kB / 430.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.289, allocations: 237.1 kB / 431.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.29, allocations: 0.849 MB / 431.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.2909, allocations: 377.4 kB / 432.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.291, allocations: 2.938 kB / 432.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.2914, allocations: 252.7 kB / 432.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2914, allocations: 3.938 kB / 432.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001009/0.2924, allocations: 0.5584 MB / 433.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2924, allocations: 218.4 kB / 433.3 MB, free: 36.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2926, allocations: 268.7 kB / 433.6 MB, free: 36.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2927, allocations: 32.23 kB / 433.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.2927, allocations: 180.5 kB / 433.8 MB, free: 36.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.2928, allocations: 62.56 kB / 433.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.2928, allocations: 7.781 kB / 433.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.2929, allocations: 335.4 kB / 434.2 MB, free: 36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.2932, allocations: 116.6 kB / 434.3 MB, free: 36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.2935, allocations: 198.4 kB / 434.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2938, allocations: 152.5 kB / 434.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2938, allocations: 3.062 kB / 434.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007003/0.2945, allocations: 409.7 kB / 435 MB, free: 35.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/0.2946, allocations: 405.8 kB / 435.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2946, allocations: 0 / 435.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2946, allocations: 2.844 kB / 435.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2948, allocations: 54.94 kB / 435.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2949, allocations: 4.219 kB / 435.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.2951, allocations: 55.2 kB / 435.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.2951, allocations: 7.219 kB / 435.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.2951, allocations: 3.188 kB / 435.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004401/0.2956, allocations: 282.3 kB / 435.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.2956, allocations: 3.062 kB / 435.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-06/0.2956, allocations: 0 / 435.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2957, allocations: 39.33 kB / 435.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.2957, allocations: 4.094 kB / 435.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.2959, allocations: 27.91 kB / 435.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2959, allocations: 13.22 kB / 435.9 MB, free: 35.23 MB / 350.1 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.000137/0.296, allocations: 253.8 kB / 436.2 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.2961, allocations: 33.02 kB / 436.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2961, allocations: 30.06 kB / 436.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.2962, allocations: 2.906 kB / 436.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2962, allocations: 4 kB / 436.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2962, allocations: 0 / 436.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2964, allocations: 344.2 kB / 436.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2964, allocations: 7.891 kB / 436.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2966, allocations: 51.38 kB / 436.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2966, allocations: 2.406 kB / 436.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.2967, allocations: 6.078 kB / 436.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2967, allocations: 10.41 kB / 436.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2967, allocations: 0 / 436.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.2977, allocations: 0.616 MB / 437.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.2977, allocations: 98.45 kB / 437.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.2978, allocations: 14.31 kB / 437.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.298, allocations: 38.45 kB / 437.4 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.298, allocations: 16.2 kB / 437.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.2981, allocations: 5.688 kB / 437.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.2982, allocations: 197.5 kB / 437.6 MB, free: 34.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2982, allocations: 4 kB / 437.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.2986, allocations: 113.3 kB / 437.7 MB, free: 34.14 MB / 350.1 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.001182/0.2998, allocations: 1.321 MB / 439.1 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.3006, allocations: 0.5527 MB / 439.6 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3006, allocations: 0 / 439.6 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.301, allocations: 236.8 kB / 439.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3013, allocations: 57.02 kB / 439.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.3038, allocations: 2.325 MB / 442.2 MB, free: 31.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.304, allocations: 0.7768 MB / 443 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.3042, allocations: 36.08 kB / 443 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3043, allocations: 92.55 kB / 443.1 MB, free: 30.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3043, allocations: 0 / 443.1 MB, free: 30.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.3228, allocations: 6.334 MB / 449.5 MB, free: 30.08 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.323, allocations: 191.6 kB / 449.7 MB, free: 29.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.896, allocations: 0 / 449.7 MB, free: 29.83 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestPIWithNonWindupLimiter.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)