Running command: translateModel(ModelicaTest.Blocks.Continuous,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_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235 MB / 247.2 MB, free: 14.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.928e-05, allocations: 8.922 kB / 304.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 54.85 MB / 359.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.4693, allocations: 89.56 MB / 449.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4696, allocations: 63.98 kB / 449.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06076/0.5304, allocations: 13.7 MB / 463.1 MB, free: 9.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.726e-06/0.5304, allocations: 0 / 463.1 MB, free: 9.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.163e-05/0.5305, allocations: 16 kB / 463.1 MB, free: 9.609 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.002114/0.5326, allocations: 0.8998 MB / 464 MB, free: 8.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5327, allocations: 8.031 kB / 464 MB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.5329, allocations: 86.97 kB / 464.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5342, allocations: 0.5149 MB / 464.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.5343, allocations: 32.78 kB / 464.7 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.5344, allocations: 59.83 kB / 464.7 MB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5356, allocations: 474.4 kB / 465.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.5356, allocations: 4 kB / 465.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/0.5357, allocations: 20 kB / 465.2 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5357, allocations: 12 kB / 465.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.5367, allocations: 337 kB / 465.5 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.5415, allocations: 1.963 MB / 467.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.5427, allocations: 462.8 kB / 468 MB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.5432, allocations: 197.7 kB / 468.2 MB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.5432, allocations: 4 kB / 468.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.5433, allocations: 38.59 kB / 468.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.09e-06/0.5433, allocations: 8 kB / 468.2 MB, free: 4.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002022/0.5454, allocations: 0.7549 MB / 469 MB, free: 3.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5455, allocations: 136.5 kB / 469.1 MB, free: 3.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/0.5464, allocations: 0.4918 MB / 469.6 MB, free: 2.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.5465, allocations: 37.7 kB / 469.6 MB, free: 2.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.5469, allocations: 324.4 kB / 469.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.5471, allocations: 174.5 kB / 470.1 MB, free: 2.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.5472, allocations: 12 kB / 470.1 MB, free: 2.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.5474, allocations: 378.8 kB / 470.5 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.548, allocations: 197.1 kB / 470.7 MB, free: 1.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.5486, allocations: 311.7 kB / 471 MB, free: 1.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.5492, allocations: 225.3 kB / 471.2 MB, free: 1.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.749e-06/0.5492, allocations: 0 / 471.2 MB, free: 1.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001581/0.5508, allocations: 0.5983 MB / 471.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006698/0.5515, allocations: 1.055 MB / 472.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5516, allocations: 4.562 kB / 472.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.5516, allocations: 4 kB / 472.9 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.5526, allocations: 163.7 kB / 473 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.5526, allocations: 4 kB / 473 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.5534, allocations: 95.53 kB / 473.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.5535, allocations: 19.98 kB / 473.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5535, allocations: 5.031 kB / 473.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.5549, allocations: 0.5075 MB / 473.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5549, allocations: 4 kB / 473.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5549, allocations: 4 kB / 473.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.5558, allocations: 148.1 kB / 473.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.5558, allocations: 7.984 kB / 473.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.5566, allocations: 83.64 kB / 473.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.5566, allocations: 20 kB / 473.9 MB, free: 14.39 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.0002169/0.5569, allocations: 128.8 kB / 474 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.5571, allocations: 83.17 kB / 474.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.5574, allocations: 77.42 kB / 474.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.694e-06/0.5574, allocations: 5.5 kB / 474.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-06/0.5574, allocations: 4 kB / 474.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5574, allocations: 0 / 474.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.5591, allocations: 0.7946 MB / 475 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.628e-06/0.5592, allocations: 0 / 475 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/0.5602, allocations: 119.9 kB / 475.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-06/0.5602, allocations: 0 / 475.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.5603, allocations: 12 kB / 475.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.079e-06/0.5603, allocations: 3.984 kB / 475.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.637e-06/0.5603, allocations: 4 kB / 475.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5622, allocations: 0.9734 MB / 476.1 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.5627, allocations: 192.2 kB / 476.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5628, allocations: 16 kB / 476.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.5636, allocations: 59.94 kB / 476.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.5638, allocations: 43.89 kB / 476.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.5639, allocations: 12 kB / 476.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007202/0.5646, allocations: 400.1 kB / 476.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5646, allocations: 0 / 476.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001081/0.5657, allocations: 191.9 kB / 477 MB, free: 11.19 MB / 410.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.0002324/0.566, allocations: 123.2 kB / 477.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.5679, allocations: 0.7569 MB / 477.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.824e-06/0.5679, allocations: 1.25 kB / 477.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.5685, allocations: 207.8 kB / 478.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5696, allocations: 166.1 kB / 478.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5726, allocations: 1.138 MB / 479.4 MB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.5734, allocations: 0.9468 MB / 480.3 MB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.5745, allocations: 194.7 kB / 480.5 MB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5747, allocations: 39.44 kB / 480.6 MB, free: 7.566 MB / 410.7 MB Notification: Performance of SimCode: time 1.678e-06/0.5747, allocations: 0 / 480.6 MB, free: 7.566 MB / 410.7 MB Notification: Performance of Templates: time 0.02275/0.5975, allocations: 7.558 MB / 488.1 MB, free: 36 kB / 410.7 MB