Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.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.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 106.5 kB / 16.97 MB, free: 6.168 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.001598/0.001598, allocations: 186.3 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06409/0.06409, allocations: 14.18 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.001384/0.001384, allocations: 68.12 kB / 346.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2048, allocations: 50.13 MB / 396.6 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00149/0.2063, allocations: 491.3 kB / 397.1 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.2066, allocations: 123.2 kB / 397.2 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.2067, allocations: 3.938 kB / 397.2 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.2067, allocations: 0 / 397.2 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.2069, allocations: 15.48 kB / 397.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.336e-06/0.2069, allocations: 0 / 397.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 2.79e-05/0.207, allocations: 6.125 kB / 397.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.207, allocations: 2.031 kB / 397.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.08e-05/0.207, allocations: 0 / 397.2 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.2071, allocations: 14.98 kB / 397.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-06/0.2071, allocations: 0 / 397.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-06/0.2071, allocations: 0 / 397.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-06/0.2072, allocations: 0 / 397.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.032e-05/0.2072, allocations: 3.938 kB / 397.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 2.846e-05/0.2072, allocations: 1.656 kB / 397.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2072, allocations: 4 kB / 397.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2072, allocations: 0 / 397.3 MB, free: 47.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2072, allocations: 1.719 kB / 397.3 MB, free: 47.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001732/0.2074, allocations: 314.2 kB / 397.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2074, allocations: 8.969 kB / 397.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.2075, allocations: 6.312 kB / 397.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.327e-05/0.2075, allocations: 160.4 kB / 397.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.2075, allocations: 8.312 kB / 397.7 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.2075, allocations: 1.719 kB / 397.8 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.2076, allocations: 47.09 kB / 397.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2076, allocations: 1.688 kB / 397.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2077, allocations: 3.938 kB / 397.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2077, allocations: 0 / 397.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.2077, allocations: 6.844 kB / 397.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.2079, allocations: 468.2 kB / 398.3 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.2079, allocations: 169.1 kB / 398.4 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.2079, allocations: 81.52 kB / 398.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.208, allocations: 75.28 kB / 398.6 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.208, allocations: 111.2 kB / 398.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.208, allocations: 4 kB / 398.7 MB, free: 45.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.531e-05/0.2081, allocations: 26.8 kB / 398.7 MB, free: 45.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2081, allocations: 130.7 kB / 398.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.2082, allocations: 101.7 kB / 398.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.2082, allocations: 25.7 kB / 399 MB, free: 45.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.2082, allocations: 91.5 kB / 399.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.2083, allocations: 0 / 399.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.2083, allocations: 16.56 kB / 399.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.2083, allocations: 318.8 kB / 399.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.2083, allocations: 1.75 kB / 399.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.2084, allocations: 12.5 kB / 399.4 MB, free: 45.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.2084, allocations: 24.61 kB / 399.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2084, allocations: 3.938 kB / 399.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.149e-05/0.2085, allocations: 46.86 kB / 399.5 MB, free: 45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2085, allocations: 4.875 kB / 399.5 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2085, allocations: 3.984 kB / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2085, allocations: 1.219 kB / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.2086, allocations: 3.625 kB / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2086, allocations: 0 / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.2086, allocations: 5.156 kB / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2086, allocations: 2.031 kB / 399.5 MB, free: 44.99 MB / 318.1 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 4.278e-05/0.2087, allocations: 198 kB / 399.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.2087, allocations: 106.2 kB / 399.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.2087, allocations: 109.7 kB / 399.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.2087, allocations: 176.3 kB / 400.1 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/0.2088, allocations: 181.8 kB / 400.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.2088, allocations: 181.7 kB / 400.4 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2089, allocations: 406.3 kB / 400.8 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.2089, allocations: 110.1 kB / 400.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.209, allocations: 105 kB / 401 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/0.209, allocations: 181.2 kB / 401.2 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.209, allocations: 177.5 kB / 401.4 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/0.209, allocations: 181.7 kB / 401.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.212e-05/0.2091, allocations: 185.6 kB / 401.7 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.2092, allocations: 1.074 MB / 402.8 MB, free: 41.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2093, allocations: 183.1 kB / 403 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.2093, allocations: 181.2 kB / 403.2 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.2094, allocations: 106.1 kB / 403.3 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.2094, allocations: 181.5 kB / 403.5 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2094, allocations: 106.6 kB / 403.6 MB, free: 40.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.2094, allocations: 80.69 kB / 403.6 MB, free: 40.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2094, allocations: 0 / 403.6 MB, free: 40.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.2098, allocations: 1.312 kB / 403.6 MB, free: 40.6 MB / 318.1 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.737e-05/0.2098, allocations: 169.1 kB / 403.8 MB, free: 40.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.28e-05/0.2099, allocations: 12.41 kB / 403.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2099, allocations: 0 / 403.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2099, allocations: 1.406 kB / 403.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2102, allocations: 459.4 kB / 404.3 MB, free: 39.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001433/0.2103, allocations: 178.6 kB / 404.4 MB, free: 39.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.2104, allocations: 0.6743 MB / 405.1 MB, free: 39.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.2105, allocations: 8.938 kB / 405.1 MB, free: 39.07 MB / 318.1 MB Notification: Performance of SimCode: time 1.874e-06/0.2105, allocations: 0 / 405.1 MB, free: 39.07 MB / 318.1 MB Notification: Performance of Templates: time 0.001335/0.2118, allocations: 355.9 kB / 405.5 MB, free: 38.9 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)