Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 180.3 kB / 15.43 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.7 MB / 241.9 MB, free: 200 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008119/0.0008119, allocations: 98.45 kB / 293.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0594/0.0594, allocations: 14.37 MB / 358.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004966, allocations: 14.36 kB / 425.3 MB, free: 83.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 53.95 MB / 479.2 MB, free: 30.76 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002424/0.1052, allocations: 1.734 MB / 481 MB, free: 29.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.107, allocations: 0.9653 MB / 481.9 MB, free: 28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.1072, allocations: 11.94 kB / 481.9 MB, free: 27.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1075, allocations: 47.75 kB / 482 MB, free: 27.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1078, allocations: 71.66 kB / 482.1 MB, free: 27.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.1085, allocations: 203.7 kB / 482.3 MB, free: 27.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.1089, allocations: 291.2 kB / 482.5 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1092, allocations: 99.36 kB / 482.6 MB, free: 27.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1093, allocations: 95.56 kB / 482.7 MB, free: 27.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1096, allocations: 127.3 kB / 482.9 MB, free: 27.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1096, allocations: 8 kB / 482.9 MB, free: 27.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1098, allocations: 71.94 kB / 482.9 MB, free: 27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.1099, allocations: 43.77 kB / 483 MB, free: 26.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1101, allocations: 136.9 kB / 483.1 MB, free: 26.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.1105, allocations: 322.9 kB / 483.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1105, allocations: 0 / 483.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1105, allocations: 0 / 483.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.849e-05/0.1105, allocations: 0 / 483.4 MB, free: 26.5 MB / 330.7 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.001002/0.1116, allocations: 0.582 MB / 484 MB, free: 25.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1116, allocations: 8.031 kB / 484 MB, free: 25.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1117, allocations: 36.56 kB / 484 MB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1122, allocations: 303.5 kB / 484.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1122, allocations: 16.38 kB / 484.4 MB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.1123, allocations: 16.38 kB / 484.4 MB, free: 25.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.113, allocations: 304.3 kB / 484.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.113, allocations: 0 / 484.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1131, allocations: 15.94 kB / 484.7 MB, free: 25.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1131, allocations: 4 kB / 484.7 MB, free: 25.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.1138, allocations: 208.4 kB / 484.9 MB, free: 24.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1151, allocations: 0.9983 MB / 485.9 MB, free: 23.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.116, allocations: 289.1 kB / 486.2 MB, free: 23.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.1164, allocations: 141.7 kB / 486.3 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1165, allocations: 3.984 kB / 486.3 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.117, allocations: 222.6 kB / 486.5 MB, free: 23.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.117, allocations: 0 / 486.5 MB, free: 23.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001278/0.1183, allocations: 436.7 kB / 487 MB, free: 22.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.1184, allocations: 162.2 kB / 487.1 MB, free: 22.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.1188, allocations: 270.7 kB / 487.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1188, allocations: 33.7 kB / 487.4 MB, free: 22.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1189, allocations: 172.3 kB / 487.6 MB, free: 22.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.119, allocations: 70.94 kB / 487.7 MB, free: 21.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.119, allocations: 8 kB / 487.7 MB, free: 21.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.1191, allocations: 342.8 kB / 488 MB, free: 21.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1195, allocations: 107.9 kB / 488.1 MB, free: 21.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.1199, allocations: 191.1 kB / 488.3 MB, free: 21.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.1206, allocations: 326.6 kB / 488.6 MB, free: 20.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1207, allocations: 4 kB / 488.6 MB, free: 20.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001894/0.1226, allocations: 0.5968 MB / 489.2 MB, free: 20.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/0.1227, allocations: 163.1 kB / 489.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1227, allocations: 0 / 489.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.1231, allocations: 109.7 kB / 489.5 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1234, allocations: 35.84 kB / 489.5 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.1274, allocations: 3.594 MB / 493.1 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1277, allocations: 43.88 kB / 493.1 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1278, allocations: 8 kB / 493.2 MB, free: 16.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.1278, allocations: 4 kB / 493.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006449/0.1284, allocations: 360 kB / 493.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1284, allocations: 4 kB / 493.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.1286, allocations: 73.8 kB / 493.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1288, allocations: 31.92 kB / 493.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.1306, allocations: 3.009 MB / 496.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1308, allocations: 31.83 kB / 496.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1308, allocations: 8 kB / 496.7 MB, free: 12.25 MB / 330.7 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 (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.0001862/0.131, allocations: 261 kB / 496.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.1311, allocations: 27.72 kB / 496.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1311, allocations: 30.17 kB / 497 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1311, allocations: 7.875 kB / 497 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1311, allocations: 4 kB / 497 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1312, allocations: 0 / 497 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1314, allocations: 333.3 kB / 497.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1314, allocations: 0 / 497.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1317, allocations: 47.95 kB / 497.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1317, allocations: 4 kB / 497.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1318, allocations: 11.94 kB / 497.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1318, allocations: 0 / 497.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1318, allocations: 0 / 497.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.1327, allocations: 0.5338 MB / 497.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1328, allocations: 108.7 kB / 498 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.1329, allocations: 4 kB / 498 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1331, allocations: 27.97 kB / 498 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.1332, allocations: 16.05 kB / 498.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1332, allocations: 8 kB / 498.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1334, allocations: 197.9 kB / 498.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1334, allocations: 0 / 498.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006567/0.1341, allocations: 127.7 kB / 498.4 MB, free: 10.43 MB / 330.7 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.0001802/0.1342, allocations: 131.2 kB / 498.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.136, allocations: 1.14 MB / 499.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.136, allocations: 0 / 499.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1363, allocations: 215.3 kB / 499.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1367, allocations: 48.53 kB / 499.9 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1382, allocations: 0.81 MB / 0.489 GB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1384, allocations: 0.7755 MB / 0.4897 GB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.1386, allocations: 25.89 kB / 0.4898 GB, free: 7.137 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1387, allocations: 19.44 kB / 0.4898 GB, free: 7.117 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1387, allocations: 0 / 0.4898 GB, free: 7.117 MB / 330.7 MB Notification: Performance of Templates: time 0.007202/0.1459, allocations: 4.529 MB / 0.4942 GB, free: 2.602 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1)