Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.291/2.291, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.831e-05, allocations: 0 / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5689, allocations: 76.28 MB / 418.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5692, allocations: 71.09 kB / 419 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.5866, allocations: 3.575 MB / 422.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5866, allocations: 0 / 422.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.5867, allocations: 0 / 422.6 MB, free: 14.46 MB / 346.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.0004337/0.5871, allocations: 362.4 kB / 422.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5872, allocations: 12.03 kB / 422.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.5872, allocations: 38.3 kB / 423 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.5872, allocations: 0 / 423 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.5874, allocations: 170.9 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5874, allocations: 0 / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5875, allocations: 4 kB / 423.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5876, allocations: 41.5 kB / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5876, allocations: 0 / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5876, allocations: 3.953 kB / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5877, allocations: 0 / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.5877, allocations: 8 kB / 423.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.5879, allocations: 157.5 kB / 423.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.588, allocations: 27.09 kB / 423.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.588, allocations: 12.8 kB / 423.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.5881, allocations: 4 kB / 423.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5881, allocations: 38.62 kB / 423.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5881, allocations: 4 kB / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.00014/0.5883, allocations: 37.64 kB / 423.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.5883, allocations: 59.36 kB / 423.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.5884, allocations: 92.98 kB / 423.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.5885, allocations: 25.7 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.5885, allocations: 83.83 kB / 423.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.5886, allocations: 15.8 kB / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.5886, allocations: 0 / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5887, allocations: 326.5 kB / 424.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.5887, allocations: 4 kB / 424.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.5888, allocations: 22.47 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.5888, allocations: 7.938 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5888, allocations: 7.875 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001123/0.589, allocations: 49.91 kB / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.589, allocations: 8 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.589, allocations: 0 / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.589, allocations: 4.031 kB / 424.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5892, allocations: 8 kB / 424.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5892, allocations: 3.984 kB / 424.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.5892, allocations: 8.078 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5892, allocations: 7.984 kB / 424.2 MB, free: 12.65 MB / 346.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 7.166e-05/0.5893, allocations: 104.9 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.5893, allocations: 3.906 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.5894, allocations: 11.25 kB / 424.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5894, allocations: 0 / 424.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5894, allocations: 4 kB / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5894, allocations: 0 / 424.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.5896, allocations: 157.6 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5896, allocations: 0 / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5897, allocations: 8 kB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5897, allocations: 0 / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5897, allocations: 3.984 kB / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5898, allocations: 0 / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5898, allocations: 0 / 424.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.5899, allocations: 84.58 kB / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.59, allocations: 81.05 kB / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.59, allocations: 0 / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.5901, allocations: 3.938 kB / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.5901, allocations: 4.031 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.5901, allocations: 3.984 kB / 424.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.5902, allocations: 82.84 kB / 424.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5902, allocations: 0 / 424.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.5907, allocations: 71.81 kB / 424.8 MB, free: 11.96 MB / 346.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.0007043/0.5914, allocations: 0.6897 MB / 425.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.5916, allocations: 19.92 kB / 425.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5916, allocations: 0 / 425.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.5916, allocations: 11.81 kB / 425.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.5917, allocations: 6.875 kB / 425.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.5922, allocations: 150.5 kB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.5925, allocations: 0.6809 MB / 426.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.5926, allocations: 3.938 kB / 426.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.5926, allocations: 15.38 kB / 426.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5926, allocations: 0 / 426.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.6191, allocations: 1.742 MB / 428.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003711/0.6195, allocations: 157.5 kB / 428.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.071, allocations: 0 / 428.3 MB, free: 8.414 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat does not exist to compare? outputFormat=mat