Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.209e-05/5.225e-05, allocations: 11.92 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2321, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.333, allocations: 65.63 MB / 329.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3333, allocations: 75.95 kB / 329.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.3486, allocations: 3.476 MB / 332.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.3486, allocations: 0 / 332.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.523e-06/0.3487, allocations: 0 / 332.9 MB, free: 4.59 MB / 282.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.000437/0.3491, allocations: 382.1 kB / 333.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3492, allocations: 8.031 kB / 333.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3492, allocations: 0 / 333.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3494, allocations: 163.1 kB / 333.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3494, allocations: 4 kB / 333.5 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3495, allocations: 11.98 kB / 333.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.3495, allocations: 33.66 kB / 333.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3496, allocations: 0 / 333.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.3496, allocations: 0 / 333.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-06/0.3496, allocations: 0 / 333.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.673e-05/0.3496, allocations: 7.984 kB / 333.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.3499, allocations: 157.7 kB / 333.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.35, allocations: 38.55 kB / 333.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.35, allocations: 12.8 kB / 333.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.35, allocations: 4 kB / 333.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3501, allocations: 34.52 kB / 333.8 MB, free: 3.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.724e-06/0.3501, allocations: 3.984 kB / 333.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.3502, allocations: 45.69 kB / 333.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.3503, allocations: 55.41 kB / 333.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.3504, allocations: 96.94 kB / 334 MB, free: 3.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3504, allocations: 29.7 kB / 334 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.3505, allocations: 150.6 kB / 334.2 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3506, allocations: 19.81 kB / 334.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-06/0.3506, allocations: 0 / 334.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3507, allocations: 314.8 kB / 334.5 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.3508, allocations: 4 kB / 334.5 MB, free: 2.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.3508, allocations: 21.72 kB / 334.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.3509, allocations: 8 kB / 334.5 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3509, allocations: 0 / 334.5 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/0.351, allocations: 53.62 kB / 334.6 MB, free: 2.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.351, allocations: 4 kB / 334.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.092e-06/0.3511, allocations: 0 / 334.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3511, allocations: 8.078 kB / 334.6 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.3512, allocations: 19.92 kB / 334.6 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3512, allocations: 4 kB / 334.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.3512, allocations: 3.906 kB / 334.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-06/0.3513, allocations: 4.031 kB / 334.6 MB, free: 2.707 MB / 282.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 7.972e-05/0.3513, allocations: 105 kB / 334.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.3514, allocations: 0 / 334.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3514, allocations: 7.5 kB / 334.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-06/0.3514, allocations: 3.953 kB / 334.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.411e-06/0.3514, allocations: 4 kB / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-06/0.3515, allocations: 0 / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3516, allocations: 153.7 kB / 334.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3516, allocations: 0 / 334.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.3517, allocations: 11.98 kB / 334.9 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.48e-06/0.3517, allocations: 4 kB / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-06/0.3518, allocations: 0 / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-06/0.3518, allocations: 0 / 334.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.341e-06/0.3518, allocations: 7.891 kB / 334.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.352, allocations: 69.12 kB / 335 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.352, allocations: 85.05 kB / 335 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3521, allocations: 0 / 335 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.3521, allocations: 4 kB / 335.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.3521, allocations: 8.047 kB / 335.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-06/0.3522, allocations: 11.89 kB / 335.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.3522, allocations: 83.59 kB / 335.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.3522, allocations: 0 / 335.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.3527, allocations: 75.86 kB / 335.2 MB, free: 1.984 MB / 282.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.000376/0.3531, allocations: 159.1 kB / 335.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.3532, allocations: 23.92 kB / 335.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.757e-06/0.3532, allocations: 4.062 kB / 335.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.3532, allocations: 8 kB / 335.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.3534, allocations: 3.938 kB / 335.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.3536, allocations: 122.5 kB / 335.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.354, allocations: 0.6809 MB / 336.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.354, allocations: 11.44 kB / 336.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of SimCode: time 1.337e-06/0.354, allocations: 0 / 336.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of Templates: time 0.003548/0.3576, allocations: 1.221 MB / 337.5 MB, free: 15.69 MB / 298.7 MB