Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_1_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.058e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 38.77 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4107, allocations: 65.63 MB / 329.5 MB, free: 8.066 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.411, allocations: 67.95 kB / 329.6 MB, free: 8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.4293, allocations: 3.485 MB / 333 MB, free: 4.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4293, allocations: 0 / 333 MB, free: 4.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4294, allocations: 0 / 333 MB, free: 4.512 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.0005536/0.4299, allocations: 382.2 kB / 333.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.43, allocations: 8.031 kB / 333.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.43, allocations: 30.56 kB / 333.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.4301, allocations: 4 kB / 333.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.4303, allocations: 171 kB / 333.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4303, allocations: 4 kB / 333.6 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4304, allocations: 11.94 kB / 333.6 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.906e-05/0.4305, allocations: 29.7 kB / 333.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4305, allocations: 0 / 333.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4305, allocations: 0 / 333.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4305, allocations: 0 / 333.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.4306, allocations: 15.98 kB / 333.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.4308, allocations: 153.7 kB / 333.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.4309, allocations: 34.52 kB / 333.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.431, allocations: 12.86 kB / 333.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.431, allocations: 0 / 333.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.431, allocations: 34.52 kB / 333.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.431, allocations: 0 / 333.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001666/0.4312, allocations: 49.69 kB / 334 MB, free: 3.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.4313, allocations: 55.34 kB / 334 MB, free: 3.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4314, allocations: 97 kB / 334.1 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4314, allocations: 29.7 kB / 334.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.4315, allocations: 88.11 kB / 334.2 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.4315, allocations: 11.84 kB / 334.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.4316, allocations: 0 / 334.2 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4317, allocations: 318.8 kB / 334.5 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.4318, allocations: 8 kB / 334.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.4318, allocations: 13.72 kB / 334.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.4319, allocations: 15.98 kB / 334.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4319, allocations: 4 kB / 334.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001398/0.432, allocations: 57.53 kB / 334.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4321, allocations: 4 kB / 334.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4321, allocations: 3.953 kB / 334.6 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4321, allocations: 4 kB / 334.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4322, allocations: 7.938 kB / 334.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4322, allocations: 4 kB / 334.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.4323, allocations: 0 / 334.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.4323, allocations: 4.125 kB / 334.7 MB, free: 2.652 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.559e-05/0.4324, allocations: 109 kB / 334.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.4324, allocations: 288 / 334.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.4325, allocations: 11.48 kB / 334.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4325, allocations: 7.938 kB / 334.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4325, allocations: 0 / 334.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4325, allocations: 4 kB / 334.8 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.4327, allocations: 153.7 kB / 334.9 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.4327, allocations: 3.938 kB / 335 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4328, allocations: 4 kB / 335 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.4329, allocations: 4 kB / 335 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4329, allocations: 8 kB / 335 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4329, allocations: 0 / 335 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4329, allocations: 3.953 kB / 335 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.4332, allocations: 73.03 kB / 335 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.4332, allocations: 85.12 kB / 335.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4333, allocations: 0 / 335.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.702e-05/0.4333, allocations: 0 / 335.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.4333, allocations: 4.016 kB / 335.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4334, allocations: 12 kB / 335.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.505e-05/0.4334, allocations: 79.28 kB / 335.2 MB, free: 2 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4334, allocations: 0 / 335.2 MB, free: 2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.4339, allocations: 71.86 kB / 335.3 MB, free: 1.93 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.0008563/0.4348, allocations: 0.6827 MB / 336 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4349, allocations: 19.94 kB / 336 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.435, allocations: 0 / 336 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/0.435, 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.0001373/0.4351, allocations: 11.88 kB / 336 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.4357, allocations: 170.3 kB / 336.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.436, allocations: 0.6887 MB / 336.9 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.4361, allocations: 4.062 kB / 336.9 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.4362, allocations: 15.44 kB / 336.9 MB, free: 248 kB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4362, allocations: 0 / 336.9 MB, free: 248 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.4611, allocations: 1.744 MB / 338.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/0.4616, allocations: 158.5 kB / 338.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.007, allocations: 0 / 338.8 MB, free: 14.34 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat