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.3_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.133e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4704, allocations: 96 MB / 478.2 MB, free: 12.5 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.4706, allocations: 71.97 kB / 478.3 MB, free: 12.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.5929, allocations: 28 MB / 0.4944 GB, free: 336 kB / 426.8 MB Notification: Performance of FrontEnd: time 2.092e-06/0.593, allocations: 3.938 kB / 0.4944 GB, free: 332 kB / 426.8 MB Notification: Performance of Transformations before backend: time 8.083e-05/0.5931, allocations: 20 kB / 0.4944 GB, free: 312 kB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002316/0.5954, allocations: 0.9503 MB / 0.4954 GB, free: 15.31 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5955, allocations: 8.031 kB / 0.4954 GB, free: 15.3 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.5957, allocations: 90.91 kB / 0.4955 GB, free: 15.21 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.5972, allocations: 0.5548 MB / 0.496 GB, free: 14.61 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.5973, allocations: 41 kB / 0.496 GB, free: 14.57 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.5974, allocations: 63.89 kB / 0.4961 GB, free: 14.51 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5987, allocations: 0.5457 MB / 0.4966 GB, free: 13.91 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.5987, allocations: 4 kB / 0.4966 GB, free: 13.9 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.5988, allocations: 20 kB / 0.4967 GB, free: 13.88 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.5988, allocations: 12 kB / 0.4967 GB, free: 13.87 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.5998, allocations: 356.9 kB / 0.497 GB, free: 13.52 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.6053, allocations: 2.702 MB / 0.4996 GB, free: 10.72 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.6065, allocations: 482.8 kB / 0.5001 GB, free: 10.22 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.607, allocations: 193.6 kB / 0.5003 GB, free: 10.03 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.607, allocations: 8 kB / 0.5003 GB, free: 10.02 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.6071, allocations: 39 kB / 0.5003 GB, free: 9.973 MB / 442.8 MB Notification: Performance of pre-optimization done (n=43): time 4.182e-06/0.6071, allocations: 0 / 0.5003 GB, free: 9.973 MB / 442.8 MB Notification: Performance of matching and sorting (n=44): time 0.002015/0.6091, allocations: 0.7959 MB / 0.5011 GB, free: 9.164 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.6093, allocations: 148.5 kB / 0.5013 GB, free: 8.988 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.6103, allocations: 0.5468 MB / 0.5018 GB, free: 8.434 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.6104, allocations: 33.7 kB / 0.5018 GB, free: 8.395 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.6108, allocations: 360 kB / 0.5022 GB, free: 8.039 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.611, allocations: 173.5 kB / 0.5023 GB, free: 7.867 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.611, allocations: 12 kB / 0.5023 GB, free: 7.855 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6113, allocations: 330 kB / 0.5027 GB, free: 7.527 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.6118, allocations: 201.5 kB / 0.5028 GB, free: 7.332 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.6125, allocations: 369.9 kB / 0.5032 GB, free: 6.898 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.6131, allocations: 248.7 kB / 0.5034 GB, free: 6.66 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.6132, allocations: 0 / 0.5034 GB, free: 6.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001691/0.6149, allocations: 0.67 MB / 0.5041 GB, free: 5.984 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009795/0.6159, allocations: 1.739 MB / 0.5058 GB, free: 4.109 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6159, allocations: 4 kB / 0.5058 GB, free: 4.105 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6159, allocations: 8 kB / 0.5058 GB, free: 4.098 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/0.6169, allocations: 171.7 kB / 0.506 GB, free: 3.93 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.6169, allocations: 8 kB / 0.506 GB, free: 3.922 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.6178, allocations: 91.58 kB / 0.5061 GB, free: 3.832 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.6179, allocations: 24 kB / 0.5061 GB, free: 3.809 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6179, allocations: 4 kB / 0.5061 GB, free: 3.805 MB / 442.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.6193, allocations: 0.5697 MB / 0.5066 GB, free: 3.234 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6193, allocations: 8 kB / 0.5067 GB, free: 3.227 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.6194, allocations: 8 kB / 0.5067 GB, free: 3.219 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.6202, allocations: 152.4 kB / 0.5068 GB, free: 3.07 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.6203, allocations: 15.92 kB / 0.5068 GB, free: 3.055 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6211, allocations: 91.55 kB / 0.5069 GB, free: 2.965 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.6212, allocations: 20 kB / 0.5069 GB, free: 2.945 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002094/0.6214, allocations: 136.8 kB / 0.5071 GB, free: 2.805 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.6216, allocations: 83.03 kB / 0.5071 GB, free: 2.723 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.6219, allocations: 90.08 kB / 0.5072 GB, free: 2.633 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.6219, allocations: 8 kB / 0.5072 GB, free: 2.625 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.6219, allocations: 0 / 0.5072 GB, free: 2.625 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.622, allocations: 7.984 kB / 0.5072 GB, free: 2.617 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.6237, allocations: 0.8218 MB / 0.508 GB, free: 1.738 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-06/0.6237, allocations: 0 / 0.508 GB, free: 1.738 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.6246, allocations: 115.9 kB / 0.5081 GB, free: 1.625 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6247, allocations: 8 kB / 0.5082 GB, free: 1.617 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.6248, allocations: 15.98 kB / 0.5082 GB, free: 1.602 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.23e-06/0.6248, allocations: 4 kB / 0.5082 GB, free: 1.598 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6248, allocations: 0 / 0.5082 GB, free: 1.598 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.6267, allocations: 1.002 MB / 0.5092 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.627, allocations: 196.2 kB / 0.5093 GB, free: 364 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6272, allocations: 15.98 kB / 0.5094 GB, free: 348 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.628, allocations: 63.94 kB / 0.5094 GB, free: 284 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.6281, allocations: 39.94 kB / 0.5095 GB, free: 244 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.6282, allocations: 8 kB / 0.5095 GB, free: 236 kB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0007734/0.629, allocations: 447.1 kB / 0.5099 GB, free: 15.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.42e-07/0.629, allocations: 0 / 0.5099 GB, free: 15.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001129/0.6301, allocations: 200 kB / 0.5101 GB, free: 15.6 MB / 458.8 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 (44): * Single equations (assignments): 44 * 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.0002113/0.6304, allocations: 123.1 kB / 0.5102 GB, free: 15.47 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.6323, allocations: 0.7876 MB / 0.511 GB, free: 14.68 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6323, allocations: 4 kB / 0.511 GB, free: 14.67 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.6328, allocations: 215.8 kB / 0.5112 GB, free: 14.46 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.6339, allocations: 171.7 kB / 0.5113 GB, free: 14.29 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.6369, allocations: 1.204 MB / 0.5125 GB, free: 13.05 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007974/0.6377, allocations: 0.9628 MB / 0.5135 GB, free: 12.06 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00108/0.6388, allocations: 203.1 kB / 0.5136 GB, free: 11.86 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.639, allocations: 39.44 kB / 0.5137 GB, free: 11.82 MB / 458.8 MB Notification: Performance of SimCode: time 1.66e-06/0.639, allocations: 0 / 0.5137 GB, free: 11.82 MB / 458.8 MB Notification: Performance of Templates: time 0.02249/0.6615, allocations: 8.086 MB / 0.5216 GB, free: 3.773 MB / 458.8 MB