Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLag.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.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") translateModel(PowerGrids.Controls.Test.TestLeadLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLag") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 178.9 kB / 15.43 MB, free: 5.762 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.389/1.389, allocations: 225.7 MB / 241.9 MB, free: 408 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.0007687/0.0007686, allocations: 94.06 kB / 293.1 MB, free: 12.92 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.09218/0.09218, allocations: 14.38 MB / 358.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 10.53 kB / 425.3 MB, free: 83.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08551, allocations: 53.96 MB / 479.2 MB, free: 30.81 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.001496/0.08706, allocations: 1.473 MB / 480.7 MB, free: 29.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.08735, allocations: 151.5 kB / 480.8 MB, free: 29.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.08744, allocations: 4 kB / 480.9 MB, free: 29.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.08758, allocations: 11.86 kB / 480.9 MB, free: 29.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.08771, allocations: 23.86 kB / 480.9 MB, free: 29.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.966e-05/0.08779, allocations: 35.97 kB / 480.9 MB, free: 29.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.08792, allocations: 123.6 kB / 481 MB, free: 28.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.08805, allocations: 49.53 kB / 481.1 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.0881, allocations: 39.73 kB / 481.1 MB, free: 28.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.08819, allocations: 39.78 kB / 481.2 MB, free: 28.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.08822, allocations: 4 kB / 481.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.08824, allocations: 0 / 481.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.08827, allocations: 19.92 kB / 481.2 MB, free: 28.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.08832, allocations: 69.36 kB / 481.3 MB, free: 28.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.08842, allocations: 95.59 kB / 481.4 MB, free: 28.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.08843, allocations: 0 / 481.4 MB, free: 28.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08844, allocations: 3.938 kB / 481.4 MB, free: 28.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.08845, allocations: 0 / 481.4 MB, free: 28.65 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004587/0.08891, allocations: 411.1 kB / 481.8 MB, free: 28.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.08895, allocations: 8.031 kB / 481.8 MB, free: 28.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.089, allocations: 16.75 kB / 481.8 MB, free: 28.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.0892, allocations: 216.5 kB / 482 MB, free: 27.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.08922, allocations: 12.33 kB / 482 MB, free: 27.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.08926, allocations: 8.375 kB / 482 MB, free: 27.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.0895, allocations: 122.2 kB / 482.1 MB, free: 27.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.08952, allocations: 4 kB / 482.1 MB, free: 27.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.08953, allocations: 4 kB / 482.1 MB, free: 27.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.08954, allocations: 0 / 482.1 MB, free: 27.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.08973, allocations: 67.89 kB / 482.2 MB, free: 27.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.09031, allocations: 457.2 kB / 482.7 MB, free: 27.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.09066, allocations: 123.8 kB / 482.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.09077, allocations: 46.69 kB / 482.8 MB, free: 26.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.09079, allocations: 0 / 482.8 MB, free: 26.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.09082, allocations: 46.5 kB / 482.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.09082, allocations: 0 / 482.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003512/0.09118, allocations: 125.5 kB / 483 MB, free: 26.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.09122, allocations: 106.8 kB / 483.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.09133, allocations: 161.2 kB / 483.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.09135, allocations: 29.69 kB / 483.3 MB, free: 26.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.0914, allocations: 108 kB / 483.4 MB, free: 26.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.09142, allocations: 27.56 kB / 483.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.09143, allocations: 0 / 483.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.09149, allocations: 322.8 kB / 483.7 MB, free: 26.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.09161, allocations: 27.92 kB / 483.8 MB, free: 25.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.09172, allocations: 69.12 kB / 483.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.0919, allocations: 83.39 kB / 483.9 MB, free: 25.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.09191, allocations: 0 / 483.9 MB, free: 25.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000327/0.09224, allocations: 138.3 kB / 484 MB, free: 25.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.09226, allocations: 4 kB / 484 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.09228, allocations: 12.03 kB / 484.1 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.0925, allocations: 36.77 kB / 484.1 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.09262, allocations: 20.3 kB / 484.1 MB, free: 25.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008708/0.0935, allocations: 1.359 MB / 485.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.09361, allocations: 15.89 kB / 485.5 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.09364, allocations: 8 kB / 485.5 MB, free: 24.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.09372, allocations: 121.9 kB / 485.6 MB, free: 23.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.09376, allocations: 7.906 kB / 485.6 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.09379, allocations: 16.31 kB / 485.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0938, allocations: 3.984 kB / 485.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.0938, allocations: 0 / 485.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.09381, allocations: 7.938 kB / 485.6 MB, free: 23.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.09398, allocations: 205.5 kB / 485.8 MB, free: 23.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.09399, allocations: 7.984 kB / 485.9 MB, free: 23.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.09411, allocations: 19.92 kB / 485.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.09412, allocations: 0 / 485.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.09415, allocations: 8 kB / 485.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.09415, allocations: 0 / 485.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09416, allocations: 0 / 485.9 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.09446, allocations: 241.1 kB / 486.1 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.0945, allocations: 81.02 kB / 486.2 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.09453, allocations: 4 kB / 486.2 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.09464, allocations: 12.17 kB / 486.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.09471, allocations: 11.88 kB / 486.2 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.09472, allocations: 3.938 kB / 486.2 MB, free: 23.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.09479, allocations: 117.3 kB / 486.3 MB, free: 23.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0948, allocations: 4.062 kB / 486.3 MB, free: 23.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.09504, allocations: 27.84 kB / 486.4 MB, free: 23.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.39e-05/0.09512, allocations: 99.25 kB / 486.5 MB, free: 22.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.0956, allocations: 206.8 kB / 486.7 MB, free: 22.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.09562, allocations: 4 kB / 486.7 MB, free: 22.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.09572, allocations: 35.92 kB / 486.7 MB, free: 22.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.09609, allocations: 28.23 kB / 486.7 MB, free: 22.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.0966, allocations: 291.6 kB / 487 MB, free: 22.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.09672, allocations: 0.7082 MB / 487.7 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.0968, allocations: 12.55 kB / 487.7 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.09684, allocations: 11.44 kB / 487.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09685, allocations: 4 kB / 487.8 MB, free: 21.62 MB / 330.7 MB Notification: Performance of Templates: time 0.003258/0.1001, allocations: 1.143 MB / 488.9 MB, free: 20.48 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLag.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLag -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)