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.1_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.304e-05, allocations: 0 / 273 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08419/0.08425, allocations: 48.7 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.432, allocations: 83.84 MB / 405.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.4322, allocations: 66.25 kB / 405.6 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.5568, allocations: 29.3 MB / 434.9 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.5568, allocations: 0 / 434.9 MB, free: 2.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.5569, allocations: 16 kB / 435 MB, free: 2.852 MB / 330.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.002289/0.5592, allocations: 0.9397 MB / 435.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5593, allocations: 8.031 kB / 435.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.5596, allocations: 86.97 kB / 436 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5611, allocations: 0.5526 MB / 436.5 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.5612, allocations: 37.84 kB / 436.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5613, allocations: 44.69 kB / 436.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5624, allocations: 479.2 kB / 437.1 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.5625, allocations: 7.906 kB / 437.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.5625, allocations: 26.19 kB / 437.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5626, allocations: 8 kB / 437.1 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008654/0.5635, allocations: 328.9 kB / 437.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.5682, allocations: 1.925 MB / 439.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5693, allocations: 415.8 kB / 439.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.5697, allocations: 203.9 kB / 440 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.5698, allocations: 11.94 kB / 440 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5699, allocations: 38.06 kB / 440 MB, free: 14.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.978e-06/0.5699, allocations: 0 / 440 MB, free: 14.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002019/0.5719, allocations: 0.7593 MB / 440.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.572, allocations: 114.2 kB / 440.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/0.573, allocations: 0.4943 MB / 441.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.5731, allocations: 36.58 kB / 441.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.5733, allocations: 327.1 kB / 441.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5736, allocations: 177.6 kB / 441.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.5736, allocations: 12.12 kB / 441.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5738, allocations: 337.1 kB / 442.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.5744, allocations: 202.1 kB / 442.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.575, allocations: 301.3 kB / 442.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.5755, allocations: 224.3 kB / 443 MB, free: 12.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.441e-06/0.5756, allocations: 0 / 443 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001398/0.577, allocations: 0.5807 MB / 443.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.577, allocations: 8 kB / 443.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.577, allocations: 4 kB / 443.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5771, allocations: 4 kB / 443.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.5784, allocations: 191.5 kB / 443.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.5784, allocations: 8 kB / 443.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.5792, allocations: 86.69 kB / 443.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.5793, allocations: 19.69 kB / 443.9 MB, free: 11.29 MB / 346.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.0001914/0.5795, allocations: 135.3 kB / 444 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.5797, allocations: 71.16 kB / 444.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.58, allocations: 84.97 kB / 444.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.58, allocations: 4 kB / 444.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.756e-06/0.58, allocations: 0 / 444.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.519e-06/0.58, allocations: 0 / 444.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.5824, allocations: 1.165 MB / 445.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.5824, allocations: 4 kB / 445.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.5834, allocations: 112.8 kB / 445.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-06/0.5834, allocations: 0 / 445.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.5835, allocations: 21.55 kB / 445.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.58e-06/0.5835, allocations: 4 kB / 445.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.75e-06/0.5836, allocations: 0 / 445.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.5854, allocations: 1.008 MB / 446.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.5858, allocations: 195.4 kB / 446.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5859, allocations: 17.94 kB / 446.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.5867, allocations: 59.31 kB / 446.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5869, allocations: 38.62 kB / 446.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.5869, allocations: 11.19 kB / 446.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006942/0.5877, allocations: 397.1 kB / 447.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.006e-06/0.5877, allocations: 7.938 kB / 447.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008505/0.5885, allocations: 150.3 kB / 447.3 MB, free: 8.359 MB / 346.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.0003794/0.5889, allocations: 159.3 kB / 447.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.5901, allocations: 463.3 kB / 447.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.38e-06/0.5901, allocations: 0.625 kB / 447.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.5907, allocations: 222.8 kB / 448.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5917, allocations: 158 kB / 448.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5946, allocations: 1.212 MB / 449.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.5954, allocations: 0.9466 MB / 450.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.5958, allocations: 43.44 kB / 450.5 MB, free: 5.488 MB / 346.7 MB Notification: Performance of SimCode: time 1.837e-06/0.5958, allocations: 0 / 450.5 MB, free: 5.488 MB / 346.7 MB Notification: Performance of Templates: time 0.01676/0.6126, allocations: 8.242 MB / 458.8 MB, free: 13.34 MB / 362.7 MB