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.000881/0.000881, allocations: 99 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.0009188/0.0009189, allocations: 177.3 kB / 15.94 MB, free: 228 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1973/0.1973, allocations: 14.18 MB / 305.2 MB, free: 1.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004989, allocations: 8 kB / 371.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3046, allocations: 53.9 MB / 425.6 MB, free: 38.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001569/0.3063, allocations: 1.525 MB / 427.1 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.3072, allocations: 0.7171 MB / 427.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.3073, allocations: 7.469 kB / 427.8 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.3074, allocations: 34.69 kB / 427.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3075, allocations: 56.17 kB / 427.9 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.308, allocations: 159.7 kB / 428.1 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3082, allocations: 152.3 kB / 428.2 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3084, allocations: 35.2 kB / 428.3 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.3085, allocations: 87.09 kB / 428.4 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3086, allocations: 90.06 kB / 428.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3086, allocations: 11.69 kB / 428.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3088, allocations: 73.66 kB / 428.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3088, allocations: 31.31 kB / 428.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.3089, allocations: 58.61 kB / 428.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3091, allocations: 179.8 kB / 428.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3091, allocations: 0.9375 kB / 428.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3091, allocations: 1.031 kB / 428.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3091, allocations: 0.7812 kB / 428.8 MB, free: 38.29 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.0007228/0.3098, allocations: 0.5584 MB / 429.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3099, allocations: 9.375 kB / 429.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.3099, allocations: 46.38 kB / 429.4 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.31, allocations: 24.47 kB / 429.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3102, allocations: 271.8 kB / 429.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3103, allocations: 9.188 kB / 429.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3103, allocations: 11.81 kB / 429.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.3109, allocations: 280.7 kB / 430 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3109, allocations: 0 / 430 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3109, allocations: 11.02 kB / 430 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3109, allocations: 2.969 kB / 430 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.3116, allocations: 266.1 kB / 430.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.3125, allocations: 0.8856 MB / 431.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.3133, allocations: 323.1 kB / 431.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3133, allocations: 3 kB / 431.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.3138, allocations: 239.6 kB / 431.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.325e-06/0.3138, allocations: 1.547 kB / 431.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001285/0.3151, allocations: 0.5995 MB / 432.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3152, allocations: 160.8 kB / 432.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3154, allocations: 241.7 kB / 432.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3154, allocations: 30.39 kB / 432.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.3155, allocations: 144.9 kB / 432.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3155, allocations: 49 kB / 432.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.3156, allocations: 5.156 kB / 432.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.3156, allocations: 343.7 kB / 433.3 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.316, allocations: 137.9 kB / 433.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3164, allocations: 199.3 kB / 433.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3167, allocations: 171.4 kB / 433.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3168, allocations: 2.969 kB / 433.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00083/0.3176, allocations: 432.9 kB / 434.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.3177, allocations: 0.5701 MB / 434.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3177, allocations: 6.984 kB / 434.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3178, allocations: 7.672 kB / 434.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3181, allocations: 66.55 kB / 434.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3181, allocations: 4.625 kB / 434.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3183, allocations: 51.33 kB / 434.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3183, allocations: 11.19 kB / 434.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.3184, allocations: 2.969 kB / 434.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003791/0.3187, allocations: 271.3 kB / 435.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.3187, allocations: 0 / 435.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-06/0.3188, allocations: 2.844 kB / 435.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.3189, allocations: 35.69 kB / 435.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.3189, allocations: 4.156 kB / 435.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.319, allocations: 19 kB / 435.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3191, allocations: 10.09 kB / 435.2 MB, free: 34.82 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.0001391/0.3192, allocations: 258.6 kB / 435.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.3193, allocations: 23.47 kB / 435.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.3193, allocations: 27.11 kB / 435.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3193, allocations: 3 kB / 435.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3193, allocations: 0 / 435.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3193, allocations: 7.781 kB / 435.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3195, allocations: 293.2 kB / 435.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3195, allocations: 0 / 435.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3198, allocations: 61.33 kB / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3198, allocations: 4 kB / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3199, allocations: 9.766 kB / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3199, allocations: 2.906 kB / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3199, allocations: 0 / 435.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3211, allocations: 0.6097 MB / 436.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.3211, allocations: 104.1 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3212, allocations: 6.094 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3214, allocations: 42.38 kB / 436.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.3215, allocations: 33.61 kB / 436.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.3215, allocations: 9.75 kB / 436.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3216, allocations: 170.2 kB / 436.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3216, allocations: 0 / 436.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000389/0.322, allocations: 79.78 kB / 436.9 MB, free: 34.01 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.001487/0.3235, allocations: 1.256 MB / 438.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3246, allocations: 0.5765 MB / 438.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3246, allocations: 4.062 kB / 438.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.325, allocations: 242.5 kB / 439 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3253, allocations: 42.34 kB / 439.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3283, allocations: 2.429 MB / 441.5 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3284, allocations: 0.7503 MB / 442.2 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3286, allocations: 25.33 kB / 442.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.3287, allocations: 59.95 kB / 442.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3287, allocations: 0 / 442.3 MB, free: 30.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.3434, allocations: 5.664 MB / 448 MB, free: 30.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.3436, allocations: 193.1 kB / 448.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.933, allocations: 2.875 kB / 448.2 MB, free: 30.16 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)