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: translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008761, allocations: 99.62 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.0009227/0.0009227, 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.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1783/0.1783, allocations: 14.22 MB / 305.2 MB, free: 1.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 8 kB / 371.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3368, allocations: 53.91 MB / 425.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.001817/0.3386, allocations: 1.669 MB / 427.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3398, allocations: 0.754 MB / 428 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.34, allocations: 8.531 kB / 428 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3401, allocations: 41.33 kB / 428 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.3403, allocations: 76.83 kB / 428.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.3407, allocations: 170.3 kB / 428.2 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.3409, allocations: 173.9 kB / 428.4 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.341, allocations: 60.28 kB / 428.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.3411, allocations: 98.75 kB / 428.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3413, allocations: 118.7 kB / 428.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3413, allocations: 10.38 kB / 428.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3414, allocations: 70.02 kB / 428.8 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.3415, allocations: 43.34 kB / 428.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.3415, allocations: 68.31 kB / 428.9 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3417, allocations: 229.9 kB / 429.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.3417, allocations: 0 / 429.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3417, allocations: 0 / 429.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3417, allocations: 0.7812 kB / 429.1 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000666/0.3424, allocations: 0.5789 MB / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3424, allocations: 8.25 kB / 429.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.3425, allocations: 34.31 kB / 429.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3428, allocations: 296.3 kB / 430 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3428, allocations: 14.88 kB / 430 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.3428, allocations: 17.56 kB / 430 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.3434, allocations: 316.5 kB / 430.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3434, allocations: 0 / 430.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3434, allocations: 10.52 kB / 430.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3435, allocations: 5.531 kB / 430.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.3441, allocations: 267.3 kB / 430.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.345, allocations: 0.9773 MB / 431.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.3458, allocations: 345.4 kB / 431.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3458, allocations: 1.5 kB / 431.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000458/0.3463, allocations: 260.5 kB / 432.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.3463, allocations: 0 / 432.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001121/0.3474, allocations: 0.6044 MB / 432.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3475, allocations: 162.8 kB / 433 MB, free: 36.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3477, allocations: 250.3 kB / 433.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3477, allocations: 32.2 kB / 433.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.3478, allocations: 161.6 kB / 433.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3479, allocations: 68.22 kB / 433.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.3479, allocations: 6.375 kB / 433.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.348, allocations: 343.9 kB / 433.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.3483, allocations: 131.8 kB / 433.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.3486, allocations: 216.4 kB / 434.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.349, allocations: 170.6 kB / 434.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.349, allocations: 0 / 434.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001759/0.3507, allocations: 0.786 MB / 435.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.3509, allocations: 0.5599 MB / 435.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3509, allocations: 3 kB / 435.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/0.3514, allocations: 190.1 kB / 435.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.3516, allocations: 41.62 kB / 435.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.356, allocations: 3.899 MB / 439.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3563, allocations: 58 kB / 439.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3563, allocations: 6.438 kB / 439.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.445e-06/0.3563, allocations: 7.219 kB / 439.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000446/0.3568, allocations: 301.8 kB / 440.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.3568, allocations: 0 / 440.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.3568, allocations: 3.062 kB / 440.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.357, allocations: 62.11 kB / 440.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.357, allocations: 7.312 kB / 440.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3572, allocations: 27.38 kB / 440.2 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3572, allocations: 6.656 kB / 440.3 MB, free: 32.14 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.0001856/0.3574, allocations: 263.9 kB / 440.5 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3574, allocations: 30.91 kB / 440.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.3575, allocations: 25.7 kB / 440.6 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3575, allocations: 6.188 kB / 440.6 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3575, allocations: 4 kB / 440.6 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3575, allocations: 0 / 440.6 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3578, allocations: 333 kB / 440.9 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3578, allocations: 3.438 kB / 440.9 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.3581, allocations: 67.5 kB / 441 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3581, allocations: 7.469 kB / 441 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3581, allocations: 10.97 kB / 441 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3581, allocations: 0 / 441 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3582, allocations: 3.281 kB / 441 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3593, allocations: 0.6233 MB / 441.6 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3594, allocations: 102.7 kB / 441.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3594, allocations: 2.906 kB / 441.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3596, allocations: 46.17 kB / 441.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.3597, allocations: 27.34 kB / 441.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.3597, allocations: 10.31 kB / 441.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3599, allocations: 184.7 kB / 442 MB, free: 31.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3599, allocations: 3.938 kB / 442 MB, free: 31.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.3604, allocations: 109 kB / 442.1 MB, free: 31.08 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.0001788/0.3606, allocations: 128.5 kB / 442.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3622, allocations: 0.9514 MB / 443.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3622, allocations: 0 / 443.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.3626, allocations: 254.7 kB / 443.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.3629, allocations: 49.17 kB / 443.5 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.3637, allocations: 0.597 MB / 444.1 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.3639, allocations: 0.7644 MB / 444.8 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.3641, allocations: 32.47 kB / 444.9 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.3641, allocations: 20.84 kB / 444.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3641, allocations: 3.188 kB / 444.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of Templates: time 0.007541/0.3717, allocations: 4.591 MB / 449.5 MB, free: 28.84 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (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 & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)