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_InitialOutput.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_InitialOutput,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_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.033e-05, allocations: 7.938 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.3994, allocations: 89.38 MB / 447.4 MB, free: 5.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3996, allocations: 67.97 kB / 447.5 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3511/0.7507, allocations: 27.42 MB / 474.9 MB, free: 96.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.469e-06/0.7508, allocations: 0 / 474.9 MB, free: 96.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.196e-05/0.7508, allocations: 19.12 kB / 474.9 MB, free: 96.8 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.001947/0.7528, allocations: 0.9235 MB / 475.9 MB, free: 96.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7529, allocations: 11.91 kB / 475.9 MB, free: 96.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.7531, allocations: 81.38 kB / 475.9 MB, free: 96.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.7542, allocations: 0.5367 MB / 476.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.7543, allocations: 14 kB / 476.5 MB, free: 95.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.7544, allocations: 35.19 kB / 476.5 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007434/0.7552, allocations: 308.3 kB / 476.8 MB, free: 95.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.756, allocations: 419.7 kB / 477.2 MB, free: 95.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.756, allocations: 6.562 kB / 477.2 MB, free: 95.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.7561, allocations: 3.422 kB / 477.2 MB, free: 95.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.7561, allocations: 7.719 kB / 477.3 MB, free: 95.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.7598, allocations: 1.841 MB / 479.1 MB, free: 95.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.7606, allocations: 407.6 kB / 479.5 MB, free: 95.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.7609, allocations: 192.3 kB / 479.7 MB, free: 94.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.761, allocations: 8.812 kB / 479.7 MB, free: 94.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.761, allocations: 42.31 kB / 479.7 MB, free: 94.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.008e-06/0.761, allocations: 3.797 kB / 479.7 MB, free: 94.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001497/0.7625, allocations: 0.7199 MB / 480.5 MB, free: 94.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7626, allocations: 114.7 kB / 480.6 MB, free: 94.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.7632, allocations: 453.1 kB / 481 MB, free: 94.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.7633, allocations: 25.7 kB / 481 MB, free: 94.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.7635, allocations: 337.9 kB / 481.4 MB, free: 93.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.7636, allocations: 172.5 kB / 481.5 MB, free: 93.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.7637, allocations: 0 / 481.5 MB, free: 93.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.7637, allocations: 332.9 kB / 481.9 MB, free: 93.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.7641, allocations: 181.4 kB / 482 MB, free: 93.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.7646, allocations: 286.9 kB / 482.3 MB, free: 93.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.7652, allocations: 234.4 kB / 482.5 MB, free: 93.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-06/0.7652, allocations: 0 / 482.5 MB, free: 93.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001189/0.7664, allocations: 0.5251 MB / 483.1 MB, free: 92.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.7666, allocations: 1.053 MB / 484.1 MB, free: 91.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7667, allocations: 7.859 kB / 484.1 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.7667, allocations: 3.594 kB / 484.1 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7679, allocations: 204.7 kB / 484.3 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7679, allocations: 7.156 kB / 484.3 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.7686, allocations: 76.08 kB / 484.4 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.7686, allocations: 22.09 kB / 484.4 MB, free: 91.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.7687, allocations: 3.906 kB / 484.4 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.7698, allocations: 492 kB / 484.9 MB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.791e-06/0.7698, allocations: 2.734 kB / 484.9 MB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.802e-06/0.7698, allocations: 6.844 kB / 484.9 MB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.771, allocations: 194.9 kB / 485.1 MB, free: 91.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.457e-06/0.7711, allocations: 7.062 kB / 485.1 MB, free: 91.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.7715, allocations: 56.58 kB / 485.2 MB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.7715, allocations: 19.44 kB / 485.2 MB, free: 91.51 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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001375/0.7717, allocations: 122.8 kB / 485.3 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.7719, allocations: 66.38 kB / 485.4 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.7721, allocations: 76.55 kB / 485.5 MB, free: 91.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-06/0.7721, allocations: 3.656 kB / 485.5 MB, free: 91.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-06/0.7721, allocations: 4 kB / 485.5 MB, free: 91.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.595e-06/0.7722, allocations: 6.938 kB / 485.5 MB, free: 91.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.774, allocations: 1.079 MB / 486.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.235e-06/0.774, allocations: 0 / 486.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/0.775, allocations: 114.9 kB / 486.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.775, allocations: 3.844 kB / 486.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.7751, allocations: 10.97 kB / 486.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.133e-06/0.7751, allocations: 3.906 kB / 486.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.418e-06/0.7751, allocations: 0 / 486.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.7766, allocations: 0.9895 MB / 487.7 MB, free: 90.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.7768, allocations: 183.4 kB / 487.9 MB, free: 89.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.777, allocations: 14.47 kB / 487.9 MB, free: 89.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.7778, allocations: 45.62 kB / 487.9 MB, free: 89.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7779, allocations: 37.12 kB / 487.9 MB, free: 89.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.778, allocations: 21.55 kB / 488 MB, free: 89.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004653/0.7784, allocations: 346.2 kB / 488.3 MB, free: 89.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.7785, allocations: 3.812 kB / 488.3 MB, free: 89.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001082/0.7796, allocations: 189.5 kB / 488.5 MB, free: 89.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.0003206/0.7799, allocations: 155.7 kB / 488.6 MB, free: 89.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.7814, allocations: 0.7027 MB / 489.4 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7814, allocations: 0 / 489.4 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.7819, allocations: 214 kB / 489.6 MB, free: 89.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.7829, allocations: 162.2 kB / 489.7 MB, free: 89.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.7852, allocations: 1.184 MB / 490.9 MB, free: 88.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.7857, allocations: 0.9446 MB / 491.8 MB, free: 87.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.786, allocations: 43.44 kB / 491.9 MB, free: 87.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.605e-06/0.786, allocations: 0 / 491.9 MB, free: 87.44 MB / 394.7 MB Notification: Performance of Templates: time 0.01267/0.7987, allocations: 8.185 MB / 0.4884 GB, free: 80.38 MB / 394.7 MB