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: translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, 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.001261/0.001261, 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.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1948/0.1948, allocations: 14.21 MB / 305.2 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 8 kB / 371.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3026, allocations: 53.9 MB / 425.5 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.002117/0.3047, allocations: 1.782 MB / 427.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.306, allocations: 0.8052 MB / 428.1 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.3061, allocations: 9.781 kB / 428.1 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.3063, allocations: 42.14 kB / 428.2 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.3064, allocations: 82.67 kB / 428.2 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.307, allocations: 198.8 kB / 428.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3073, allocations: 217.7 kB / 428.7 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3075, allocations: 87.28 kB / 428.7 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3076, allocations: 109.4 kB / 428.8 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3078, allocations: 118.2 kB / 429 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3078, allocations: 5.938 kB / 429 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3079, allocations: 76.05 kB / 429 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.308, allocations: 47.5 kB / 429.1 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.308, allocations: 74.47 kB / 429.2 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3082, allocations: 245.8 kB / 429.4 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.3083, allocations: 0.9688 kB / 429.4 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3083, allocations: 0 / 429.4 MB, free: 38.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3083, allocations: 0 / 429.4 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000663/0.3089, allocations: 0.6041 MB / 430 MB, free: 38.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.309, allocations: 9.281 kB / 430 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.309, allocations: 36.38 kB / 430 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3094, allocations: 306.9 kB / 430.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3094, allocations: 17.5 kB / 430.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.3094, allocations: 25.08 kB / 430.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.31, allocations: 306 kB / 430.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.31, allocations: 0 / 430.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3101, allocations: 13.61 kB / 430.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3101, allocations: 5.781 kB / 430.7 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.3107, allocations: 239.8 kB / 430.9 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3119, allocations: 0.8568 MB / 431.8 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.3128, allocations: 367.8 kB / 432.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3129, allocations: 6.891 kB / 432.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.3133, allocations: 254.6 kB / 432.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.3133, allocations: 4 kB / 432.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001086/0.3144, allocations: 0.5618 MB / 433 MB, free: 37.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3145, allocations: 212 kB / 433.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3147, allocations: 276.2 kB / 433.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3147, allocations: 32.05 kB / 433.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.3148, allocations: 173.1 kB / 433.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.3149, allocations: 60.42 kB / 433.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.3149, allocations: 5.281 kB / 433.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.315, allocations: 342.3 kB / 434.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3153, allocations: 118.5 kB / 434.2 MB, free: 36.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.3157, allocations: 195.2 kB / 434.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.316, allocations: 159.7 kB / 434.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.316, allocations: 0 / 434.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007399/0.3167, allocations: 411.9 kB / 434.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.675e-05/0.3169, allocations: 397.6 kB / 435.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3169, allocations: 0 / 435.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3169, allocations: 2.875 kB / 435.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3171, allocations: 61.45 kB / 435.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3171, allocations: 4.25 kB / 435.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3174, allocations: 49.12 kB / 435.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3174, allocations: 6.406 kB / 435.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.3174, allocations: 9.844 kB / 435.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004395/0.3179, allocations: 276.9 kB / 435.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3179, allocations: 2.906 kB / 435.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.3179, allocations: 0 / 435.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.318, allocations: 42.55 kB / 435.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-06/0.318, allocations: 0 / 435.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.3182, allocations: 33.06 kB / 435.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3182, allocations: 7.781 kB / 435.8 MB, free: 35.37 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.0001441/0.3184, allocations: 265.9 kB / 436.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3184, allocations: 30.17 kB / 436.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.3185, allocations: 30.28 kB / 436.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3185, allocations: 4 kB / 436.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3185, allocations: 0 / 436.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3185, allocations: 0 / 436.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.3188, allocations: 347.6 kB / 436.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3188, allocations: 0 / 436.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.319, allocations: 44.78 kB / 436.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.319, allocations: 6.234 kB / 436.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.319, allocations: 6.75 kB / 436.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.319, allocations: 3.094 kB / 436.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.319, allocations: 3.938 kB / 436.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3201, allocations: 0.6117 MB / 437.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3202, allocations: 104.8 kB / 437.2 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.3202, allocations: 17.62 kB / 437.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3204, allocations: 34.5 kB / 437.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3205, allocations: 16.97 kB / 437.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3205, allocations: 12.28 kB / 437.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3207, allocations: 194.9 kB / 437.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3207, allocations: 0 / 437.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3211, allocations: 113 kB / 437.6 MB, free: 34.27 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.0001649/0.3212, allocations: 139.7 kB / 437.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008977/0.3221, allocations: 0.5553 MB / 438.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3222, allocations: 384 / 438.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.3225, allocations: 233.6 kB / 438.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3228, allocations: 59.08 kB / 438.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.3238, allocations: 0.6711 MB / 439.3 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.324, allocations: 0.774 MB / 440 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3242, allocations: 39.39 kB / 440.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3242, allocations: 20.09 kB / 440.1 MB, free: 32.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3242, allocations: 0 / 440.1 MB, free: 32.65 MB / 350.1 MB Notification: Performance of Templates: time 0.006729/0.331, allocations: 3.689 MB / 443.8 MB, free: 32.34 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (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 & ./PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)