Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.596e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2959, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4284, allocations: 65.63 MB / 329.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.4288, allocations: 71.95 kB / 329.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02847/0.4573, allocations: 3.484 MB / 333 MB, free: 4.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4574, allocations: 0 / 333 MB, free: 4.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4574, allocations: 0 / 333 MB, free: 4.578 MB / 282.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.0006805/0.4581, allocations: 382.2 kB / 333.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.4582, allocations: 8.031 kB / 333.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.4583, allocations: 30.56 kB / 333.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.4583, allocations: 4 kB / 333.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4586, allocations: 170.9 kB / 333.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4586, allocations: 11.98 kB / 333.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4587, allocations: 7.953 kB / 333.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4588, allocations: 29.7 kB / 333.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4588, allocations: 0 / 333.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4589, allocations: 0 / 333.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4589, allocations: 0 / 333.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.459, allocations: 15.98 kB / 333.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.4593, allocations: 153.7 kB / 333.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.4594, allocations: 38.52 kB / 333.8 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.4595, allocations: 8.859 kB / 333.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4595, allocations: 0 / 333.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.4596, allocations: 34.52 kB / 333.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.846e-06/0.4596, allocations: 4 kB / 333.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002458/0.4599, allocations: 49.67 kB / 333.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.4599, allocations: 55.34 kB / 334 MB, free: 3.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4601, allocations: 101 kB / 334.1 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4602, allocations: 25.7 kB / 334.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.4603, allocations: 150.6 kB / 334.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.4603, allocations: 11.83 kB / 334.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.4604, allocations: 4 kB / 334.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4605, allocations: 314.8 kB / 334.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.4606, allocations: 4 kB / 334.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.4607, allocations: 17.72 kB / 334.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.4608, allocations: 8 kB / 334.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4608, allocations: 4 kB / 334.6 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.461, allocations: 57.62 kB / 334.7 MB, free: 2.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4611, allocations: 4 kB / 334.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4611, allocations: 4.078 kB / 334.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.4611, allocations: 3.984 kB / 334.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4613, allocations: 15.94 kB / 334.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4613, allocations: 0 / 334.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.4614, allocations: 7.906 kB / 334.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4615, allocations: 4.031 kB / 334.7 MB, free: 2.648 MB / 282.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 0.0001161/0.4616, allocations: 101 kB / 334.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.4616, allocations: 4 kB / 334.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.4617, allocations: 7.5 kB / 334.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4617, allocations: 3.953 kB / 334.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4618, allocations: 0 / 334.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4618, allocations: 3.984 kB / 334.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.462, allocations: 153.7 kB / 335 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.462, allocations: 0 / 335 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4623, allocations: 19.86 kB / 335 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4623, allocations: 0 / 335 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.4623, allocations: 4 kB / 335 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4623, allocations: 0 / 335 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.4624, allocations: 3.953 kB / 335 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.4626, allocations: 73.12 kB / 335.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.4628, allocations: 81.02 kB / 335.2 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.4628, allocations: 8.016 kB / 335.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.4629, allocations: 4.062 kB / 335.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.4629, allocations: 3.953 kB / 335.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.463, allocations: 0 / 335.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.477e-05/0.4631, allocations: 83.61 kB / 335.3 MB, free: 2.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.4631, allocations: 4 kB / 335.3 MB, free: 2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006733/0.4638, allocations: 63.86 kB / 335.3 MB, free: 1.938 MB / 282.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.001074/0.4649, allocations: 0.6906 MB / 336 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4651, allocations: 19.94 kB / 336 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4651, allocations: 0 / 336 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.4652, allocations: 4 kB / 336 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.4654, allocations: 11.94 kB / 336 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.4661, allocations: 192.1 kB / 336.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4665, allocations: 0.6849 MB / 336.9 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.4665, allocations: 11.44 kB / 336.9 MB, free: 236 kB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4666, allocations: 0 / 336.9 MB, free: 236 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.547/3.013, allocations: 1.421 MB / 338.4 MB, free: 14.81 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat