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_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.087/2.087, allocations: 209.3 MB / 221.5 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.012e-05, allocations: 0 / 273.1 MB, free: 248 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08607/0.08612, allocations: 48.71 MB / 321.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4295, allocations: 83.34 MB / 405.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4298, allocations: 63.97 kB / 405.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0652/0.495, allocations: 14.58 MB / 419.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.4951, allocations: 0 / 419.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.365e-05/0.4952, allocations: 19.94 kB / 419.8 MB, free: 7.574 MB / 346.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.002375/0.4975, allocations: 0.9113 MB / 420.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4976, allocations: 8.031 kB / 420.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.498, allocations: 90.92 kB / 420.8 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.4995, allocations: 0.5266 MB / 421.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.4997, allocations: 40.78 kB / 421.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4998, allocations: 51.91 kB / 421.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.501, allocations: 486 kB / 421.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.5011, allocations: 0 / 421.9 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/0.5011, allocations: 16 kB / 421.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5012, allocations: 15.94 kB / 421.9 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.5021, allocations: 336.9 kB / 422.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/0.5071, allocations: 1.971 MB / 424.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.5083, allocations: 464.1 kB / 424.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.5088, allocations: 194.6 kB / 424.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.5089, allocations: 4 kB / 424.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.5089, allocations: 38.56 kB / 424.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.691e-06/0.5089, allocations: 0 / 424.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002014/0.511, allocations: 0.7654 MB / 425.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.5111, allocations: 166.2 kB / 425.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.512, allocations: 0.4918 MB / 426.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.5121, allocations: 37.7 kB / 426.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.5125, allocations: 328.3 kB / 426.7 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.5127, allocations: 169.6 kB / 426.8 MB, free: 216 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.5128, allocations: 16 kB / 426.9 MB, free: 200 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.5131, allocations: 374.8 kB / 427.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.5136, allocations: 201.1 kB / 427.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.5143, allocations: 308.7 kB / 427.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.5149, allocations: 229.2 kB / 427.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-06/0.5149, allocations: 0 / 427.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001597/0.5165, allocations: 0.6006 MB / 428.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.5165, allocations: 4 kB / 428.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5166, allocations: 4 kB / 428.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5166, allocations: 12.31 kB / 428.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/0.5175, allocations: 147.8 kB / 428.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.5176, allocations: 7.938 kB / 428.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.5184, allocations: 91.62 kB / 428.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.5185, allocations: 20 kB / 428.8 MB, free: 14.17 MB / 362.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.0002086/0.5187, allocations: 136.8 kB / 429 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5189, allocations: 79.14 kB / 429 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.5192, allocations: 81.42 kB / 429.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5192, allocations: 4 kB / 429.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-06/0.5192, allocations: 0 / 429.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5192, allocations: 0 / 429.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.521, allocations: 0.7985 MB / 429.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.242e-06/0.521, allocations: 4 kB / 429.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.522, allocations: 115.9 kB / 430 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.522, allocations: 4 kB / 430 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.5221, allocations: 11.98 kB / 430 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.5221, allocations: 4 kB / 430.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.733e-06/0.5222, allocations: 3.938 kB / 430.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.5241, allocations: 0.9744 MB / 431 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5246, allocations: 192.2 kB / 431.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.5248, allocations: 19.98 kB / 431.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/0.5256, allocations: 63.94 kB / 431.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5258, allocations: 43.89 kB / 431.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.5258, allocations: 8 kB / 431.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007327/0.5266, allocations: 403.2 kB / 431.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.5266, allocations: 0 / 431.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007839/0.5274, allocations: 116 kB / 431.9 MB, free: 11.02 MB / 362.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.0002361/0.5276, allocations: 131 kB / 432 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.5289, allocations: 444.3 kB / 432.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.311e-06/0.5289, allocations: 0 / 432.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.5295, allocations: 227.7 kB / 432.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5307, allocations: 151 kB / 432.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.5337, allocations: 1.137 MB / 433.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.5346, allocations: 0.945 MB / 434.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006272/0.5352, allocations: 104.4 kB / 435 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.5354, allocations: 43.42 kB / 435 MB, free: 7.785 MB / 362.7 MB Notification: Performance of SimCode: time 5.095e-06/0.5355, allocations: 0 / 435 MB, free: 7.785 MB / 362.7 MB Notification: Performance of Templates: time 0.01937/0.5548, allocations: 6.184 MB / 441.2 MB, free: 1.637 MB / 362.7 MB