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_InitialState.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_InitialState,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_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.547e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 54.85 MB / 358 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4084, allocations: 89.3 MB / 447.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4086, allocations: 63.97 kB / 447.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3505/0.7591, allocations: 26.08 MB / 473.5 MB, free: 96.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.837e-06/0.7592, allocations: 0 / 473.5 MB, free: 96.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.112e-05/0.7593, allocations: 20 kB / 473.5 MB, free: 96.71 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.001884/0.7612, allocations: 0.905 MB / 474.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7612, allocations: 10.22 kB / 474.4 MB, free: 96.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.7615, allocations: 84.44 kB / 474.5 MB, free: 96.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.7626, allocations: 0.5114 MB / 475 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.7627, allocations: 19.25 kB / 475 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.7628, allocations: 36.11 kB / 475.1 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008272/0.7637, allocations: 315.1 kB / 475.4 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/0.7646, allocations: 425.3 kB / 475.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.7646, allocations: 0.5938 kB / 475.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.7647, allocations: 0.75 kB / 475.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.7647, allocations: 13.62 kB / 475.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.7688, allocations: 1.876 MB / 477.7 MB, free: 95.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/0.7697, allocations: 451.1 kB / 478.1 MB, free: 95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.7701, allocations: 187.1 kB / 478.3 MB, free: 94.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.7702, allocations: 3.906 kB / 478.3 MB, free: 94.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.7702, allocations: 41.5 kB / 478.3 MB, free: 94.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.461e-06/0.7702, allocations: 0 / 478.3 MB, free: 94.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.00158/0.7718, allocations: 0.7291 MB / 479.1 MB, free: 94.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7719, allocations: 140.3 kB / 479.2 MB, free: 94.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.7725, allocations: 454 kB / 479.7 MB, free: 94.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.7726, allocations: 25.7 kB / 479.7 MB, free: 94.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.7728, allocations: 341.3 kB / 480 MB, free: 93.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.7729, allocations: 163.1 kB / 480.2 MB, free: 93.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.773, allocations: 3.219 kB / 480.2 MB, free: 93.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.7731, allocations: 334.2 kB / 480.5 MB, free: 93.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.7735, allocations: 186.8 kB / 480.7 MB, free: 93.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.774, allocations: 288.3 kB / 481 MB, free: 93.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.7744, allocations: 222.6 kB / 481.2 MB, free: 93.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.7745, allocations: 0 / 481.2 MB, free: 93.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001137/0.7756, allocations: 0.5175 MB / 481.7 MB, free: 92.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.7759, allocations: 1.047 MB / 482.7 MB, free: 91.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7759, allocations: 8.797 kB / 482.8 MB, free: 91.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.7759, allocations: 3.906 kB / 482.8 MB, free: 91.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.7768, allocations: 154.4 kB / 482.9 MB, free: 91.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.7768, allocations: 7.891 kB / 482.9 MB, free: 91.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.7777, allocations: 80.52 kB / 483 MB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.7778, allocations: 23.31 kB / 483 MB, free: 91.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7778, allocations: 6.406 kB / 483 MB, free: 91.83 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/0.7788, allocations: 471.4 kB / 483.5 MB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-06/0.7789, allocations: 3.844 kB / 483.5 MB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7789, allocations: 3.75 kB / 483.5 MB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.7797, allocations: 146.5 kB / 483.6 MB, free: 91.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.114e-06/0.7798, allocations: 8.156 kB / 483.6 MB, free: 91.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.7802, allocations: 57.77 kB / 483.7 MB, free: 91.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.7803, allocations: 19.62 kB / 483.7 MB, free: 91.64 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 (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0001602/0.7805, allocations: 116.8 kB / 483.8 MB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.7807, allocations: 70.38 kB / 483.9 MB, free: 91.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.7809, allocations: 75.84 kB / 484 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7809, allocations: 7.906 kB / 484 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.179e-06/0.781, allocations: 0 / 484 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.781, allocations: 3.062 kB / 484 MB, free: 91.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.7823, allocations: 0.7314 MB / 484.7 MB, free: 90.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.832e-06/0.7823, allocations: 0 / 484.7 MB, free: 90.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/0.7833, allocations: 112.5 kB / 484.8 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-06/0.7833, allocations: 4 kB / 484.8 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.7834, allocations: 14.94 kB / 484.8 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.281e-06/0.7834, allocations: 3.156 kB / 484.8 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.43e-06/0.7835, allocations: 0 / 484.8 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.7849, allocations: 0.9445 MB / 485.8 MB, free: 90.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.7852, allocations: 186.1 kB / 486 MB, free: 90.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7853, allocations: 6.609 kB / 486 MB, free: 90.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.7861, allocations: 58.03 kB / 486 MB, free: 90.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7862, allocations: 33.42 kB / 486.1 MB, free: 90.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.7863, allocations: 18.67 kB / 486.1 MB, free: 90.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004492/0.7867, allocations: 353.2 kB / 486.4 MB, free: 90.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.7868, allocations: 0 / 486.4 MB, free: 90.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009821/0.7877, allocations: 167.2 kB / 486.6 MB, free: 90.05 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.0001696/0.7879, allocations: 116.3 kB / 486.7 MB, free: 89.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.7894, allocations: 0.6963 MB / 487.4 MB, free: 89.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.658e-06/0.7894, allocations: 3.938 kB / 487.4 MB, free: 89.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.7898, allocations: 208.6 kB / 487.6 MB, free: 89.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.7908, allocations: 152.3 kB / 487.8 MB, free: 89.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.7933, allocations: 1.17 MB / 488.9 MB, free: 89.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.7937, allocations: 0.9454 MB / 489.9 MB, free: 88.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.794, allocations: 45.5 kB / 489.9 MB, free: 88.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.859e-06/0.7941, allocations: 0 / 489.9 MB, free: 88.31 MB / 394.7 MB Notification: Performance of Templates: time 0.01224/0.8063, allocations: 7.814 MB / 497.7 MB, free: 82.75 MB / 394.7 MB