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 1.94/1.94, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.362e-05, allocations: 4 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09491, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.4963, allocations: 70.95 MB / 370.9 MB, free: 21.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4966, allocations: 69.58 kB / 371 MB, free: 21.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.5142, allocations: 3.486 MB / 374.5 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5142, allocations: 0 / 374.5 MB, free: 20.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.5143, allocations: 5.375 kB / 374.5 MB, free: 20.65 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.0004217/0.5147, allocations: 376.6 kB / 374.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5147, allocations: 8.906 kB / 374.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.5148, allocations: 31.5 kB / 374.9 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.5148, allocations: 5.125 kB / 374.9 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.515, allocations: 168.7 kB / 375 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.515, allocations: 0 / 375 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.515, allocations: 5.969 kB / 375 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.57e-05/0.5151, allocations: 42.89 kB / 375.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5151, allocations: 0 / 375.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5152, allocations: 7.422 kB / 375.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5152, allocations: 0 / 375.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.5152, allocations: 5.594 kB / 375.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.5154, allocations: 160.8 kB / 375.3 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.5155, allocations: 35.73 kB / 375.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.5155, allocations: 8.172 kB / 375.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.5156, allocations: 5.094 kB / 375.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5156, allocations: 35.31 kB / 375.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5156, allocations: 3.938 kB / 375.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001365/0.5157, allocations: 43.5 kB / 375.4 MB, free: 19.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5158, allocations: 52.19 kB / 375.4 MB, free: 19.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.5159, allocations: 96.23 kB / 375.5 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.5159, allocations: 26.95 kB / 375.6 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.5159, allocations: 150.6 kB / 375.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.516, allocations: 21.5 kB / 375.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.516, allocations: 1.094 kB / 375.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.5161, allocations: 313.8 kB / 376 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.5161, allocations: 7.125 kB / 376 MB, free: 19.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.5161, allocations: 19.69 kB / 376.1 MB, free: 19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.5162, allocations: 11.34 kB / 376.1 MB, free: 19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5162, allocations: 0 / 376.1 MB, free: 19 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.5163, allocations: 57.91 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5163, allocations: 6.5 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5164, allocations: 1.094 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5164, allocations: 1.188 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5165, allocations: 11.78 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5165, allocations: 1.125 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.5166, allocations: 1.125 kB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.5166, allocations: 1.219 kB / 376.1 MB, free: 18.96 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 5.112e-05/0.5166, allocations: 106.9 kB / 376.3 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.5167, allocations: 9.188 kB / 376.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.5167, allocations: 10.17 kB / 376.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5167, allocations: 0 / 376.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5167, allocations: 0.9688 kB / 376.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5167, allocations: 0 / 376.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.5168, allocations: 154.8 kB / 376.4 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5169, allocations: 9.016 kB / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.517, allocations: 5.719 kB / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.517, allocations: 0 / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.517, allocations: 2.875 kB / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.517, allocations: 4 kB / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.517, allocations: 1.156 kB / 376.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.5172, allocations: 78.06 kB / 376.5 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.5173, allocations: 82.19 kB / 376.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5173, allocations: 5.578 kB / 376.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.5173, allocations: 0 / 376.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.5174, allocations: 3 kB / 376.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.5174, allocations: 1.094 kB / 376.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.949e-05/0.5174, allocations: 97.27 kB / 376.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5174, allocations: 0 / 376.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005309/0.518, allocations: 71.78 kB / 376.8 MB, free: 18.36 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.0005784/0.5186, allocations: 0.6842 MB / 377.5 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.5187, allocations: 26.88 kB / 377.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5187, allocations: 0 / 377.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.5187, allocations: 6.5 kB / 377.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.5189, allocations: 1.125 kB / 377.5 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.5193, allocations: 189.6 kB / 377.7 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5195, allocations: 0.6858 MB / 378.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.5195, allocations: 9.5 kB / 378.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5195, allocations: 0 / 378.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.633/3.153, allocations: 1.423 MB / 379.8 MB, free: 16.72 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