Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 102.2 kB / 16.96 MB, free: 6.16 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.002633/0.002633, allocations: 190.2 kB / 17.9 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.22/3.22, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1354/0.1354, allocations: 14.17 MB / 285.3 MB, free: 13.93 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.002881/0.002881, allocations: 60.28 kB / 348.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.517/0.5199, allocations: 50.13 MB / 398.7 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.005994/0.5259, allocations: 2.105 MB / 400.8 MB, free: 46.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.5287, allocations: 0.871 MB / 401.7 MB, free: 46.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.5292, allocations: 8.281 kB / 401.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.5296, allocations: 67.92 kB / 401.8 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.5302, allocations: 75.06 kB / 401.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.5313, allocations: 245.2 kB / 402.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008013/0.5321, allocations: 317.1 kB / 402.4 MB, free: 45.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.5325, allocations: 101.8 kB / 402.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.5328, allocations: 133.6 kB / 402.6 MB, free: 45.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.5333, allocations: 145.7 kB / 402.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.5334, allocations: 26.25 kB / 402.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.5337, allocations: 100.9 kB / 402.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5339, allocations: 75.81 kB / 403 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.5341, allocations: 134.6 kB / 403.1 MB, free: 45.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.5348, allocations: 350 kB / 403.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5348, allocations: 0 / 403.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5348, allocations: 4 kB / 403.4 MB, free: 45.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.5348, allocations: 5.281 kB / 403.4 MB, free: 45.06 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001461/0.5363, allocations: 0.6288 MB / 404.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.5364, allocations: 9.438 kB / 404.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.5366, allocations: 34.66 kB / 404.1 MB, free: 44.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.5373, allocations: 331.9 kB / 404.4 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.5373, allocations: 14.19 kB / 404.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.5374, allocations: 22.22 kB / 404.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/0.5384, allocations: 295 kB / 404.8 MB, free: 43.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5384, allocations: 0 / 404.8 MB, free: 43.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.5385, allocations: 10.53 kB / 404.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5385, allocations: 5.281 kB / 404.8 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.5394, allocations: 189.3 kB / 405 MB, free: 43.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.5412, allocations: 0.9798 MB / 405.9 MB, free: 42.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5423, allocations: 255.7 kB / 406.2 MB, free: 42.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.5428, allocations: 135.6 kB / 406.3 MB, free: 42.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.5429, allocations: 2.531 kB / 406.3 MB, free: 42.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.5436, allocations: 212.5 kB / 406.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.145e-06/0.5437, allocations: 4 kB / 406.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001589/0.5453, allocations: 422.3 kB / 407 MB, free: 42.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.5454, allocations: 162.6 kB / 407.1 MB, free: 42.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.546, allocations: 273.3 kB / 407.4 MB, free: 41.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.5461, allocations: 31.67 kB / 407.4 MB, free: 41.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.5463, allocations: 172.3 kB / 407.6 MB, free: 41.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.5464, allocations: 63.73 kB / 407.6 MB, free: 41.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.5465, allocations: 56.38 kB / 407.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5466, allocations: 340.5 kB / 408 MB, free: 41.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.5471, allocations: 108.5 kB / 408.1 MB, free: 41.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.5476, allocations: 191 kB / 408.3 MB, free: 41.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/0.5484, allocations: 303.6 kB / 408.6 MB, free: 40.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5484, allocations: 4 kB / 408.6 MB, free: 40.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002197/0.5507, allocations: 0.5383 MB / 409.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.5507, allocations: 41.69 kB / 409.2 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5508, allocations: 4 kB / 409.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.5514, allocations: 101.8 kB / 409.3 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.5517, allocations: 31.92 kB / 409.3 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.5623, allocations: 3.81 MB / 413.1 MB, free: 36.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.5629, allocations: 31.83 kB / 413.2 MB, free: 36.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.563, allocations: 15.92 kB / 413.2 MB, free: 36.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004975/0.5635, allocations: 184.1 kB / 413.4 MB, free: 36.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003412/0.5638, allocations: 159.5 kB / 413.5 MB, free: 35.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005397/0.5644, allocations: 264.5 kB / 413.8 MB, free: 35.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.5644, allocations: 3.938 kB / 413.8 MB, free: 35.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.001077/0.5655, allocations: 396.5 kB / 414.2 MB, free: 35.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.5656, allocations: 37.69 kB / 414.2 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5656, allocations: 0 / 414.2 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.5659, allocations: 69.69 kB / 414.3 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5662, allocations: 44.03 kB / 414.3 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.5691, allocations: 3.34 MB / 417.7 MB, free: 31.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.5696, allocations: 31.77 kB / 417.7 MB, free: 31.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.5696, allocations: 8 kB / 417.7 MB, free: 31.37 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,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.5699, allocations: 226 kB / 417.9 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.57, allocations: 35.66 kB / 418 MB, free: 31.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.5701, allocations: 30.23 kB / 418 MB, free: 31.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5702, allocations: 11.94 kB / 418 MB, free: 31.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5702, allocations: 0 / 418 MB, free: 31.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5702, allocations: 0 / 418 MB, free: 31.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.5707, allocations: 329.3 kB / 418.3 MB, free: 30.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5707, allocations: 128 / 418.3 MB, free: 30.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.571, allocations: 51.89 kB / 418.4 MB, free: 30.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.571, allocations: 0 / 418.4 MB, free: 30.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5711, allocations: 8 kB / 418.4 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5711, allocations: 0 / 418.4 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5711, allocations: 4 kB / 418.4 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.5789, allocations: 3.311 MB / 421.7 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.579, allocations: 96.86 kB / 421.8 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/0.5792, allocations: 15.92 kB / 421.8 MB, free: 27.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.5795, allocations: 19.98 kB / 421.8 MB, free: 26.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.5796, allocations: 20.05 kB / 421.8 MB, free: 26.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.5797, allocations: 7.938 kB / 421.9 MB, free: 26.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.58, allocations: 198 kB / 422 MB, free: 26.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.58, allocations: 0 / 422 MB, free: 26.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001811/0.5818, allocations: 175.7 kB / 422.2 MB, free: 26.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.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.0004055/0.5822, allocations: 127.2 kB / 422.3 MB, free: 26.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.5851, allocations: 1.098 MB / 423.4 MB, free: 25.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5851, allocations: 4 kB / 423.4 MB, free: 25.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.5856, allocations: 199.2 kB / 423.6 MB, free: 25.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.5863, allocations: 63.16 kB / 423.7 MB, free: 25.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.589, allocations: 0.9193 MB / 424.6 MB, free: 24.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5893, allocations: 0.7756 MB / 425.4 MB, free: 23.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5894, allocations: 27.38 kB / 425.4 MB, free: 23.22 MB / 318.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5895, allocations: 0 / 425.4 MB, free: 23.22 MB / 318.1 MB Notification: Performance of Templates: time 0.01259/0.6021, allocations: 4.998 MB / 430.4 MB, free: 18.23 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1)