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_InitialState.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_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.1_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.459e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2589, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3835, allocations: 83.08 MB / 403.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.3838, allocations: 59.98 kB / 403.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.503, allocations: 27.83 MB / 431 MB, free: 1.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.503, allocations: 0 / 431 MB, free: 1.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.534e-05/0.5031, allocations: 24.38 kB / 431 MB, free: 1.352 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.002108/0.5052, allocations: 0.9189 MB / 431.9 MB, free: 396 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5053, allocations: 12.03 kB / 431.9 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.5055, allocations: 79.06 kB / 432 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5069, allocations: 0.5383 MB / 432.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.5069, allocations: 12 kB / 432.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5071, allocations: 39.98 kB / 432.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008473/0.5079, allocations: 309.5 kB / 432.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.5089, allocations: 430 kB / 433.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.5089, allocations: 3.906 kB / 433.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.509, allocations: 11.95 kB / 433.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5091, allocations: 8 kB / 433.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.5135, allocations: 1.888 MB / 435.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.5146, allocations: 453.1 kB / 435.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.515, allocations: 184 kB / 435.8 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.5151, allocations: 7.938 kB / 435.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.5152, allocations: 38.56 kB / 435.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.977e-06/0.5152, allocations: 0 / 435.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001831/0.517, allocations: 0.7236 MB / 436.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.5172, allocations: 162.2 kB / 436.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.5179, allocations: 459.6 kB / 437.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.518, allocations: 29.7 kB / 437.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.5183, allocations: 334.8 kB / 437.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.5185, allocations: 165.5 kB / 437.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.5186, allocations: 4.094 kB / 437.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.5188, allocations: 338.8 kB / 438.1 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.5192, allocations: 181.1 kB / 438.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.5198, allocations: 300.7 kB / 438.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.5204, allocations: 222.2 kB / 438.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.474e-06/0.5204, allocations: 8.031 kB / 438.8 MB, free: 9.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001271/0.5217, allocations: 0.5145 MB / 439.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.5217, allocations: 4 kB / 439.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5217, allocations: 4 kB / 439.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.5218, allocations: 4 kB / 439.3 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.5226, allocations: 152.1 kB / 439.4 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5226, allocations: 4 kB / 439.5 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.5234, allocations: 79.62 kB / 439.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.5235, allocations: 23.98 kB / 439.6 MB, free: 8.445 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 (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.0001819/0.5237, allocations: 116.8 kB / 439.7 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.5239, allocations: 71.16 kB / 439.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.5241, allocations: 73.17 kB / 439.8 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-06/0.5241, allocations: 8 kB / 439.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-06/0.5241, allocations: 0 / 439.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5242, allocations: 3.984 kB / 439.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5257, allocations: 0.7288 MB / 440.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-06/0.5257, allocations: 0 / 440.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.5266, allocations: 115.9 kB / 440.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.5266, allocations: 4 kB / 440.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.5267, allocations: 11.98 kB / 440.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5267, allocations: 4 kB / 440.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5267, allocations: 0 / 440.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.5284, allocations: 0.9414 MB / 441.6 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.5287, allocations: 184.4 kB / 441.8 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5289, allocations: 8 kB / 441.8 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/0.5296, allocations: 63.92 kB / 441.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5298, allocations: 31.95 kB / 441.9 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.5299, allocations: 19.94 kB / 441.9 MB, free: 5.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005738/0.5304, allocations: 359.1 kB / 442.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5305, allocations: 0 / 442.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000727/0.5312, allocations: 95.94 kB / 442.4 MB, free: 5.531 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.0002031/0.5314, allocations: 123.1 kB / 442.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.5325, allocations: 435.6 kB / 442.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.5325, allocations: 0 / 442.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.533, allocations: 212.4 kB / 443.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.534, allocations: 141.2 kB / 443.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.5368, allocations: 1.164 MB / 444.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.5376, allocations: 0.9501 MB / 445.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.5379, allocations: 39.44 kB / 445.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.852e-06/0.5379, allocations: 4 kB / 445.4 MB, free: 2.406 MB / 378.7 MB Notification: Performance of Templates: time 0.2258/0.7637, allocations: 7.885 MB / 453.3 MB, free: 105.1 MB / 378.7 MB