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.1_cpp_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.467e-05, allocations: 6.812 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 48.69 MB / 321.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4669, allocations: 83.34 MB / 405.1 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.4671, allocations: 65.02 kB / 405.1 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05661/0.5237, allocations: 14.57 MB / 419.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.5238, allocations: 0 / 419.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.5238, allocations: 23.81 kB / 419.7 MB, free: 15.45 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.002087/0.5259, allocations: 0.9106 MB / 420.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.526, allocations: 12.03 kB / 420.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.5262, allocations: 86.92 kB / 420.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5275, allocations: 0.5349 MB / 421.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.5276, allocations: 32.47 kB / 421.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5277, allocations: 52.09 kB / 421.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5287, allocations: 484.8 kB / 421.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5288, allocations: 0 / 421.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.5289, allocations: 21.92 kB / 421.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5289, allocations: 15.94 kB / 421.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.5297, allocations: 330.7 kB / 422.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.534, allocations: 1.969 MB / 424.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5351, allocations: 465.5 kB / 424.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.5356, allocations: 192.1 kB / 424.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.5356, allocations: 4 kB / 424.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.5357, allocations: 49.95 kB / 424.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.093e-06/0.5357, allocations: 0 / 424.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001862/0.5376, allocations: 0.7587 MB / 425.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5377, allocations: 162.2 kB / 425.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.5385, allocations: 0.502 MB / 426.3 MB, free: 9.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.5386, allocations: 35.73 kB / 426.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.5389, allocations: 341 kB / 426.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5391, allocations: 169.3 kB / 426.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.5391, allocations: 10.25 kB / 426.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5393, allocations: 332.8 kB / 427.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.5398, allocations: 195.8 kB / 427.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.5404, allocations: 312.3 kB / 427.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.541, allocations: 230.4 kB / 427.9 MB, free: 8.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.091e-06/0.541, allocations: 4 kB / 427.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001299/0.5423, allocations: 0.5572 MB / 428.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5423, allocations: 9.406 kB / 428.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5423, allocations: 4 kB / 428.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5424, allocations: 4 kB / 428.5 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.5432, allocations: 147.4 kB / 428.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.5433, allocations: 12.02 kB / 428.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.544, allocations: 93.97 kB / 428.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.544, allocations: 18.75 kB / 428.7 MB, free: 7.871 MB / 330.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.0001782/0.5442, allocations: 137 kB / 428.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.5445, allocations: 71.11 kB / 428.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5447, allocations: 83.95 kB / 429 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.061e-06/0.5447, allocations: 7.938 kB / 429 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5447, allocations: 4 kB / 429 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.76e-06/0.5447, allocations: 3.984 kB / 429 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5462, allocations: 0.8009 MB / 429.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5463, allocations: 0 / 429.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/0.5471, allocations: 115.4 kB / 429.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.348e-06/0.5472, allocations: 0 / 429.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.5472, allocations: 14.44 kB / 429.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.5473, allocations: 4 kB / 430 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5473, allocations: 3.984 kB / 430 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.549, allocations: 0.9717 MB / 430.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.5494, allocations: 196.7 kB / 431.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5495, allocations: 15.81 kB / 431.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.5503, allocations: 63.69 kB / 431.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5504, allocations: 39.75 kB / 431.2 MB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.228e-05/0.5505, allocations: 19.81 kB / 431.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.5511, allocations: 397.4 kB / 431.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5511, allocations: 0 / 431.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007301/0.5519, allocations: 113.9 kB / 431.8 MB, free: 5.316 MB / 330.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.0002004/0.5521, allocations: 122.8 kB / 431.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.5531, allocations: 457.8 kB / 432.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.5532, allocations: 0 / 432.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.5537, allocations: 220.2 kB / 432.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.5547, allocations: 147.6 kB / 432.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.5574, allocations: 1.184 MB / 433.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.5582, allocations: 0.9477 MB / 434.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.5585, allocations: 43.44 kB / 434.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of SimCode: time 1.409e-06/0.5585, allocations: 0 / 434.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of Templates: time 0.01529/0.5738, allocations: 7.97 MB / 442.8 MB, free: 10.65 MB / 346.7 MB