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.938/1.938, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.066e-05, allocations: 3.719 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08018, allocations: 44.51 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.3991, allocations: 70.94 MB / 370.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3994, allocations: 67.91 kB / 370.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.4147, allocations: 3.49 MB / 374.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.518e-06/0.4147, allocations: 0 / 374.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.251e-06/0.4148, allocations: 1.312 kB / 374.3 MB, free: 20.73 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.0002936/0.4151, allocations: 368.1 kB / 374.7 MB, free: 20.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4151, allocations: 9.344 kB / 374.7 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4152, allocations: 1.062 kB / 374.7 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.4153, allocations: 176.6 kB / 374.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4153, allocations: 3.938 kB / 374.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.4153, allocations: 5.688 kB / 374.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.4154, allocations: 34.23 kB / 374.9 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4154, allocations: 3.906 kB / 374.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-06/0.4155, allocations: 5.031 kB / 374.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-06/0.4155, allocations: 0 / 374.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.4155, allocations: 11.72 kB / 374.9 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.4157, allocations: 158.1 kB / 375.1 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.4157, allocations: 38.94 kB / 375.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.4158, allocations: 9.016 kB / 375.1 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4158, allocations: 0 / 375.1 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.4158, allocations: 35.31 kB / 375.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.767e-06/0.4158, allocations: 1.062 kB / 375.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000114/0.416, allocations: 39.89 kB / 375.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.416, allocations: 55.41 kB / 375.3 MB, free: 19.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.4161, allocations: 100.3 kB / 375.4 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.183e-06/0.4161, allocations: 25.7 kB / 375.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.4161, allocations: 151.6 kB / 375.5 MB, free: 19.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.4162, allocations: 19.33 kB / 375.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-06/0.4162, allocations: 1 kB / 375.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.4162, allocations: 315.4 kB / 375.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.4163, allocations: 3.844 kB / 375.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.4163, allocations: 29.67 kB / 375.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.4164, allocations: 8.594 kB / 375.9 MB, free: 19.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.081e-06/0.4164, allocations: 3.953 kB / 375.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.4165, allocations: 57.62 kB / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4165, allocations: 5.5 kB / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-06/0.4165, allocations: 0 / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4166, allocations: 1.125 kB / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.714e-05/0.4167, allocations: 9.875 kB / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.98e-06/0.4167, allocations: 0 / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.4167, allocations: 5.375 kB / 376 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4167, allocations: 2.156 kB / 376 MB, free: 19.07 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.316e-05/0.4168, allocations: 107.6 kB / 376.1 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.4168, allocations: 4.953 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.4168, allocations: 4.594 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4169, allocations: 0 / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.985e-06/0.4169, allocations: 1.094 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-06/0.4169, allocations: 1.828 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.417, allocations: 154.5 kB / 376.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.417, allocations: 7.938 kB / 376.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.4171, allocations: 14.27 kB / 376.3 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-06/0.4171, allocations: 3.938 kB / 376.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4171, allocations: 3.156 kB / 376.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.095e-06/0.4172, allocations: 0 / 376.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-06/0.4172, allocations: 0 / 376.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.4173, allocations: 77.66 kB / 376.4 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.4174, allocations: 80.55 kB / 376.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4174, allocations: 9.547 kB / 376.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.4174, allocations: 3.938 kB / 376.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.4175, allocations: 1.406 kB / 376.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-06/0.4175, allocations: 3.75 kB / 376.5 MB, free: 18.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.4175, allocations: 79.28 kB / 376.5 MB, free: 18.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4175, allocations: 0 / 376.5 MB, free: 18.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.418, allocations: 74.2 kB / 376.6 MB, free: 18.49 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.0003037/0.4183, allocations: 168.4 kB / 376.8 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.4184, allocations: 22.92 kB / 376.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.4184, allocations: 0 / 376.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/0.4184, allocations: 5.938 kB / 376.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.4186, allocations: 8.906 kB / 376.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.4188, allocations: 118.7 kB / 376.9 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4189, allocations: 0.6852 MB / 377.6 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.419, allocations: 9.656 kB / 377.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.52e-06/0.419, allocations: 4.062 kB / 377.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003313/0.4223, allocations: 1.215 MB / 378.8 MB, free: 17.43 MB / 314.7 MB