Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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 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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0016/0.0016, allocations: 103.1 kB / 16.97 MB, free: 5.828 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.001933/0.001933, allocations: 190.2 kB / 17.9 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.706/2.706, 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.1262/0.1262, allocations: 14.18 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.002614/0.002614, allocations: 59.91 kB / 348.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5215, allocations: 50.13 MB / 398.7 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.005501/0.5271, allocations: 2.03 MB / 400.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.5298, allocations: 0.8812 MB / 401.6 MB, free: 46.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.5302, allocations: 8.812 kB / 401.6 MB, free: 46.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.5305, allocations: 47.11 kB / 401.7 MB, free: 46.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.5309, allocations: 71.22 kB / 401.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.5321, allocations: 258.1 kB / 402 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.5328, allocations: 309.8 kB / 402.3 MB, free: 45.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.5331, allocations: 75.64 kB / 402.4 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.5333, allocations: 122.8 kB / 402.5 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.5336, allocations: 144.4 kB / 402.6 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.816e-05/0.5337, allocations: 32.69 kB / 402.7 MB, free: 45.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.534, allocations: 98.98 kB / 402.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.5342, allocations: 64.14 kB / 402.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.5344, allocations: 131.8 kB / 403 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.535, allocations: 334.1 kB / 403.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.535, allocations: 1.375 kB / 403.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.535, allocations: 0 / 403.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.535, allocations: 0 / 403.3 MB, free: 45.21 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001429/0.5365, allocations: 0.621 MB / 403.9 MB, free: 44.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5365, allocations: 9.469 kB / 403.9 MB, free: 44.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.5367, allocations: 37.72 kB / 404 MB, free: 44.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.5372, allocations: 304 kB / 404.3 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5373, allocations: 11.66 kB / 404.3 MB, free: 44.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.5374, allocations: 17.25 kB / 404.3 MB, free: 44.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5385, allocations: 307.8 kB / 404.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5386, allocations: 1.188 kB / 404.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.5386, allocations: 10.38 kB / 404.6 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5387, allocations: 4.625 kB / 404.6 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.5399, allocations: 223.9 kB / 404.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.5417, allocations: 0.9611 MB / 405.8 MB, free: 43.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5434, allocations: 303.1 kB / 406.1 MB, free: 42.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.5441, allocations: 143 kB / 406.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.5441, allocations: 6.422 kB / 406.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.5451, allocations: 240.5 kB / 406.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.936e-06/0.5452, allocations: 0 / 406.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.002393/0.5476, allocations: 491 kB / 406.9 MB, free: 42.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.5477, allocations: 161.6 kB / 407.1 MB, free: 42.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.5481, allocations: 265.8 kB / 407.4 MB, free: 42.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5482, allocations: 28.08 kB / 407.4 MB, free: 42.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5484, allocations: 162.1 kB / 407.5 MB, free: 41.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.935e-05/0.5485, allocations: 68.31 kB / 407.6 MB, free: 41.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.5487, allocations: 56.06 kB / 407.7 MB, free: 41.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.5488, allocations: 337.2 kB / 408 MB, free: 41.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.5495, allocations: 133.5 kB / 408.1 MB, free: 41.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/0.5543, allocations: 204.8 kB / 408.3 MB, free: 41.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5553, allocations: 340.2 kB / 408.7 MB, free: 41.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5554, allocations: 1.219 kB / 408.7 MB, free: 41.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002522/0.5579, allocations: 0.6687 MB / 409.3 MB, free: 40.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.558, allocations: 41.64 kB / 409.4 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.558, allocations: 4 kB / 409.4 MB, free: 40.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.5586, allocations: 121.7 kB / 409.5 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.559, allocations: 47.89 kB / 409.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.5658, allocations: 3.961 MB / 413.5 MB, free: 35.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.5665, allocations: 43.84 kB / 413.5 MB, free: 35.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.5665, allocations: 12 kB / 413.5 MB, free: 35.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005051/0.567, allocations: 184.1 kB / 413.7 MB, free: 35.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003389/0.5674, allocations: 140.6 kB / 413.9 MB, free: 35.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005734/0.568, allocations: 269.3 kB / 414.1 MB, free: 35.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/0.568, allocations: 0 / 414.1 MB, free: 35.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009152/0.5689, allocations: 322.9 kB / 414.4 MB, free: 34.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.569, allocations: 37.69 kB / 414.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.569, allocations: 4.156 kB / 414.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.5691, allocations: 4 kB / 414.5 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.5696, allocations: 59.95 kB / 414.5 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5696, allocations: 7.875 kB / 414.6 MB, free: 34.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.5699, allocations: 27.83 kB / 414.6 MB, free: 34.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.57, allocations: 11.98 kB / 414.6 MB, free: 34.78 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,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.5702, allocations: 233.8 kB / 414.8 MB, free: 34.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.5704, allocations: 35.8 kB / 414.9 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.5705, allocations: 30.17 kB / 414.9 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5705, allocations: 3.938 kB / 414.9 MB, free: 34.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.5705, allocations: 4 kB / 414.9 MB, free: 34.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5705, allocations: 3.984 kB / 414.9 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.571, allocations: 325.4 kB / 415.2 MB, free: 34.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.571, allocations: 3.984 kB / 415.2 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.5716, allocations: 59.83 kB / 415.3 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5716, allocations: 0 / 415.3 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.5717, allocations: 15.92 kB / 415.3 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5717, allocations: 7.938 kB / 415.3 MB, free: 34.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5717, allocations: 0 / 415.3 MB, free: 34.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.586, allocations: 3.556 MB / 418.9 MB, free: 30.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.5861, allocations: 96.77 kB / 419 MB, free: 30.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.5862, allocations: 8 kB / 419 MB, free: 30.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.5865, allocations: 36.03 kB / 419 MB, free: 30.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5866, allocations: 31.83 kB / 419 MB, free: 30.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.5867, allocations: 12 kB / 419 MB, free: 30.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.5869, allocations: 186 kB / 419.2 MB, free: 29.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5869, allocations: 0 / 419.2 MB, free: 29.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00125/0.5882, allocations: 163.8 kB / 419.4 MB, free: 29.74 MB / 318.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 (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.0002901/0.5885, allocations: 129.8 kB / 419.5 MB, free: 29.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.5907, allocations: 0.8748 MB / 420.4 MB, free: 28.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5907, allocations: 0 / 420.4 MB, free: 28.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.5912, allocations: 243.5 kB / 420.6 MB, free: 28.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.5918, allocations: 58.59 kB / 420.7 MB, free: 28.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.5934, allocations: 0.8025 MB / 421.5 MB, free: 27.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5936, allocations: 0.76 MB / 422.2 MB, free: 26.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5938, allocations: 27.42 kB / 422.3 MB, free: 26.71 MB / 318.1 MB Notification: Performance of SimCode: time 2.685e-06/0.5938, allocations: 4 kB / 422.3 MB, free: 26.7 MB / 318.1 MB Notification: Performance of Templates: time 0.01147/0.6053, allocations: 4.989 MB / 427.3 MB, free: 21.72 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)