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.207/2.207, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.747e-05, allocations: 0 / 309.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 54.85 MB / 364.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.464, allocations: 89.96 MB / 454.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4643, allocations: 68.56 kB / 454.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1155/0.5798, allocations: 26.27 MB / 480.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.5799, allocations: 0 / 480.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.485e-05/0.5799, allocations: 20.78 kB / 480.8 MB, free: 12.12 MB / 410.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.00219/0.5821, allocations: 0.9038 MB / 481.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5822, allocations: 12.03 kB / 481.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.5824, allocations: 79.06 kB / 481.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.5837, allocations: 0.511 MB / 482.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.5838, allocations: 40.72 kB / 482.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5839, allocations: 47.91 kB / 482.4 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.585, allocations: 480 kB / 482.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.585, allocations: 0 / 482.9 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/0.5851, allocations: 17.41 kB / 482.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5851, allocations: 12 kB / 482.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.586, allocations: 342 kB / 483.3 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.5907, allocations: 1.976 MB / 485.2 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.5919, allocations: 467.8 kB / 485.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.5923, allocations: 198.6 kB / 485.9 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.5924, allocations: 8.031 kB / 485.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.5925, allocations: 42.52 kB / 485.9 MB, free: 6.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.238e-06/0.5925, allocations: 0 / 485.9 MB, free: 6.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001968/0.5945, allocations: 0.7665 MB / 486.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5946, allocations: 136.5 kB / 486.8 MB, free: 5.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.5955, allocations: 0.4957 MB / 487.3 MB, free: 5.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.5956, allocations: 37.7 kB / 487.4 MB, free: 5.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.5959, allocations: 338.8 kB / 487.7 MB, free: 4.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.5961, allocations: 169.5 kB / 487.9 MB, free: 4.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.5962, allocations: 8 kB / 487.9 MB, free: 4.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5963, allocations: 334.8 kB / 488.2 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.5969, allocations: 193.1 kB / 488.4 MB, free: 4.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.5975, allocations: 305 kB / 488.7 MB, free: 3.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.5981, allocations: 236.4 kB / 488.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5981, allocations: 0 / 488.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001398/0.5995, allocations: 0.5683 MB / 489.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005775/0.6001, allocations: 1.047 MB / 490.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.6001, allocations: 7.984 kB / 490.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.6002, allocations: 15.94 kB / 490.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.6011, allocations: 143.8 kB / 490.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.6011, allocations: 4 kB / 490.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.6019, allocations: 91.62 kB / 490.8 MB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.602, allocations: 16 kB / 490.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.602, allocations: 4 kB / 490.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.6033, allocations: 0.5305 MB / 491.3 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-06/0.6033, allocations: 0 / 491.3 MB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.6033, allocations: 8 kB / 491.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.6042, allocations: 144.1 kB / 491.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.6042, allocations: 8 kB / 491.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.6046, allocations: 67.66 kB / 491.6 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.6047, allocations: 19.95 kB / 491.6 MB, free: 0.9609 MB / 410.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.0001995/0.6049, allocations: 136.8 kB / 491.7 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.6052, allocations: 75.14 kB / 491.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.6055, allocations: 77.42 kB / 491.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.319e-06/0.6055, allocations: 4 kB / 491.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6055, allocations: 4 kB / 491.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.482e-06/0.6055, allocations: 0 / 491.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6073, allocations: 0.7985 MB / 492.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.316e-06/0.6074, allocations: 4 kB / 492.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000936/0.6083, allocations: 111.9 kB / 492.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.6083, allocations: 4 kB / 492.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.6084, allocations: 12 kB / 492.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.233e-06/0.6085, allocations: 7.984 kB / 492.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.633e-06/0.6085, allocations: 8.047 kB / 492.8 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.6103, allocations: 0.9625 MB / 493.8 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.6107, allocations: 192.3 kB / 494 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6108, allocations: 19.89 kB / 494 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.6116, allocations: 63.94 kB / 494.1 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6118, allocations: 39.94 kB / 494.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.6118, allocations: 12 kB / 494.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000682/0.6125, allocations: 399.2 kB / 494.5 MB, free: 13.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.95e-07/0.6125, allocations: 4 kB / 494.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001045/0.6136, allocations: 184 kB / 494.7 MB, free: 13.75 MB / 426.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.0002199/0.6138, allocations: 135 kB / 494.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.6156, allocations: 0.7347 MB / 495.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.822e-06/0.6157, allocations: 0 / 495.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.6162, allocations: 215.8 kB / 495.8 MB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6173, allocations: 150.8 kB / 495.9 MB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.6203, allocations: 1.192 MB / 497.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/0.6211, allocations: 0.9494 MB / 498 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.6214, allocations: 39.44 kB / 498.1 MB, free: 10.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.907e-06/0.6214, allocations: 0 / 498.1 MB, free: 10.28 MB / 426.7 MB Notification: Performance of Templates: time 0.01569/0.6371, allocations: 7.946 MB / 0.4942 GB, free: 2.344 MB / 426.7 MB