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.844/1.844, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.62e-05, allocations: 0 / 273 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08429, allocations: 48.7 MB / 321.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4274, allocations: 83.74 MB / 405.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.4276, allocations: 61.81 kB / 405.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1179/0.5455, allocations: 27.97 MB / 433.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.649e-06/0.5456, allocations: 0 / 433.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.242e-05/0.5457, allocations: 28.31 kB / 433.5 MB, free: 4.047 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.002185/0.5479, allocations: 0.9177 MB / 434.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5479, allocations: 8.031 kB / 434.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.5482, allocations: 83.06 kB / 434.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.5495, allocations: 0.5312 MB / 435.1 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.5496, allocations: 38.66 kB / 435.1 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5497, allocations: 49.36 kB / 435.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5508, allocations: 487.5 kB / 435.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5508, allocations: 3.906 kB / 435.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.5509, allocations: 24.88 kB / 435.7 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.5509, allocations: 11.95 kB / 435.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.5518, allocations: 334.7 kB / 436 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.5563, allocations: 1.969 MB / 438 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5574, allocations: 467.2 kB / 438.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.5579, allocations: 194.5 kB / 438.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.5579, allocations: 4 kB / 438.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.558, allocations: 38.47 kB / 438.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.907e-06/0.558, allocations: 4 kB / 438.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001879/0.5599, allocations: 0.7608 MB / 439.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.56, allocations: 162.2 kB / 439.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.5609, allocations: 0.501 MB / 440.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.561, allocations: 38.27 kB / 440.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.5613, allocations: 338.7 kB / 440.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.5615, allocations: 170 kB / 440.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.5615, allocations: 12.81 kB / 440.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5617, allocations: 336.8 kB / 441 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.5622, allocations: 192.3 kB / 441.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.5628, allocations: 314.6 kB / 441.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.5634, allocations: 224 kB / 441.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5634, allocations: 0 / 441.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001335/0.5648, allocations: 0.5633 MB / 442.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5648, allocations: 4 kB / 442.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5648, allocations: 4.312 kB / 442.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.5649, allocations: 12 kB / 442.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.5658, allocations: 143.4 kB / 442.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.5658, allocations: 4 kB / 442.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.5666, allocations: 102.2 kB / 442.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.5667, allocations: 19.75 kB / 442.5 MB, free: 12.44 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 (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.0001864/0.5669, allocations: 134.8 kB / 442.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.5671, allocations: 71.16 kB / 442.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.5673, allocations: 79.86 kB / 442.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-06/0.5674, allocations: 4 kB / 442.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.952e-06/0.5674, allocations: 0 / 442.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.857e-06/0.5674, allocations: 3.984 kB / 442.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.569, allocations: 0.7982 MB / 443.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-06/0.569, allocations: 0 / 443.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009361/0.57, allocations: 119.4 kB / 443.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.57, allocations: 4 kB / 443.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.5701, allocations: 11.75 kB / 443.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.082e-06/0.5701, allocations: 4 kB / 443.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-06/0.5701, allocations: 0 / 443.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5718, allocations: 0.9749 MB / 444.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.5722, allocations: 192.4 kB / 444.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5723, allocations: 14.31 kB / 444.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.5731, allocations: 71.06 kB / 445 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.5733, allocations: 42.33 kB / 445 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.5734, allocations: 8 kB / 445 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006706/0.574, allocations: 403.6 kB / 445.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.5741, allocations: 0 / 445.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007498/0.5748, allocations: 117.8 kB / 445.5 MB, free: 9.883 MB / 346.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.0002255/0.5751, allocations: 122.3 kB / 445.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.5762, allocations: 452.1 kB / 446.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.645e-06/0.5762, allocations: 4.188 kB / 446.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.5767, allocations: 219 kB / 446.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5779, allocations: 152 kB / 446.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.5809, allocations: 1.185 MB / 447.7 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.5817, allocations: 0.9489 MB / 448.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.5821, allocations: 43.44 kB / 448.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of SimCode: time 1.988e-06/0.5821, allocations: 0 / 448.7 MB, free: 7.082 MB / 346.7 MB Notification: Performance of Templates: time 0.01632/0.5984, allocations: 7.971 MB / 456.6 MB, free: 15.23 MB / 362.7 MB