Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.522e-05, allocations: 4 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 44.51 MB / 303.3 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007104/0.3267, allocations: 248.2 kB / 303.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3291, allocations: 1.404 MB / 305 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.3292, allocations: 1.031 kB / 305 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.3292, allocations: 4 kB / 305 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.3297, allocations: 92.06 kB / 305.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.825e-05/0.3297, allocations: 4.938 kB / 305.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.3298, allocations: 14.17 kB / 305.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.3298, allocations: 3.938 kB / 305.1 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.3299, allocations: 4.219 kB / 305.1 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.3299, allocations: 9.547 kB / 305.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.3304, allocations: 217.5 kB / 305.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.3305, allocations: 14.88 kB / 305.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.3305, allocations: 1.031 kB / 305.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.143e-05/0.3305, allocations: 2 kB / 305.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.3308, allocations: 113.9 kB / 305.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3309, allocations: 0 / 305.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3309, allocations: 0 / 305.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3309, allocations: 0 / 305.4 MB, free: 11.23 MB / 250.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.0004395/0.3313, allocations: 360.1 kB / 305.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3314, allocations: 8.906 kB / 305.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3314, allocations: 2.312 kB / 305.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3316, allocations: 169 kB / 306 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3316, allocations: 5.062 kB / 306 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3317, allocations: 5.047 kB / 306 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.3318, allocations: 33.58 kB / 306 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3318, allocations: 5.312 kB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3318, allocations: 0 / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3318, allocations: 0 / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.3319, allocations: 13.33 kB / 306 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.3321, allocations: 158.1 kB / 306.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.3322, allocations: 37.88 kB / 306.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3322, allocations: 0 / 306.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3322, allocations: 36.17 kB / 306.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3323, allocations: 0 / 306.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.3324, allocations: 50.66 kB / 306.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3325, allocations: 55.41 kB / 306.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.3326, allocations: 90.09 kB / 306.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3326, allocations: 27.27 kB / 306.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.3327, allocations: 84.14 kB / 306.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3327, allocations: 21.11 kB / 306.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.3327, allocations: 1.188 kB / 306.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3329, allocations: 315.8 kB / 306.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.3329, allocations: 3.969 kB / 306.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.3329, allocations: 26.73 kB / 306.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.333, allocations: 9.812 kB / 306.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.333, allocations: 3.953 kB / 306.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.3331, allocations: 53.66 kB / 307 MB, free: 9.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3332, allocations: 5.594 kB / 307 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3332, allocations: 1.156 kB / 307 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3332, allocations: 3.938 kB / 307 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3333, allocations: 10.47 kB / 307 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3333, allocations: 4 kB / 307 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.3334, allocations: 0 / 307 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3334, allocations: 8 kB / 307 MB, free: 9.555 MB / 250.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 8.546e-05/0.3335, allocations: 105.8 kB / 307.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.3335, allocations: 3.953 kB / 307.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3336, allocations: 15.48 kB / 307.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3336, allocations: 3.938 kB / 307.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3336, allocations: 0 / 307.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3336, allocations: 0 / 307.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.3337, allocations: 161.6 kB / 307.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3338, allocations: 0 / 307.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3339, allocations: 12.08 kB / 307.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3339, allocations: 4 kB / 307.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3339, allocations: 7.938 kB / 307.3 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3339, allocations: 0 / 307.3 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3339, allocations: 0 / 307.3 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3341, allocations: 73.11 kB / 307.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3341, allocations: 85.2 kB / 307.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3342, allocations: 7.953 kB / 307.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.542e-05/0.3342, allocations: 0 / 307.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.3342, allocations: 480 / 307.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3343, allocations: 4 kB / 307.5 MB, free: 8.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.3343, allocations: 87.25 kB / 307.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3343, allocations: 0 / 307.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.3347, allocations: 52 kB / 307.6 MB, free: 8.844 MB / 250.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.0003472/0.3351, allocations: 155.2 kB / 307.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.3352, allocations: 19.94 kB / 307.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3352, allocations: 0 / 307.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.3352, allocations: 7.984 kB / 307.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.3354, allocations: 4 kB / 307.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.3356, allocations: 134.8 kB / 307.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3359, allocations: 0.6888 MB / 308.6 MB, free: 7.777 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.336, allocations: 7.859 kB / 308.6 MB, free: 7.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.336, allocations: 7.438 kB / 308.6 MB, free: 7.766 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3361, allocations: 0 / 308.6 MB, free: 7.766 MB / 250.7 MB Notification: Performance of Templates: time 0.004337/0.3404, allocations: 1.03 MB / 309.7 MB, free: 6.734 MB / 250.7 MB "" Variables in the reference:time,q,qd Variables in the result:A,q,qd,s,time,wq,ws