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: translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 99.86 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.001474/0.001474, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2363/0.2363, allocations: 14.21 MB / 305.2 MB, free: 1.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 12 kB / 371.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 53.9 MB / 425.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.001741/0.3066, allocations: 1.526 MB / 427.1 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000958/0.3075, allocations: 0.7113 MB / 427.8 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3077, allocations: 6.875 kB / 427.8 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3078, allocations: 38.06 kB / 427.8 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3079, allocations: 56.28 kB / 427.9 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3084, allocations: 167.4 kB / 428 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3086, allocations: 140.7 kB / 428.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3087, allocations: 37.7 kB / 428.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.3088, allocations: 87.19 kB / 428.3 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3089, allocations: 97.62 kB / 428.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.309, allocations: 9.406 kB / 428.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3091, allocations: 72.56 kB / 428.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.3091, allocations: 38.77 kB / 428.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3092, allocations: 53.11 kB / 428.6 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3093, allocations: 179 kB / 428.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.3093, allocations: 1.25 kB / 428.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3093, allocations: 0 / 428.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.3094, allocations: 0 / 428.7 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.0007104/0.3101, allocations: 0.5524 MB / 429.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.3101, allocations: 10.41 kB / 429.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.3102, allocations: 25.72 kB / 429.3 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.3104, allocations: 276.9 kB / 429.6 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3105, allocations: 9.531 kB / 429.6 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3105, allocations: 15.69 kB / 429.6 MB, free: 38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.311, allocations: 273.6 kB / 429.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3111, allocations: 0 / 429.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3111, allocations: 10.77 kB / 429.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3111, allocations: 2.781 kB / 429.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.3118, allocations: 257.2 kB / 430.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.3127, allocations: 0.8887 MB / 431 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.3135, allocations: 331.8 kB / 431.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3135, allocations: 2.719 kB / 431.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.3141, allocations: 246 kB / 431.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3141, allocations: 0 / 431.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001272/0.3154, allocations: 0.5915 MB / 432.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3154, allocations: 161.1 kB / 432.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3156, allocations: 249.4 kB / 432.6 MB, free: 36.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3157, allocations: 28.55 kB / 432.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3158, allocations: 146 kB / 432.8 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3158, allocations: 50.39 kB / 432.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.3158, allocations: 2.188 kB / 432.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.3159, allocations: 332.6 kB / 433.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.3163, allocations: 139.8 kB / 433.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.3167, allocations: 203.9 kB / 433.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3171, allocations: 167.4 kB / 433.6 MB, free: 36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3171, allocations: 6.75 kB / 433.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000898/0.318, allocations: 436.6 kB / 434.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.3181, allocations: 0.5634 MB / 434.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3181, allocations: 0 / 434.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3182, allocations: 3.812 kB / 434.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3185, allocations: 73.81 kB / 434.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3185, allocations: 0.9375 kB / 434.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3187, allocations: 58.42 kB / 434.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3187, allocations: 6 kB / 434.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.3187, allocations: 5.875 kB / 434.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003709/0.3191, allocations: 267.7 kB / 435 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3191, allocations: 0 / 435 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.3192, allocations: 2.875 kB / 435 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3193, allocations: 32.5 kB / 435.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3193, allocations: 3.469 kB / 435.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3194, allocations: 25.16 kB / 435.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3195, allocations: 5.656 kB / 435.1 MB, free: 35.25 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.0001696/0.3196, allocations: 266.5 kB / 435.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.3197, allocations: 27.31 kB / 435.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.3198, allocations: 25.69 kB / 435.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3198, allocations: 2.938 kB / 435.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3198, allocations: 0 / 435.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3198, allocations: 0 / 435.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.32, allocations: 300.2 kB / 435.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.32, allocations: 0 / 435.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3203, allocations: 64.52 kB / 435.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3203, allocations: 1.031 kB / 435.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3204, allocations: 10.34 kB / 435.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3204, allocations: 3.531 kB / 435.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3204, allocations: 0 / 435.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.3216, allocations: 0.6097 MB / 436.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.3217, allocations: 104.8 kB / 436.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3217, allocations: 6.25 kB / 436.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3219, allocations: 48.41 kB / 436.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.322, allocations: 28.17 kB / 436.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3221, allocations: 13.12 kB / 436.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3222, allocations: 169.3 kB / 436.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3222, allocations: 0 / 436.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.3226, allocations: 84.22 kB / 436.8 MB, free: 34.42 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.0001722/0.3228, allocations: 131 kB / 437 MB, free: 34.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3238, allocations: 0.5679 MB / 437.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3239, allocations: 384 / 437.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.3243, allocations: 246.3 kB / 437.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3246, allocations: 50.72 kB / 437.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3256, allocations: 0.5404 MB / 438.4 MB, free: 33.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3258, allocations: 0.745 MB / 439.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.3259, allocations: 29.38 kB / 439.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.326, allocations: 20.25 kB / 439.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.326, allocations: 0 / 439.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006286/0.3323, allocations: 3.472 MB / 442.6 MB, free: 32.87 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (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 & ./PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)