Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001249/0.001249, allocations: 103.6 kB / 16.97 MB, free: 6.168 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.00133/0.00133, allocations: 186.3 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06026/0.06026, allocations: 14.17 MB / 285.3 MB, free: 13.92 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.84 kB / 348.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 50.12 MB / 398.7 MB, free: 48.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002643/0.2295, allocations: 1.871 MB / 400.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2307, allocations: 0.8136 MB / 401.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2309, allocations: 7.812 kB / 401.4 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.2311, allocations: 52.44 kB / 401.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2313, allocations: 65.12 kB / 401.5 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.2319, allocations: 231.3 kB / 401.7 MB, free: 46.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.2322, allocations: 250.2 kB / 402 MB, free: 46.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2323, allocations: 47.09 kB / 402 MB, free: 46.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2324, allocations: 109.4 kB / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.2326, allocations: 121.2 kB / 402.3 MB, free: 46.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.2326, allocations: 18.97 kB / 402.3 MB, free: 46.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2328, allocations: 92.98 kB / 402.4 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.2329, allocations: 48.81 kB / 402.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.233, allocations: 98.7 kB / 402.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.2332, allocations: 267.3 kB / 402.8 MB, free: 45.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2333, allocations: 7.984 kB / 402.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2333, allocations: 1.031 kB / 402.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2333, allocations: 0 / 402.8 MB, free: 45.78 MB / 318.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.0008028/0.2341, allocations: 0.571 MB / 403.4 MB, free: 45.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2341, allocations: 16.55 kB / 403.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.2342, allocations: 25.97 kB / 403.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.2345, allocations: 287.2 kB / 403.7 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2345, allocations: 9.75 kB / 403.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2346, allocations: 7.844 kB / 403.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.2351, allocations: 267.4 kB / 404 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2351, allocations: 3.938 kB / 404 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.2352, allocations: 6.344 kB / 404 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2352, allocations: 7.469 kB / 404 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.2359, allocations: 218.1 kB / 404.2 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.2368, allocations: 0.8662 MB / 405.1 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.2376, allocations: 282 kB / 405.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.2379, allocations: 140.1 kB / 405.5 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.238, allocations: 6.953 kB / 405.5 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.2385, allocations: 237.3 kB / 405.7 MB, free: 43.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.2385, allocations: 0 / 405.7 MB, free: 43.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001215/0.2397, allocations: 484.1 kB / 406.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2398, allocations: 158.6 kB / 406.3 MB, free: 43.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.24, allocations: 240.9 kB / 406.6 MB, free: 42.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.24, allocations: 30.86 kB / 406.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.2401, allocations: 143.8 kB / 406.7 MB, free: 42.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2401, allocations: 49.48 kB / 406.8 MB, free: 42.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.2402, allocations: 47.69 kB / 406.8 MB, free: 42.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.2403, allocations: 337.5 kB / 407.2 MB, free: 42.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.2406, allocations: 126.9 kB / 407.3 MB, free: 42.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.241, allocations: 192.3 kB / 407.5 MB, free: 42.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.2417, allocations: 331.5 kB / 407.8 MB, free: 41.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2417, allocations: 0 / 407.8 MB, free: 41.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008816/0.2426, allocations: 412.8 kB / 408.2 MB, free: 41.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2427, allocations: 41.44 kB / 408.2 MB, free: 41.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2427, allocations: 8.938 kB / 408.3 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2427, allocations: 2.281 kB / 408.3 MB, free: 41.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.243, allocations: 60.11 kB / 408.3 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.243, allocations: 4 kB / 408.3 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.2432, allocations: 51.73 kB / 408.4 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2433, allocations: 8 kB / 408.4 MB, free: 41.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001692/0.2434, allocations: 164.1 kB / 408.5 MB, free: 41.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.2436, allocations: 128.5 kB / 408.7 MB, free: 41.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002343/0.2438, allocations: 252.6 kB / 408.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2438, allocations: 0 / 408.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003689/0.2442, allocations: 290.9 kB / 409.2 MB, free: 40.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2442, allocations: 41.69 kB / 409.2 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.2443, allocations: 0 / 409.2 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-06/0.2443, allocations: 7.938 kB / 409.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.2444, allocations: 31.92 kB / 409.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2444, allocations: 7.984 kB / 409.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.2445, allocations: 19.91 kB / 409.3 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2446, allocations: 12.14 kB / 409.3 MB, free: 40.5 MB / 318.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 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.2447, allocations: 234.9 kB / 409.5 MB, free: 40.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.2447, allocations: 19.81 kB / 409.6 MB, free: 40.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.2448, allocations: 37.7 kB / 409.6 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2448, allocations: 4 kB / 409.6 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2448, allocations: 0 / 409.6 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2448, allocations: 0 / 409.6 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.245, allocations: 289.4 kB / 409.9 MB, free: 39.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.245, allocations: 4 kB / 409.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.2453, allocations: 47.95 kB / 409.9 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2453, allocations: 0 / 409.9 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2453, allocations: 7.938 kB / 409.9 MB, free: 39.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2453, allocations: 7.984 kB / 409.9 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2453, allocations: 0 / 409.9 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.2496, allocations: 3.133 MB / 413.1 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.2497, allocations: 100.7 kB / 413.2 MB, free: 36.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.2497, allocations: 8 kB / 413.2 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2499, allocations: 39.89 kB / 413.2 MB, free: 36.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.25, allocations: 28.03 kB / 413.3 MB, free: 36.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.25, allocations: 12 kB / 413.3 MB, free: 36.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.2502, allocations: 176.5 kB / 413.4 MB, free: 36.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2502, allocations: 0 / 413.4 MB, free: 36.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.2507, allocations: 128 kB / 413.6 MB, free: 36 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.2509, allocations: 131.3 kB / 413.7 MB, free: 35.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009232/0.2518, allocations: 0.5532 MB / 414.2 MB, free: 35.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2519, allocations: 0 / 414.2 MB, free: 35.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2522, allocations: 227.8 kB / 414.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2525, allocations: 57.08 kB / 414.5 MB, free: 35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.2535, allocations: 0.7058 MB / 415.2 MB, free: 34.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2536, allocations: 0.7518 MB / 416 MB, free: 33.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.2537, allocations: 23.44 kB / 416 MB, free: 33.43 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2537, allocations: 4 kB / 416 MB, free: 33.43 MB / 318.1 MB Notification: Performance of Templates: time 0.004211/0.2579, allocations: 3.361 MB / 419.4 MB, free: 30.07 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)