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.08/2.08, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.635e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5012, allocations: 70.94 MB / 370.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.5016, allocations: 68.55 kB / 370.9 MB, free: 21.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.5204, allocations: 3.486 MB / 374.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5205, allocations: 0 / 374.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.5205, allocations: 0 / 374.4 MB, free: 20.77 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.0004235/0.5209, allocations: 377.5 kB / 374.8 MB, free: 20.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.521, allocations: 9.094 kB / 374.8 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.521, allocations: 30.56 kB / 374.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.5211, allocations: 5.594 kB / 374.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.5212, allocations: 172.5 kB / 375 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5212, allocations: 1.438 kB / 375 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5213, allocations: 9.531 kB / 375 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.204e-05/0.5214, allocations: 33.47 kB / 375 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5214, allocations: 1.531 kB / 375 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.5214, allocations: 3.938 kB / 375.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5214, allocations: 0 / 375.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.5215, allocations: 14.77 kB / 375.1 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5216, allocations: 161 kB / 375.2 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.5217, allocations: 31.98 kB / 375.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.5218, allocations: 9.016 kB / 375.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.5218, allocations: 0 / 375.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5218, allocations: 36.97 kB / 375.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.5218, allocations: 3.984 kB / 375.3 MB, free: 19.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001361/0.522, allocations: 42.61 kB / 375.3 MB, free: 19.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.522, allocations: 55.41 kB / 375.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.5221, allocations: 96.67 kB / 375.5 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.5221, allocations: 25.7 kB / 375.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.5222, allocations: 155.4 kB / 375.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.5222, allocations: 15.48 kB / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.5222, allocations: 0 / 375.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.5223, allocations: 315.5 kB / 376 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.5223, allocations: 4.188 kB / 376 MB, free: 19.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.5224, allocations: 29.08 kB / 376 MB, free: 19.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.5224, allocations: 12.27 kB / 376 MB, free: 19.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5224, allocations: 0 / 376 MB, free: 19.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.5226, allocations: 54.09 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5226, allocations: 5.281 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5226, allocations: 1.062 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5226, allocations: 0 / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5227, allocations: 10.67 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5228, allocations: 4.031 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.5228, allocations: 2.125 kB / 376.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.5228, allocations: 1.469 kB / 376.1 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 5.094e-05/0.5229, allocations: 116.5 kB / 376.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.5229, allocations: 1.188 kB / 376.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.523, allocations: 6.203 kB / 376.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.523, allocations: 1.125 kB / 376.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.523, allocations: 0 / 376.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.523, allocations: 0 / 376.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/0.5231, allocations: 159.6 kB / 376.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5231, allocations: 7.891 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5232, allocations: 11.61 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5233, allocations: 1.062 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.5233, allocations: 3.375 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5233, allocations: 0.9688 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5233, allocations: 1.734 kB / 376.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.5234, allocations: 73.23 kB / 376.5 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.5235, allocations: 95.48 kB / 376.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5235, allocations: 1.094 kB / 376.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.5236, allocations: 1.094 kB / 376.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.5236, allocations: 2.922 kB / 376.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5236, allocations: 1.062 kB / 376.6 MB, free: 18.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.5237, allocations: 86.56 kB / 376.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5237, allocations: 1.156 kB / 376.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.5242, allocations: 66.36 kB / 376.7 MB, free: 18.48 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.0006417/0.5249, allocations: 0.693 MB / 377.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.525, allocations: 20.66 kB / 377.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.525, allocations: 0 / 377.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.5251, allocations: 7.359 kB / 377.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.5252, allocations: 1.031 kB / 377.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.5257, allocations: 203.8 kB / 377.7 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5258, allocations: 0.6847 MB / 378.3 MB, free: 16.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.5259, allocations: 9.688 kB / 378.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5259, allocations: 0 / 378.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.181, allocations: 1.417 MB / 379.8 MB, free: 16.83 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