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.739/1.739, allocations: 171.2 MB / 183.8 MB, free: 12.01 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.978e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 38.77 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4059, allocations: 65.64 MB / 329.5 MB, free: 8.031 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.4063, allocations: 71.95 kB / 329.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02074/0.4271, allocations: 3.48 MB / 333 MB, free: 4.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4272, allocations: 0 / 333 MB, free: 4.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.4272, allocations: 0 / 333 MB, free: 4.477 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.0004797/0.4277, allocations: 386.1 kB / 333.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4277, allocations: 8.031 kB / 333.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.4278, allocations: 38.56 kB / 333.5 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.4278, allocations: 0 / 333.5 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.428, allocations: 175 kB / 333.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.428, allocations: 0 / 333.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4281, allocations: 3.953 kB / 333.6 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.772e-05/0.4282, allocations: 33.64 kB / 333.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4282, allocations: 0 / 333.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4282, allocations: 4 kB / 333.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4282, allocations: 4 kB / 333.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.4283, allocations: 7.984 kB / 333.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.4285, allocations: 157.7 kB / 333.8 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.4286, allocations: 34.52 kB / 333.9 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.4287, allocations: 8.859 kB / 333.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4287, allocations: 0 / 333.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.4287, allocations: 34.52 kB / 333.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4287, allocations: 0 / 333.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.429, allocations: 49.69 kB / 334 MB, free: 3.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.429, allocations: 55.41 kB / 334 MB, free: 3.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.4291, allocations: 100.9 kB / 334.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4292, allocations: 25.7 kB / 334.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.4292, allocations: 150.6 kB / 334.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.4293, allocations: 15.83 kB / 334.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.4293, allocations: 0 / 334.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4294, allocations: 314.8 kB / 334.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.4295, allocations: 4 kB / 334.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.4295, allocations: 21.72 kB / 334.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.4296, allocations: 8 kB / 334.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4296, allocations: 0 / 334.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.4297, allocations: 57.62 kB / 334.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4297, allocations: 4 kB / 334.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4298, allocations: 7.938 kB / 334.7 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4298, allocations: 4.266 kB / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4299, allocations: 11.94 kB / 334.7 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4299, allocations: 4.031 kB / 334.7 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.43, allocations: 3.906 kB / 334.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.43, allocations: 4 kB / 334.7 MB, free: 2.551 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 8.151e-05/0.4301, allocations: 101 kB / 334.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.4301, allocations: 7.984 kB / 334.8 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.4302, allocations: 7.625 kB / 334.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4302, allocations: 3.953 kB / 334.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4302, allocations: 4 kB / 334.9 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.4302, allocations: 3.984 kB / 334.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.4304, allocations: 161.7 kB / 335 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4304, allocations: 0 / 335 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4305, allocations: 7.984 kB / 335 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4305, allocations: 0 / 335 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4305, allocations: 0 / 335 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4306, allocations: 3.938 kB / 335 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.4306, allocations: 11.89 kB / 335 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4308, allocations: 73.12 kB / 335.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.4308, allocations: 85.08 kB / 335.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4309, allocations: 3.984 kB / 335.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.4309, allocations: 4.031 kB / 335.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.4309, allocations: 3.953 kB / 335.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.4309, allocations: 0 / 335.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.431, allocations: 83.28 kB / 335.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.431, allocations: 0 / 335.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005315/0.4316, allocations: 67.86 kB / 335.4 MB, free: 1.828 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.0008978/0.4325, allocations: 0.6826 MB / 336 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.4326, allocations: 16 kB / 336.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4326, allocations: 0 / 336.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.4327, allocations: 11.94 kB / 336.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.4328, allocations: 3.266 kB / 336.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.4334, allocations: 200.2 kB / 336.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4337, allocations: 0.6848 MB / 337 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4337, allocations: 7.438 kB / 337 MB, free: 132 kB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4337, allocations: 4 kB / 337 MB, free: 128 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/3.03, allocations: 1.418 MB / 338.4 MB, free: 14.71 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