Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter",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.0008307/0.0008307, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008902/0.0008903, allocations: 168.7 kB / 15.95 MB, free: 204 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.388/1.388, allocations: 223.2 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.2256/0.2256, allocations: 14.18 MB / 305.3 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 8 kB / 371.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 53.91 MB / 425.7 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.00194/0.3241, allocations: 1.673 MB / 427.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3252, allocations: 0.7794 MB / 428.2 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3253, allocations: 6.812 kB / 428.2 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.3256, allocations: 42.45 kB / 428.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3258, allocations: 59.19 kB / 428.3 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.3262, allocations: 169.9 kB / 428.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.3265, allocations: 262.5 kB / 428.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3266, allocations: 60.3 kB / 428.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.3267, allocations: 96.03 kB / 428.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3269, allocations: 119.2 kB / 429 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3269, allocations: 8.875 kB / 429 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.327, allocations: 83.58 kB / 429.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.3271, allocations: 44.84 kB / 429.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.3272, allocations: 64.14 kB / 429.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.3274, allocations: 224.2 kB / 429.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3274, allocations: 2.75 kB / 429.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3274, allocations: 0 / 429.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3274, allocations: 0.9062 kB / 429.4 MB, free: 38.27 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006619/0.3281, allocations: 0.5791 MB / 430 MB, free: 37.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3281, allocations: 13.38 kB / 430 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.3282, allocations: 48.34 kB / 430 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.3282, allocations: 33.22 kB / 430.1 MB, free: 37.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3285, allocations: 292.4 kB / 430.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3285, allocations: 14.16 kB / 430.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.3286, allocations: 20.94 kB / 430.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.3291, allocations: 315.2 kB / 430.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3291, allocations: 0 / 430.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.3291, allocations: 14.52 kB / 430.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3292, allocations: 13.66 kB / 430.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.3297, allocations: 256.7 kB / 431 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3308, allocations: 0.9805 MB / 431.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.3315, allocations: 345.7 kB / 432.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.3318, allocations: 167 kB / 432.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3318, allocations: 12.17 kB / 432.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.3323, allocations: 252.2 kB / 432.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.3323, allocations: 0 / 432.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001017/0.3333, allocations: 0.5278 MB / 433.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3334, allocations: 157 kB / 433.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3336, allocations: 252.9 kB / 433.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3337, allocations: 35.83 kB / 433.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.3338, allocations: 160.3 kB / 433.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3338, allocations: 71.41 kB / 433.9 MB, free: 36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.3338, allocations: 6.188 kB / 433.9 MB, free: 36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3339, allocations: 336.3 kB / 434.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.3342, allocations: 141.7 kB / 434.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.3345, allocations: 211.4 kB / 434.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3348, allocations: 163.1 kB / 434.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3348, allocations: 6.656 kB / 434.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00159/0.3364, allocations: 0.7841 MB / 435.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/0.3365, allocations: 163.3 kB / 435.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3365, allocations: 2.531 kB / 435.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.337, allocations: 191.9 kB / 435.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.3372, allocations: 40.05 kB / 435.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.3412, allocations: 3.817 MB / 439.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.3415, allocations: 51.38 kB / 439.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.3415, allocations: 11.47 kB / 439.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.3415, allocations: 7.281 kB / 439.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005005/0.342, allocations: 300.7 kB / 440.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.342, allocations: 3.344 kB / 440.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.3421, allocations: 3.219 kB / 440.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3423, allocations: 55.83 kB / 440.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.3423, allocations: 4.156 kB / 440.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3424, allocations: 35.58 kB / 440.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3425, allocations: 6.531 kB / 440.2 MB, free: 32.37 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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.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): 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.3426, allocations: 264.8 kB / 440.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.3427, allocations: 29.42 kB / 440.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.3427, allocations: 28.66 kB / 440.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3428, allocations: 3.281 kB / 440.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3428, allocations: 4 kB / 440.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3428, allocations: 3.953 kB / 440.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.343, allocations: 340 kB / 440.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.343, allocations: 0 / 440.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3433, allocations: 66.67 kB / 440.9 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3433, allocations: 4 kB / 440.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3433, allocations: 10.75 kB / 440.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3433, allocations: 3.469 kB / 440.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3433, allocations: 0 / 440.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.3443, allocations: 0.6108 MB / 441.5 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.3444, allocations: 107.4 kB / 441.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.3444, allocations: 7.312 kB / 441.7 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3446, allocations: 36.61 kB / 441.7 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.3447, allocations: 35.27 kB / 441.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3447, allocations: 10.66 kB / 441.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3448, allocations: 180.9 kB / 441.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3448, allocations: 0 / 441.9 MB, free: 31.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.3454, allocations: 109.1 kB / 442 MB, free: 31.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (17): * Single equations (assignments): 16 * 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.0013/0.3467, allocations: 1.189 MB / 443.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3481, allocations: 0.9445 MB / 444.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3481, allocations: 0 / 444.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.3485, allocations: 252.1 kB / 444.4 MB, free: 29.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3488, allocations: 57.38 kB / 444.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.3522, allocations: 2.152 MB / 446.6 MB, free: 28.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.3524, allocations: 0.7576 MB / 447.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.3526, allocations: 34.3 kB / 447.4 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3527, allocations: 74.77 kB / 447.5 MB, free: 28.12 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3527, allocations: 0 / 447.5 MB, free: 28.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.3748, allocations: 7.194 MB / 454.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.375, allocations: 232.6 kB / 454.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.082, allocations: 1.828 kB / 454.9 MB, free: 27.27 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestFirstOrderWithNonWindupLimiter.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)