Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.2e-05, allocations: 3.156 kB / 255.4 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07767, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3832, allocations: 70.95 MB / 370.8 MB, free: 70.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.3835, allocations: 72.61 kB / 370.9 MB, free: 70.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.3985, allocations: 3.483 MB / 374.4 MB, free: 69.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.208e-06/0.3986, allocations: 0 / 374.4 MB, free: 69.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.5e-06/0.3986, allocations: 1.156 kB / 374.4 MB, free: 69.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003239/0.399, allocations: 369.6 kB / 374.7 MB, free: 69.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.399, allocations: 14.16 kB / 374.7 MB, free: 69.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.3991, allocations: 1.766 kB / 374.7 MB, free: 69.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3992, allocations: 167.8 kB / 374.9 MB, free: 69.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3992, allocations: 0.75 kB / 374.9 MB, free: 69.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3992, allocations: 3.719 kB / 374.9 MB, free: 69.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.24e-05/0.3993, allocations: 34.42 kB / 374.9 MB, free: 69.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3993, allocations: 3.906 kB / 374.9 MB, free: 69.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-06/0.3994, allocations: 0.625 kB / 374.9 MB, free: 69.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-06/0.3994, allocations: 5.391 kB / 374.9 MB, free: 69.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.3994, allocations: 11.45 kB / 375 MB, free: 69.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.3996, allocations: 163.4 kB / 375.1 MB, free: 68.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.3997, allocations: 34.66 kB / 375.2 MB, free: 68.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3997, allocations: 10.67 kB / 375.2 MB, free: 68.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3997, allocations: 1.406 kB / 375.2 MB, free: 68.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3998, allocations: 31.06 kB / 375.2 MB, free: 68.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.268e-06/0.3998, allocations: 1.5 kB / 375.2 MB, free: 68.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001272/0.3999, allocations: 44.17 kB / 375.2 MB, free: 68.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.3999, allocations: 57.78 kB / 375.3 MB, free: 68.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.4, allocations: 94.62 kB / 375.4 MB, free: 68.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.96e-06/0.4, allocations: 29.64 kB / 375.4 MB, free: 68.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.4001, allocations: 154.1 kB / 375.6 MB, free: 68.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.4001, allocations: 15.81 kB / 375.6 MB, free: 68.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.4001, allocations: 1.062 kB / 375.6 MB, free: 68.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.4002, allocations: 314.4 kB / 375.9 MB, free: 68.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.4002, allocations: 10.44 kB / 375.9 MB, free: 68.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.4003, allocations: 22.58 kB / 375.9 MB, free: 68.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.4003, allocations: 9.203 kB / 375.9 MB, free: 68.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-06/0.4003, allocations: 3.953 kB / 375.9 MB, free: 68.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.4005, allocations: 50.39 kB / 376 MB, free: 67.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4005, allocations: 10.62 kB / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.707e-06/0.4005, allocations: 1.531 kB / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4005, allocations: 32 / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.4006, allocations: 15.06 kB / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.499e-06/0.4006, allocations: 0 / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.4007, allocations: 2.562 kB / 376 MB, free: 67.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4007, allocations: 1.25 kB / 376 MB, free: 67.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.519e-05/0.4008, allocations: 107.6 kB / 376.1 MB, free: 67.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.4008, allocations: 6.547 kB / 376.1 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.4008, allocations: 5.812 kB / 376.1 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-06/0.4008, allocations: 2.297 kB / 376.1 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.835e-06/0.4008, allocations: 0 / 376.1 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4009, allocations: 4 kB / 376.1 MB, free: 67.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.4009, allocations: 153.9 kB / 376.3 MB, free: 67.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-06/0.401, allocations: 1.125 kB / 376.3 MB, free: 67.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.4011, allocations: 11.05 kB / 376.3 MB, free: 67.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.708e-06/0.4011, allocations: 4.922 kB / 376.3 MB, free: 67.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-06/0.4011, allocations: 1.344 kB / 376.3 MB, free: 67.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-06/0.4011, allocations: 0 / 376.3 MB, free: 67.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-06/0.4011, allocations: 1.938 kB / 376.3 MB, free: 67.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.4013, allocations: 89.44 kB / 376.4 MB, free: 67.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.4013, allocations: 79.34 kB / 376.5 MB, free: 67.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4013, allocations: 3.953 kB / 376.5 MB, free: 67.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.4014, allocations: 3.047 kB / 376.5 MB, free: 67.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.4014, allocations: 2.234 kB / 376.5 MB, free: 67.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-06/0.4014, allocations: 0.9062 kB / 376.5 MB, free: 67.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.4015, allocations: 82.64 kB / 376.6 MB, free: 67.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.4015, allocations: 1 kB / 376.6 MB, free: 67.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00045/0.4019, allocations: 71.8 kB / 376.6 MB, free: 67.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003345/0.4023, allocations: 170.4 kB / 376.8 MB, free: 67.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.4024, allocations: 28 kB / 376.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4024, allocations: 0 / 376.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.4024, allocations: 7.812 kB / 376.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.4026, allocations: 1.781 kB / 376.8 MB, free: 67.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.4028, allocations: 117.6 kB / 377 MB, free: 67.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4029, allocations: 0.6843 MB / 377.6 MB, free: 66.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.403, allocations: 9.75 kB / 377.6 MB, free: 66.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.374e-06/0.403, allocations: 3.938 kB / 377.7 MB, free: 66.46 MB / 314.7 MB Notification: Performance of Templates: time 0.003269/0.4063, allocations: 1.214 MB / 378.9 MB, free: 66.18 MB / 314.7 MB