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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.872/1.872, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007195/0.0007197, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.303, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4274, allocations: 83.7 MB / 415 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4277, allocations: 63.97 kB / 415 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08857/0.5163, allocations: 20.02 MB / 435.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.335e-06/0.5163, allocations: 0 / 435.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.353e-05/0.5164, allocations: 19.94 kB / 435.1 MB, free: 6.57 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.002783/0.5192, allocations: 1.055 MB / 436.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5192, allocations: 12.03 kB / 436.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.5195, allocations: 83.02 kB / 436.2 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.521, allocations: 0.5618 MB / 436.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.5211, allocations: 37 kB / 436.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.5213, allocations: 51.91 kB / 436.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.5228, allocations: 0.5569 MB / 437.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.5228, allocations: 0 / 437.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.5229, allocations: 20 kB / 437.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.5229, allocations: 11.98 kB / 437.5 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.5244, allocations: 473.8 kB / 437.9 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.529, allocations: 1.928 MB / 439.8 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5308, allocations: 0.5831 MB / 440.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.5309, allocations: 12.47 kB / 440.4 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.5309, allocations: 42.58 kB / 440.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.611e-06/0.5309, allocations: 0 / 440.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003531/0.5345, allocations: 1.16 MB / 441.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.5346, allocations: 166.2 kB / 441.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.5357, allocations: 0.5191 MB / 442.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.5358, allocations: 41.64 kB / 442.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5361, allocations: 342.8 kB / 442.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5364, allocations: 165.5 kB / 442.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.5364, allocations: 12 kB / 442.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5366, allocations: 334.8 kB / 443.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/0.5375, allocations: 273 kB / 443.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.5385, allocations: 385.8 kB / 443.8 MB, free: 13.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.5394, allocations: 308.3 kB / 444.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-06/0.5395, allocations: 0 / 444.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002264/0.5417, allocations: 0.7454 MB / 444.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5418, allocations: 8 kB / 444.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5418, allocations: 4 kB / 444.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.5421, allocations: 61.09 kB / 445 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.5433, allocations: 191.7 kB / 445.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5452, allocations: 1.51 MB / 446.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008418/0.5461, allocations: 95.88 kB / 446.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.5462, allocations: 19.94 kB / 446.8 MB, free: 10.37 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 () * 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.0004832/0.5467, allocations: 205.7 kB / 447 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.5469, allocations: 67.16 kB / 447 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.5471, allocations: 81.64 kB / 447.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.681e-06/0.5471, allocations: 4 kB / 447.1 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.355e-06/0.5472, allocations: 7.938 kB / 447.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5472, allocations: 3.984 kB / 447.1 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.549, allocations: 0.818 MB / 448 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.482e-06/0.549, allocations: 4 kB / 448 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.5499, allocations: 115.9 kB / 448.1 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.5499, allocations: 0 / 448.1 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.55, allocations: 16 kB / 448.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.983e-06/0.55, allocations: 0 / 448.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.55, allocations: 11.92 kB / 448.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.553, allocations: 1.2 MB / 449.3 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.5534, allocations: 192.3 kB / 449.5 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5536, allocations: 19.98 kB / 449.5 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/0.5544, allocations: 67.89 kB / 449.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5545, allocations: 31.95 kB / 449.6 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.5546, allocations: 19.92 kB / 449.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000914/0.5555, allocations: 435 kB / 450 MB, free: 6.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.5555, allocations: 0 / 450 MB, free: 6.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.5563, allocations: 119.9 kB / 450.2 MB, free: 6.855 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 () * 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.0002159/0.5566, allocations: 119.1 kB / 450.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.5588, allocations: 0.7337 MB / 451 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.065e-06/0.5588, allocations: 0 / 451 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.5598, allocations: 303.4 kB / 451.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5609, allocations: 165.7 kB / 451.5 MB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.5645, allocations: 1.677 MB / 453.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.5653, allocations: 0.945 MB / 454.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.5657, allocations: 51.42 kB / 454.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.815e-06/0.5657, allocations: 0 / 454.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of Templates: time 0.01739/0.5831, allocations: 9.109 MB / 463.3 MB, free: 9.688 MB / 394.7 MB