Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.739e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 54.86 MB / 358 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4092, allocations: 89.15 MB / 447.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4095, allocations: 67.97 kB / 447.3 MB, free: 5.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08378/0.4933, allocations: 19.01 MB / 466.3 MB, free: 2.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.29e-06/0.4933, allocations: 4 kB / 466.3 MB, free: 2.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.31e-05/0.4934, allocations: 23.88 kB / 466.3 MB, free: 2.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002142/0.4955, allocations: 0.8919 MB / 467.2 MB, free: 1.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.4956, allocations: 12.02 kB / 467.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.4958, allocations: 86.91 kB / 467.3 MB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.4971, allocations: 0.511 MB / 467.8 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.4972, allocations: 16 kB / 467.8 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4974, allocations: 35.86 kB / 467.8 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000894/0.4983, allocations: 313.5 kB / 468.1 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4993, allocations: 422.4 kB / 468.6 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.4993, allocations: 0 / 468.6 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.4994, allocations: 4 kB / 468.6 MB, free: 132 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4994, allocations: 8 kB / 468.6 MB, free: 124 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2429/0.7423, allocations: 1.843 MB / 470.4 MB, free: 94.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.7435, allocations: 451.7 kB / 470.9 MB, free: 94.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.7439, allocations: 183.1 kB / 471 MB, free: 94.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.744, allocations: 9.25 kB / 471 MB, free: 94.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.7441, allocations: 40.64 kB / 471.1 MB, free: 94.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.526e-06/0.7441, allocations: 0.5625 kB / 471.1 MB, free: 94.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.001822/0.7459, allocations: 0.7201 MB / 471.8 MB, free: 94.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.746, allocations: 139.4 kB / 471.9 MB, free: 94.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.7467, allocations: 458 kB / 472.4 MB, free: 94.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.7468, allocations: 27.02 kB / 472.4 MB, free: 94.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.747, allocations: 341.8 kB / 472.7 MB, free: 94.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.7472, allocations: 161.2 kB / 472.9 MB, free: 93.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.7473, allocations: 0 / 472.9 MB, free: 93.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.7474, allocations: 332.9 kB / 473.2 MB, free: 93.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.7478, allocations: 177.3 kB / 473.4 MB, free: 93.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.7483, allocations: 288.4 kB / 473.7 MB, free: 93.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.7488, allocations: 210.1 kB / 473.9 MB, free: 93.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.907e-06/0.7488, allocations: 5.172 kB / 473.9 MB, free: 93.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001335/0.7501, allocations: 0.5413 MB / 474.4 MB, free: 93.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.7504, allocations: 1.052 MB / 475.5 MB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7504, allocations: 2.188 kB / 475.5 MB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.7507, allocations: 57.03 kB / 475.5 MB, free: 92.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.7519, allocations: 194.9 kB / 475.7 MB, free: 92.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.7532, allocations: 1.444 MB / 477.2 MB, free: 91.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008227/0.7541, allocations: 77.53 kB / 477.3 MB, free: 91.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.7542, allocations: 23.56 kB / 477.3 MB, free: 91.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7542, allocations: 8.078 kB / 477.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.7555, allocations: 491.2 kB / 477.8 MB, free: 91.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.443e-06/0.7555, allocations: 2.844 kB / 477.8 MB, free: 91.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.7557, allocations: 61.06 kB / 477.8 MB, free: 91.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.7568, allocations: 183.3 kB / 478 MB, free: 91.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7568, allocations: 17.94 kB / 478 MB, free: 91.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.7573, allocations: 58.44 kB / 478.1 MB, free: 91.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.7574, allocations: 18.8 kB / 478.1 MB, free: 91.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.7576, allocations: 120 kB / 478.2 MB, free: 91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.7578, allocations: 70.62 kB / 478.3 MB, free: 90.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.758, allocations: 73.95 kB / 478.4 MB, free: 90.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-06/0.758, allocations: 3.969 kB / 478.4 MB, free: 90.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.853e-06/0.7581, allocations: 3.969 kB / 478.4 MB, free: 90.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.25e-06/0.7581, allocations: 3.656 kB / 478.4 MB, free: 90.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.7595, allocations: 0.7291 MB / 479.1 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.7595, allocations: 0 / 479.1 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.7603, allocations: 110.7 kB / 479.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.76e-06/0.7604, allocations: 6.719 kB / 479.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.7604, allocations: 11.22 kB / 479.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.167e-06/0.7604, allocations: 3.656 kB / 479.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.244e-06/0.7605, allocations: 0 / 479.2 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.7618, allocations: 0.9439 MB / 480.2 MB, free: 90.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.7622, allocations: 195 kB / 480.4 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.7623, allocations: 11.03 kB / 480.4 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007633/0.7631, allocations: 62.3 kB / 480.4 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7632, allocations: 33.69 kB / 480.5 MB, free: 90.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.7633, allocations: 11.72 kB / 480.5 MB, free: 90.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.7638, allocations: 358.5 kB / 480.8 MB, free: 89.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.7638, allocations: 0 / 480.8 MB, free: 89.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001062/0.7649, allocations: 164.3 kB / 481 MB, free: 89.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001765/0.7651, allocations: 120.6 kB / 481.1 MB, free: 89.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.7669, allocations: 0.8891 MB / 482 MB, free: 89.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.291e-06/0.7669, allocations: 0 / 482 MB, free: 89.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.7674, allocations: 212.2 kB / 482.2 MB, free: 89.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/0.7684, allocations: 138.9 kB / 482.3 MB, free: 89.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.7708, allocations: 1.165 MB / 483.5 MB, free: 88.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.7713, allocations: 0.9501 MB / 484.5 MB, free: 88.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.7716, allocations: 45.81 kB / 484.5 MB, free: 88.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.712e-06/0.7717, allocations: 0 / 484.5 MB, free: 88.02 MB / 394.7 MB Notification: Performance of Templates: time 0.01413/0.7858, allocations: 8.947 MB / 493.4 MB, free: 85.56 MB / 394.7 MB