Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 176.4 kB / 15.43 MB, free: 6.203 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.337/1.337, allocations: 225.7 MB / 241.9 MB, free: 396 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.0007884/0.0007884, allocations: 100.1 kB / 293.1 MB, free: 12.88 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.0618/0.0618, allocations: 14.38 MB / 358.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 8 kB / 423.2 MB, free: 85.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07759/0.07791, allocations: 53.96 MB / 477.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00049/0.07844, allocations: 210.3 kB / 477.4 MB, free: 32.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003134/0.07877, allocations: 269.9 kB / 477.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.07879, allocations: 0 / 477.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.07882, allocations: 4 kB / 477.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.07902, allocations: 11.98 kB / 477.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.214e-06/0.07903, allocations: 0 / 477.7 MB, free: 32.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.347e-05/0.07906, allocations: 4 kB / 477.7 MB, free: 32.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.0791, allocations: 0 / 477.7 MB, free: 32.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-06/0.07912, allocations: 0 / 477.7 MB, free: 32.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.07922, allocations: 23.92 kB / 477.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-06/0.07924, allocations: 0 / 477.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-06/0.07924, allocations: 3.938 kB / 477.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-06/0.07925, allocations: 0 / 477.7 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.07927, allocations: 25.7 kB / 477.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 2.554e-05/0.07931, allocations: 7.984 kB / 477.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.07931, allocations: 0 / 477.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07932, allocations: 0 / 477.7 MB, free: 32.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.175e-06/0.07933, allocations: 0 / 477.7 MB, free: 32.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001533/0.07949, allocations: 307.6 kB / 478 MB, free: 31.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.07952, allocations: 12.09 kB / 478 MB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.07955, allocations: 0.9375 kB / 478 MB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.095e-05/0.07961, allocations: 164.4 kB / 478.2 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.07963, allocations: 384 / 478.2 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.07965, allocations: 384 / 478.2 MB, free: 31.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.07974, allocations: 51.97 kB / 478.2 MB, free: 31.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.07975, allocations: 192 / 478.2 MB, free: 31.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.07977, allocations: 3.938 kB / 478.2 MB, free: 31.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.07978, allocations: 4 kB / 478.2 MB, free: 31.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.0798, allocations: 11.88 kB / 478.3 MB, free: 31.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.08002, allocations: 459.7 kB / 478.7 MB, free: 31.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.08007, allocations: 177 kB / 478.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.08009, allocations: 84.14 kB / 479 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.08011, allocations: 75.28 kB / 479 MB, free: 30.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.08014, allocations: 105.9 kB / 479.1 MB, free: 30.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.08015, allocations: 7.938 kB / 479.1 MB, free: 30.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.211e-05/0.0802, allocations: 29.61 kB / 479.2 MB, free: 30.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.08023, allocations: 126.7 kB / 479.3 MB, free: 30.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.01e-05/0.08029, allocations: 105.8 kB / 479.4 MB, free: 30.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.0803, allocations: 25.7 kB / 479.4 MB, free: 30.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.08033, allocations: 90.09 kB / 479.5 MB, free: 30.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.08033, allocations: 0 / 479.5 MB, free: 30.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.08034, allocations: 0 / 479.5 MB, free: 30.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.08038, allocations: 310.8 kB / 479.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.0804, allocations: 4 kB / 479.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.08041, allocations: 9.844 kB / 479.8 MB, free: 29.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.08044, allocations: 25.77 kB / 479.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.08045, allocations: 3.938 kB / 479.9 MB, free: 29.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.819e-05/0.08053, allocations: 41.55 kB / 479.9 MB, free: 29.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.08055, allocations: 8 kB / 479.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.08056, allocations: 0 / 479.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.08057, allocations: 0 / 479.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.08062, allocations: 4 kB / 479.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.08063, allocations: 4.062 kB / 479.9 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.08065, allocations: 3.938 kB / 479.9 MB, free: 29.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.08066, allocations: 0 / 479.9 MB, free: 29.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.072e-05/0.08072, allocations: 199.5 kB / 480.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.08075, allocations: 104.9 kB / 480.2 MB, free: 29.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.08078, allocations: 104.1 kB / 480.3 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.08081, allocations: 188.2 kB / 480.5 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.08084, allocations: 176.3 kB / 480.7 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.08086, allocations: 184.2 kB / 480.9 MB, free: 28.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.081, allocations: 405.1 kB / 481.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.08101, allocations: 101 kB / 481.4 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.08103, allocations: 108.9 kB / 481.5 MB, free: 28.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.08106, allocations: 184.2 kB / 481.6 MB, free: 27.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.08109, allocations: 188.3 kB / 481.8 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/0.08112, allocations: 184.2 kB / 482 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-05/0.08115, allocations: 176.3 kB / 482.2 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.53e-05/0.08122, allocations: 315.9 kB / 482.5 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.08126, allocations: 178.1 kB / 482.7 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.0813, allocations: 188.2 kB / 482.8 MB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.08136, allocations: 105 kB / 482.9 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.0814, allocations: 184.2 kB / 483.1 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.08141, allocations: 101 kB / 483.2 MB, free: 26.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.915e-05/0.08144, allocations: 87.28 kB / 483.3 MB, free: 26.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08144, allocations: 0 / 483.3 MB, free: 26.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000241/0.08169, allocations: 3.938 kB / 483.3 MB, free: 26.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 6.881e-05/0.08177, allocations: 172.6 kB / 483.5 MB, free: 26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.07e-05/0.08182, allocations: 7.938 kB / 483.5 MB, free: 25.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.08183, allocations: 0 / 483.5 MB, free: 25.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.08184, allocations: 0 / 483.5 MB, free: 25.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.08209, allocations: 0.5304 MB / 484 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001376/0.08224, allocations: 154 kB / 484.2 MB, free: 25.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.08234, allocations: 0.6692 MB / 484.8 MB, free: 24.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.08236, allocations: 4 kB / 484.8 MB, free: 24.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.08238, allocations: 11.44 kB / 484.9 MB, free: 24.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.9e-07/0.08239, allocations: 0 / 484.9 MB, free: 24.57 MB / 330.7 MB Notification: Performance of Templates: time 0.001511/0.0839, allocations: 154.8 kB / 485 MB, free: 24.42 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)