Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.833e-05/4.864e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 44.48 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.4581, allocations: 70.29 MB / 364.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4585, allocations: 63.97 kB / 364.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.4758, allocations: 3.477 MB / 368 MB, free: 8.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4759, allocations: 3.938 kB / 368 MB, free: 8.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4759, allocations: 0 / 368 MB, free: 8.066 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.0004737/0.4764, allocations: 374.3 kB / 368.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4764, allocations: 8.031 kB / 368.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.4765, allocations: 7.984 kB / 368.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.4767, allocations: 167 kB / 368.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4767, allocations: 0 / 368.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4768, allocations: 7.906 kB / 368.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.164e-05/0.4768, allocations: 8 kB / 368.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.4769, allocations: 37.69 kB / 368.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4769, allocations: 3.938 kB / 368.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.477, allocations: 0 / 368.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.477, allocations: 0 / 368.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.4772, allocations: 138.2 kB / 368.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.4773, allocations: 34.52 kB / 368.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.4773, allocations: 8.859 kB / 368.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4773, allocations: 7.984 kB / 368.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4774, allocations: 34.56 kB / 368.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4774, allocations: 0 / 368.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000148/0.4776, allocations: 37.83 kB / 368.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4776, allocations: 51.41 kB / 368.9 MB, free: 6.992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.4777, allocations: 101 kB / 369 MB, free: 6.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4777, allocations: 29.7 kB / 369.1 MB, free: 6.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.4778, allocations: 150.6 kB / 369.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4779, allocations: 19.69 kB / 369.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.4779, allocations: 0 / 369.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.478, allocations: 310.8 kB / 369.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.4781, allocations: 4 kB / 369.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.4781, allocations: 21.72 kB / 369.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.4782, allocations: 11.98 kB / 369.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4782, allocations: 0 / 369.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.4783, allocations: 49.64 kB / 369.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4783, allocations: 8 kB / 369.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4783, allocations: 0 / 369.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4784, allocations: 3.938 kB / 369.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4785, allocations: 8 kB / 369.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4785, allocations: 3.984 kB / 369.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.4785, allocations: 0 / 369.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4786, allocations: 8 kB / 369.6 MB, free: 6.242 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 7.832e-05/0.4787, allocations: 108.8 kB / 369.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.648e-05/0.4788, allocations: 45.64 kB / 369.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.4788, allocations: 3.906 kB / 369.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.4788, allocations: 12.06 kB / 369.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4788, allocations: 0 / 369.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4789, allocations: 4 kB / 369.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4789, allocations: 3.984 kB / 369.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.479, allocations: 134.1 kB / 370 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.479, allocations: 0 / 370 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4791, allocations: 11.94 kB / 370 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4792, allocations: 4 kB / 370 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.4792, allocations: 4 kB / 370 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4792, allocations: 0 / 370 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4792, allocations: 0 / 370 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.4794, allocations: 73.12 kB / 370 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.4794, allocations: 77.11 kB / 370.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4795, allocations: 3.953 kB / 370.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.4795, allocations: 4.125 kB / 370.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.4795, allocations: 12.45 kB / 370.1 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4796, allocations: 0 / 370.1 MB, free: 5.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.329e-05/0.4796, allocations: 83.27 kB / 370.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4796, allocations: 0 / 370.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005/0.4801, allocations: 71.86 kB / 370.3 MB, free: 5.512 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.0007732/0.4809, allocations: 0.6786 MB / 371 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.481, allocations: 15.98 kB / 371 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4811, allocations: 3.938 kB / 371 MB, free: 4.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.4811, allocations: 12 kB / 371 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.4813, allocations: 3.953 kB / 371 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.4818, allocations: 188.7 kB / 371.2 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4821, allocations: 0.6769 MB / 371.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.4822, allocations: 15.44 kB / 371.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4822, allocations: 0 / 371.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.41/2.892, allocations: 1.452 MB / 373.3 MB, free: 2.379 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat