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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 8 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2742, allocations: 54.86 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4093, allocations: 89.91 MB / 459.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4096, allocations: 71.91 kB / 459.2 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.328/0.7376, allocations: 19.16 MB / 478.4 MB, free: 93.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.7377, allocations: 0 / 478.4 MB, free: 93.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.138e-05/0.7377, allocations: 20.41 kB / 478.4 MB, free: 93.2 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.002417/0.7402, allocations: 1.037 MB / 479.5 MB, free: 92.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7402, allocations: 9.375 kB / 479.5 MB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.7404, allocations: 84.81 kB / 479.6 MB, free: 92.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.7418, allocations: 0.5373 MB / 480.1 MB, free: 92.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.7419, allocations: 34.47 kB / 480.1 MB, free: 92.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.742, allocations: 56.55 kB / 480.2 MB, free: 92.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7434, allocations: 0.5459 MB / 480.7 MB, free: 92.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.7434, allocations: 5.891 kB / 480.7 MB, free: 92.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.7435, allocations: 20.44 kB / 480.8 MB, free: 92.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.7435, allocations: 12.44 kB / 480.8 MB, free: 92.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.7449, allocations: 470.1 kB / 481.2 MB, free: 92.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.7489, allocations: 1.932 MB / 483.2 MB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.7505, allocations: 0.5756 MB / 483.7 MB, free: 91.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.7506, allocations: 9.344 kB / 483.7 MB, free: 91.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.7506, allocations: 42.61 kB / 483.8 MB, free: 91.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.801e-06/0.7506, allocations: 3.938 kB / 483.8 MB, free: 91.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003286/0.7539, allocations: 1.159 MB / 484.9 MB, free: 91.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.754, allocations: 131.4 kB / 485.1 MB, free: 90.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/0.7549, allocations: 0.5206 MB / 485.6 MB, free: 90.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.755, allocations: 39.98 kB / 485.6 MB, free: 90.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.7552, allocations: 340.2 kB / 486 MB, free: 90.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.7554, allocations: 170.4 kB / 486.1 MB, free: 90.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.7554, allocations: 8 kB / 486.1 MB, free: 90.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.7555, allocations: 342.5 kB / 486.5 MB, free: 90.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.7563, allocations: 270 kB / 486.7 MB, free: 89.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.7572, allocations: 382.7 kB / 487.1 MB, free: 89.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/0.7581, allocations: 306.4 kB / 487.4 MB, free: 89.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7581, allocations: 3.531 kB / 487.4 MB, free: 89.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002163/0.7603, allocations: 0.7458 MB / 488.2 MB, free: 89.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.7605, allocations: 1.049 MB / 489.2 MB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.667e-06/0.7606, allocations: 7.844 kB / 489.2 MB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.7608, allocations: 55.2 kB / 489.3 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.7621, allocations: 203.4 kB / 489.5 MB, free: 88.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.7634, allocations: 1.503 MB / 491 MB, free: 86.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.7643, allocations: 92.55 kB / 491.1 MB, free: 86.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.7644, allocations: 19.38 kB / 491.1 MB, free: 86.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.7644, allocations: 3.812 kB / 491.1 MB, free: 86.87 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001958/0.7663, allocations: 0.6815 MB / 491.8 MB, free: 86.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-06/0.7664, allocations: 3.469 kB / 491.8 MB, free: 86.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.7666, allocations: 59.3 kB / 491.8 MB, free: 86.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.7677, allocations: 193.4 kB / 492 MB, free: 86.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7677, allocations: 7.125 kB / 492 MB, free: 86.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.7681, allocations: 68.75 kB / 492.1 MB, free: 86.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.7682, allocations: 19.72 kB / 492.1 MB, free: 86.57 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 () * Number of clocked 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.0004461/0.7687, allocations: 278.2 kB / 492.4 MB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.7689, allocations: 71.34 kB / 492.5 MB, free: 86.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.7691, allocations: 82.41 kB / 492.5 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.145e-06/0.7691, allocations: 3.719 kB / 492.5 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7691, allocations: 0 / 492.5 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-06/0.7691, allocations: 3.75 kB / 492.5 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.7706, allocations: 0.8189 MB / 493.4 MB, free: 85.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7707, allocations: 0 / 493.4 MB, free: 85.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.7715, allocations: 114.5 kB / 493.5 MB, free: 85.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.452e-06/0.7715, allocations: 3.688 kB / 493.5 MB, free: 85.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.7716, allocations: 19.78 kB / 493.5 MB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.702e-06/0.7716, allocations: 3.438 kB / 493.5 MB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.14e-06/0.7717, allocations: 3.953 kB / 493.5 MB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.7742, allocations: 1.203 MB / 494.7 MB, free: 85.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.7746, allocations: 192.5 kB / 494.9 MB, free: 84.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.7747, allocations: 19.7 kB / 494.9 MB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.7755, allocations: 63.11 kB / 495 MB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.7757, allocations: 40.58 kB / 495 MB, free: 84.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.7757, allocations: 6.875 kB / 495 MB, free: 84.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.7765, allocations: 429.2 kB / 495.4 MB, free: 84.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.7765, allocations: 0 / 495.4 MB, free: 84.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001045/0.7776, allocations: 200.5 kB / 495.6 MB, free: 84.73 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 () * Number of clocked 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.0001774/0.7777, allocations: 121.5 kB / 495.8 MB, free: 84.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.7808, allocations: 1.163 MB / 496.9 MB, free: 84.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7808, allocations: 0 / 496.9 MB, free: 84.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.7818, allocations: 314.5 kB / 497.2 MB, free: 84.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7829, allocations: 153.6 kB / 497.4 MB, free: 84.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.786, allocations: 1.679 MB / 499.1 MB, free: 82.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.7864, allocations: 0.9504 MB / 0.4883 GB, free: 81.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.7868, allocations: 42.53 kB / 0.4883 GB, free: 81.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.856e-06/0.7868, allocations: 0 / 0.4883 GB, free: 81.88 MB / 394.7 MB Notification: Performance of Templates: time 0.01372/0.8005, allocations: 9.062 MB / 0.4972 GB, free: 74.32 MB / 394.7 MB