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/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_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.083/2.083, allocations: 234.9 MB / 250.5 MB, free: 9.445 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004452, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2709, allocations: 54.86 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4042, allocations: 90.06 MB / 459.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4044, allocations: 67.97 kB / 459.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3491/0.7536, allocations: 26.3 MB / 485.7 MB, free: 93.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.672e-06/0.7536, allocations: 0 / 485.7 MB, free: 93.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.098e-05/0.7537, allocations: 26.69 kB / 485.7 MB, free: 93.73 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.002337/0.7561, allocations: 1.034 MB / 486.7 MB, free: 93.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7561, allocations: 11.53 kB / 486.8 MB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.7563, allocations: 77.97 kB / 486.8 MB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.7575, allocations: 0.5417 MB / 487.4 MB, free: 92.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.7576, allocations: 39.39 kB / 487.4 MB, free: 92.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7577, allocations: 52.75 kB / 487.5 MB, free: 92.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.759, allocations: 0.5442 MB / 488 MB, free: 92.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.759, allocations: 0 / 488 MB, free: 92.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.7591, allocations: 19.53 kB / 488 MB, free: 92.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.7591, allocations: 7.406 kB / 488 MB, free: 92.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.7605, allocations: 480.7 kB / 488.5 MB, free: 92.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.7643, allocations: 1.97 MB / 490.5 MB, free: 91.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.7659, allocations: 0.5802 MB / 491.1 MB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.766, allocations: 4.844 kB / 491.1 MB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.766, allocations: 42.97 kB / 491.1 MB, free: 90.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.701e-06/0.766, allocations: 0 / 491.1 MB, free: 90.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003166/0.7692, allocations: 1.158 MB / 492.3 MB, free: 90.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7693, allocations: 143.5 kB / 492.4 MB, free: 90.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.7702, allocations: 0.5227 MB / 492.9 MB, free: 90.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.7703, allocations: 37.55 kB / 493 MB, free: 90 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.7705, allocations: 339 kB / 493.3 MB, free: 89.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.7707, allocations: 166.3 kB / 493.5 MB, free: 89.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.7707, allocations: 11.47 kB / 493.5 MB, free: 89.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.7708, allocations: 331.7 kB / 493.8 MB, free: 89.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.7716, allocations: 274.5 kB / 494.1 MB, free: 89.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.7725, allocations: 393.1 kB / 494.4 MB, free: 88.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.7734, allocations: 311.5 kB / 494.7 MB, free: 88.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7735, allocations: 0 / 494.7 MB, free: 88.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002059/0.7755, allocations: 0.7282 MB / 495.5 MB, free: 88.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.7758, allocations: 1.047 MB / 496.5 MB, free: 87.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7758, allocations: 3.953 kB / 496.5 MB, free: 87.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.7758, allocations: 7.844 kB / 496.5 MB, free: 87.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.7767, allocations: 152.1 kB / 496.7 MB, free: 87.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.7767, allocations: 10.08 kB / 496.7 MB, free: 87.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.7775, allocations: 91.59 kB / 496.8 MB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.7776, allocations: 28.72 kB / 496.8 MB, free: 87.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.443e-06/0.7776, allocations: 6.969 kB / 496.8 MB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/0.7795, allocations: 0.6553 MB / 497.5 MB, free: 86.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7795, allocations: 4 kB / 497.5 MB, free: 86.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.696e-06/0.7795, allocations: 4 kB / 497.5 MB, free: 86.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.7804, allocations: 144.1 kB / 497.6 MB, free: 86.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.7804, allocations: 8 kB / 497.6 MB, free: 86.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.7809, allocations: 67.66 kB / 497.7 MB, free: 86.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.7809, allocations: 20 kB / 497.7 MB, free: 86.45 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 (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.0004246/0.7814, allocations: 276.9 kB / 498 MB, free: 86.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.7816, allocations: 71.16 kB / 498 MB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.7818, allocations: 77.64 kB / 498.1 MB, free: 86.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.558e-06/0.7818, allocations: 7.984 kB / 498.1 MB, free: 86.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.763e-06/0.7818, allocations: 4 kB / 498.1 MB, free: 86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.7819, allocations: 0 / 498.1 MB, free: 86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.7833, allocations: 0.8214 MB / 499 MB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7834, allocations: 0 / 499 MB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009731/0.7844, allocations: 119.8 kB / 499.1 MB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.849e-06/0.7844, allocations: 4 kB / 499.1 MB, free: 85.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.7845, allocations: 19.98 kB / 499.1 MB, free: 85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.069e-06/0.7845, allocations: 3.562 kB / 499.1 MB, free: 85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-06/0.7845, allocations: 0 / 499.1 MB, free: 85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.7872, allocations: 1.203 MB / 0.4886 GB, free: 83.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.7875, allocations: 188.4 kB / 0.4888 GB, free: 83.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.7876, allocations: 16 kB / 0.4888 GB, free: 83.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.7885, allocations: 63.89 kB / 0.4888 GB, free: 83.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7886, allocations: 39.94 kB / 0.4889 GB, free: 83.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.7887, allocations: 15.98 kB / 0.4889 GB, free: 83.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007402/0.7895, allocations: 423 kB / 0.4893 GB, free: 83.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.7895, allocations: 0 / 0.4893 GB, free: 83.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009856/0.7905, allocations: 192 kB / 0.4895 GB, free: 82.82 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.0001756/0.7907, allocations: 131 kB / 0.4896 GB, free: 82.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.7932, allocations: 0.9682 MB / 0.4905 GB, free: 81.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7932, allocations: 0 / 0.4905 GB, free: 81.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.794, allocations: 300.5 kB / 0.4908 GB, free: 81.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.795, allocations: 149.9 kB / 0.491 GB, free: 81.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.7979, allocations: 1.688 MB / 0.4926 GB, free: 79.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.7984, allocations: 0.9493 MB / 0.4935 GB, free: 78.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.7987, allocations: 39.44 kB / 0.4936 GB, free: 78.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.687e-06/0.7987, allocations: 0 / 0.4936 GB, free: 78.55 MB / 394.7 MB Notification: Performance of Templates: time 0.01204/0.8108, allocations: 7.949 MB / 0.5014 GB, free: 70.68 MB / 394.7 MB