Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.847e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08439/0.08445, allocations: 38.77 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0006931/0.0852, allocations: 248.5 kB / 267.2 MB, free: 252 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.08775, allocations: 1.411 MB / 268.6 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.08782, allocations: 0 / 268.6 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.08786, allocations: 0 / 268.6 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.08839, allocations: 99.67 kB / 268.7 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.83e-05/0.08842, allocations: 0 / 268.7 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.08848, allocations: 15.92 kB / 268.7 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.08854, allocations: 7.969 kB / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.08859, allocations: 0 / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.08866, allocations: 4 kB / 268.7 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.08917, allocations: 219.7 kB / 268.9 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.08924, allocations: 12 kB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.08926, allocations: 8 kB / 268.9 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.08928, allocations: 0 / 268.9 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.08958, allocations: 119.8 kB / 269 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.0896, allocations: 0 / 269 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.08961, allocations: 0 / 269 MB, free: 14.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.08964, allocations: 4 kB / 269 MB, free: 14.34 MB / 234.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.0004874/0.09013, allocations: 359.5 kB / 269.4 MB, free: 13.94 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.09019, allocations: 8.031 kB / 269.4 MB, free: 13.93 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.09024, allocations: 4 kB / 269.4 MB, free: 13.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.09043, allocations: 167.1 kB / 269.6 MB, free: 13.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.09046, allocations: 7.953 kB / 269.6 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.09049, allocations: 0 / 269.6 MB, free: 13.72 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.507e-05/0.09059, allocations: 37.64 kB / 269.6 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.09062, allocations: 0 / 269.6 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.09064, allocations: 0 / 269.6 MB, free: 13.68 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.09067, allocations: 3.984 kB / 269.6 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.09072, allocations: 4 kB / 269.6 MB, free: 13.67 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.09094, allocations: 161.6 kB / 269.8 MB, free: 13.46 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.09105, allocations: 38.55 kB / 269.8 MB, free: 13.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.09108, allocations: 7.953 kB / 269.8 MB, free: 13.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.09112, allocations: 30.56 kB / 269.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.09113, allocations: 0 / 269.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.09131, allocations: 49.69 kB / 269.9 MB, free: 13.31 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.09136, allocations: 55.41 kB / 270 MB, free: 13.25 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.09147, allocations: 93 kB / 270 MB, free: 13.15 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.0915, allocations: 29.7 kB / 270.1 MB, free: 13.11 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.09156, allocations: 88.12 kB / 270.2 MB, free: 13.02 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.0916, allocations: 3.906 kB / 270.2 MB, free: 13.02 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.09161, allocations: 0 / 270.2 MB, free: 13.02 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.09176, allocations: 318.8 kB / 270.5 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.0918, allocations: 7.938 kB / 270.5 MB, free: 12.69 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.09185, allocations: 21.7 kB / 270.5 MB, free: 12.66 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.0919, allocations: 12 kB / 270.5 MB, free: 12.65 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09191, allocations: 0 / 270.5 MB, free: 12.65 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.09204, allocations: 57.95 kB / 270.6 MB, free: 12.59 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.09208, allocations: 11.95 kB / 270.6 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.09209, allocations: 0 / 270.6 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.09211, allocations: 0 / 270.6 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.09223, allocations: 8 kB / 270.6 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.09225, allocations: 3.938 kB / 270.6 MB, free: 12.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.09229, allocations: 3.938 kB / 270.6 MB, free: 12.56 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.09231, allocations: 8 kB / 270.6 MB, free: 12.55 MB / 234.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 9.044e-05/0.09241, allocations: 113.9 kB / 270.7 MB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.09244, allocations: 7.984 kB / 270.7 MB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.09248, allocations: 7.453 kB / 270.7 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.09249, allocations: 0 / 270.7 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.09251, allocations: 0 / 270.7 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.09252, allocations: 0 / 270.7 MB, free: 12.41 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.09267, allocations: 161.8 kB / 270.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09269, allocations: 0 / 270.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.0928, allocations: 4 kB / 270.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.09281, allocations: 0 / 270.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.09284, allocations: 8 kB / 270.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.09285, allocations: 3.953 kB / 270.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.09286, allocations: 11.92 kB / 270.9 MB, free: 12.18 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.09304, allocations: 73.03 kB / 271 MB, free: 12.09 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.09311, allocations: 77.11 kB / 271.1 MB, free: 12 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.09314, allocations: 4 kB / 271.1 MB, free: 11.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.09317, allocations: 0 / 271.1 MB, free: 11.99 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.09321, allocations: 19.97 kB / 271.1 MB, free: 11.97 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.09322, allocations: 0 / 271.1 MB, free: 11.97 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.09328, allocations: 79.28 kB / 271.2 MB, free: 11.89 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.09329, allocations: 0 / 271.2 MB, free: 11.89 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.09366, allocations: 55.98 kB / 271.2 MB, free: 11.84 MB / 234.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.0003579/0.09403, allocations: 147.2 kB / 271.4 MB, free: 11.68 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.09415, allocations: 23.92 kB / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.09417, allocations: 0 / 271.4 MB, free: 11.66 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.0942, allocations: 8.062 kB / 271.4 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.09434, allocations: 8 kB / 271.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.09464, allocations: 126.8 kB / 271.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.09497, allocations: 0.6809 MB / 272.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.09505, allocations: 4 kB / 272.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.09508, allocations: 11.42 kB / 272.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of SimCode: time 2.745e-06/0.09509, allocations: 4 kB / 272.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of Templates: time 0.004391/0.09949, allocations: 1.026 MB / 273.3 MB, free: 9.742 MB / 234.7 MB "" Variables in the reference:time,q,qd Variables in the result:A,q,qd,s,time,wq,ws