Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_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.001289/0.001289, allocations: 99.47 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.001497/0.001497, 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 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0607/0.0607, allocations: 14.15 MB / 284.5 MB, free: 7.141 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.0005142/0.0005145, allocations: 15.94 kB / 348.1 MB, free: 17.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08832, allocations: 51.13 MB / 399.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002416/0.09077, allocations: 1.745 MB / 401 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.09297, allocations: 0.804 MB / 401.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.09331, allocations: 7.938 kB / 401.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.09353, allocations: 39.77 kB / 401.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.09398, allocations: 79.75 kB / 401.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.09485, allocations: 167.7 kB / 402.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.09539, allocations: 179.6 kB / 402.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.09567, allocations: 78.12 kB / 402.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.09592, allocations: 95.61 kB / 402.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.09624, allocations: 115.4 kB / 402.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.09631, allocations: 8 kB / 402.6 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.09654, allocations: 71.92 kB / 402.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.09664, allocations: 47.72 kB / 402.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.09675, allocations: 65.58 kB / 402.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.0972, allocations: 247.5 kB / 403 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.09721, allocations: 0 / 403 MB, free: 10.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09723, allocations: 0 / 403 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.09725, allocations: 4 kB / 403 MB, free: 10.99 MB / 302.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.001297/0.09855, allocations: 0.5779 MB / 403.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.09861, allocations: 16.02 kB / 403.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.09875, allocations: 31.62 kB / 403.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.09936, allocations: 302.3 kB / 403.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.09942, allocations: 23.95 kB / 403.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.09949, allocations: 16 kB / 403.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.1003, allocations: 304 kB / 404.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1004, allocations: 3.938 kB / 404.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1004, allocations: 11.94 kB / 404.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1004, allocations: 4 kB / 404.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1012, allocations: 204.5 kB / 404.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.103, allocations: 0.9983 MB / 405.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1041, allocations: 289 kB / 405.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1042, allocations: 4.062 kB / 405.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.1048, allocations: 215.2 kB / 406 MB, free: 7.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.1048, allocations: 0 / 406 MB, free: 7.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001571/0.1064, allocations: 0.5186 MB / 406.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.1066, allocations: 158.2 kB / 406.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.107, allocations: 270.7 kB / 406.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.1071, allocations: 29.7 kB / 406.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1073, allocations: 168.4 kB / 407.1 MB, free: 6.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.1074, allocations: 78.92 kB / 407.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.1074, allocations: 4 kB / 407.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1076, allocations: 338.9 kB / 407.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.108, allocations: 103.9 kB / 407.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.1085, allocations: 187.2 kB / 407.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.109, allocations: 153.7 kB / 407.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.109, allocations: 0 / 407.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002036/0.111, allocations: 0.5978 MB / 408.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.1114, allocations: 0.5622 MB / 409.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1114, allocations: 0 / 409.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.1122, allocations: 141.6 kB / 409.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.1125, allocations: 39.88 kB / 409.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.1193, allocations: 3.644 MB / 412.9 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.1197, allocations: 43.8 kB / 413 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.1198, allocations: 19.94 kB / 413 MB, free: 280 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1199, allocations: 4 kB / 413 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009765/0.1208, allocations: 355 kB / 413.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1209, allocations: 3.938 kB / 413.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.1211, allocations: 69.69 kB / 413.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1214, allocations: 31.97 kB / 413.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.1247, allocations: 3.025 MB / 416.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1251, allocations: 24.08 kB / 416.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1251, allocations: 8 kB / 416.5 MB, free: 12.48 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 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,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 (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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.1255, allocations: 266.9 kB / 416.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.1256, allocations: 31.62 kB / 416.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.1257, allocations: 34.12 kB / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1257, allocations: 0 / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1257, allocations: 0 / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1257, allocations: 4 kB / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1262, allocations: 333.3 kB / 417.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1263, allocations: 3.984 kB / 417.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.1266, allocations: 47.91 kB / 417.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1266, allocations: 4 kB / 417.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.1267, allocations: 8 kB / 417.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1267, allocations: 3.953 kB / 417.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1267, allocations: 0 / 417.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1283, allocations: 0.5403 MB / 417.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.1284, allocations: 104.8 kB / 417.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1284, allocations: 19.88 kB / 417.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1287, allocations: 24.05 kB / 417.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.1288, allocations: 11.98 kB / 417.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.1289, allocations: 11.98 kB / 417.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.1292, allocations: 198 kB / 418.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1292, allocations: 0 / 418.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00108/0.1303, allocations: 123.7 kB / 418.2 MB, free: 10.62 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 (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.0002815/0.1306, allocations: 130.8 kB / 418.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.1332, allocations: 1.127 MB / 419.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1332, allocations: 7.938 kB / 419.5 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.1337, allocations: 218.9 kB / 419.7 MB, free: 9.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1342, allocations: 49.94 kB / 419.7 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1365, allocations: 0.784 MB / 420.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.1371, allocations: 0.7834 MB / 421.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.1373, allocations: 21.95 kB / 421.3 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.1374, allocations: 19.44 kB / 421.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1374, allocations: 4 kB / 421.4 MB, free: 7.34 MB / 318.1 MB Notification: Performance of Templates: time 0.01072/0.1481, allocations: 4.398 MB / 425.8 MB, free: 2.934 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) Environment - environmentSimulation: