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.966/1.966, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.988e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3601, allocations: 70.29 MB / 364.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.3604, allocations: 71.91 kB / 364.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.3831, allocations: 3.473 MB / 367.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.633e-06/0.3832, allocations: 4 kB / 367.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.688e-06/0.3832, allocations: 7.938 kB / 367.9 MB, free: 8.148 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.0005253/0.3838, allocations: 362.4 kB / 368.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3838, allocations: 12.03 kB / 368.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3839, allocations: 0 / 368.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3841, allocations: 175 kB / 368.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3841, allocations: 0 / 368.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3842, allocations: 0 / 368.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.217e-05/0.3843, allocations: 4 kB / 368.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.3844, allocations: 37.69 kB / 368.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3844, allocations: 11.89 kB / 368.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3844, allocations: 0 / 368.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3845, allocations: 4 kB / 368.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.3847, allocations: 134.2 kB / 368.7 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3848, allocations: 30.52 kB / 368.7 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.3849, allocations: 12.86 kB / 368.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3849, allocations: 0 / 368.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.385, allocations: 34.56 kB / 368.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.898e-06/0.385, allocations: 4 kB / 368.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.3852, allocations: 37.78 kB / 368.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3852, allocations: 51.41 kB / 368.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3854, allocations: 93 kB / 368.9 MB, free: 6.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3854, allocations: 25.7 kB / 369 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.3855, allocations: 150.6 kB / 369.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3856, allocations: 23.73 kB / 369.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-06/0.3856, allocations: 4 kB / 369.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3858, allocations: 310.8 kB / 369.4 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.3859, allocations: 11.94 kB / 369.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.3859, allocations: 17.66 kB / 369.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.522e-05/0.386, allocations: 11.98 kB / 369.5 MB, free: 6.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-06/0.386, allocations: 0 / 369.5 MB, free: 6.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.3862, allocations: 49.66 kB / 369.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3862, allocations: 8.031 kB / 369.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.519e-06/0.3863, allocations: 4 kB / 369.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3863, allocations: 3.984 kB / 369.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3864, allocations: 8 kB / 369.5 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.954e-06/0.3864, allocations: 3.938 kB / 369.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.3865, allocations: 0 / 369.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3865, allocations: 0 / 369.5 MB, free: 6.344 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 0.0001138/0.3867, allocations: 108.8 kB / 369.7 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3867, allocations: 3.953 kB / 369.7 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.3867, allocations: 8.125 kB / 369.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-06/0.3868, allocations: 0 / 369.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-06/0.3868, allocations: 7.938 kB / 369.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.3868, allocations: 3.984 kB / 369.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.387, allocations: 130.2 kB / 369.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-06/0.387, allocations: 0 / 369.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3871, allocations: 7.984 kB / 369.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.963e-06/0.3872, allocations: 0 / 369.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3872, allocations: 4 kB / 369.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.838e-06/0.3872, allocations: 4.078 kB / 369.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.832e-06/0.3872, allocations: 4 kB / 369.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3875, allocations: 85.23 kB / 369.9 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.3876, allocations: 81.11 kB / 370 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3876, allocations: 0 / 370 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.3876, allocations: 0 / 370 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.3877, allocations: 11.97 kB / 370 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3877, allocations: 0 / 370 MB, free: 5.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.3878, allocations: 79.28 kB / 370.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.79e-07/0.3878, allocations: 0 / 370.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007094/0.3885, allocations: 75.92 kB / 370.2 MB, free: 5.66 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.000518/0.3891, allocations: 167 kB / 370.3 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3892, allocations: 19.94 kB / 370.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3893, allocations: 0 / 370.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.3893, allocations: 11.98 kB / 370.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.3895, allocations: 2.031 kB / 370.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3899, allocations: 115.3 kB / 370.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.3903, allocations: 0.6884 MB / 371.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.3904, allocations: 7.438 kB / 371.2 MB, free: 4.598 MB / 314.7 MB Notification: Performance of SimCode: time 2.092e-06/0.3904, allocations: 0 / 371.2 MB, free: 4.598 MB / 314.7 MB Notification: Performance of Templates: time 0.005375/0.3958, allocations: 1.249 MB / 372.4 MB, free: 3.348 MB / 314.7 MB