Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.448e-05/1.454e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4156, allocations: 82.93 MB / 402.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.416, allocations: 71.95 kB / 403 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1438/0.5598, allocations: 19.87 MB / 422.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.538e-06/0.5599, allocations: 3.938 kB / 422.9 MB, free: 9.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.222e-05/0.56, allocations: 20.38 kB / 422.9 MB, free: 9.484 MB / 362.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.003629/0.5636, allocations: 0.919 MB / 423.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5637, allocations: 8.031 kB / 423.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.5641, allocations: 87.02 kB / 423.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.5663, allocations: 0.5343 MB / 424.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.5664, allocations: 16 kB / 424.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.5667, allocations: 35.98 kB / 424.5 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/0.5681, allocations: 309.5 kB / 424.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5698, allocations: 430 kB / 425.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.5698, allocations: 4 kB / 425.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.466e-05/0.5699, allocations: 4 kB / 425.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.57, allocations: 8 kB / 425.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007237/0.5772, allocations: 1.853 MB / 427.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.579, allocations: 451.9 kB / 427.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007277/0.5798, allocations: 188.4 kB / 427.7 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/0.5799, allocations: 8.094 kB / 427.7 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.58, allocations: 42.36 kB / 427.8 MB, free: 4.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 8.241e-06/0.58, allocations: 4 kB / 427.8 MB, free: 4.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.009934/0.59, allocations: 0.7232 MB / 428.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.5901, allocations: 162.3 kB / 428.6 MB, free: 3.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.5915, allocations: 459.6 kB / 429.1 MB, free: 3.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.5916, allocations: 25.7 kB / 429.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.592, allocations: 342.7 kB / 429.5 MB, free: 2.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.5924, allocations: 161.6 kB / 429.6 MB, free: 2.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.5925, allocations: 0 / 429.6 MB, free: 2.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.5927, allocations: 330.9 kB / 429.9 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007961/0.5936, allocations: 177.1 kB / 430.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.5946, allocations: 296.7 kB / 430.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.5955, allocations: 213.3 kB / 430.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5956, allocations: 0 / 430.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00271/0.5983, allocations: 0.5427 MB / 431.1 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.5984, allocations: 4 kB / 431.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5984, allocations: 4 kB / 431.2 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/0.6097, allocations: 56.81 kB / 431.2 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/0.6133, allocations: 192 kB / 431.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.6169, allocations: 1.443 MB / 432.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6186, allocations: 83.72 kB / 432.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.6188, allocations: 20 kB / 432.9 MB, free: 14.96 MB / 378.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.0003741/0.6192, allocations: 116.8 kB / 433.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.6197, allocations: 71.11 kB / 433.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.6201, allocations: 73.17 kB / 433.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.6202, allocations: 4 kB / 433.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.512e-06/0.6202, allocations: 4 kB / 433.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.6203, allocations: 8.016 kB / 433.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.6236, allocations: 0.7288 MB / 433.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.602e-06/0.6237, allocations: 0 / 433.9 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/0.6256, allocations: 115.9 kB / 434.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.975e-05/0.6257, allocations: 4 kB / 434.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.6258, allocations: 7.984 kB / 434.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.6259, allocations: 7.938 kB / 434.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.324e-06/0.6259, allocations: 0 / 434.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.6296, allocations: 0.9453 MB / 435 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/0.6303, allocations: 184.4 kB / 435.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.6306, allocations: 11.92 kB / 435.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.6324, allocations: 59.94 kB / 435.3 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6327, allocations: 35.94 kB / 435.3 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.6328, allocations: 12 kB / 435.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.6341, allocations: 355.1 kB / 435.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.663e-06/0.6341, allocations: 0 / 435.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001826/0.636, allocations: 111.9 kB / 435.8 MB, free: 12.03 MB / 378.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.0003713/0.6364, allocations: 115.2 kB / 435.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.6392, allocations: 0.5299 MB / 436.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.123e-06/0.6393, allocations: 0 / 436.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6404, allocations: 210 kB / 436.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.6426, allocations: 139.2 kB / 436.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.6485, allocations: 1.16 MB / 437.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.65, allocations: 0.9489 MB / 438.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.6507, allocations: 51.36 kB / 438.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of SimCode: time 2.717e-06/0.6507, allocations: 4 kB / 438.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of Templates: time 0.2321/0.8828, allocations: 9.006 MB / 447.9 MB, free: 106 MB / 378.7 MB