Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.408e-05, allocations: 7.984 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.588, allocations: 75.19 MB / 392.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5883, allocations: 67.64 kB / 392.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.6059, allocations: 3.524 MB / 395.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.606, allocations: 0 / 395.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.606, allocations: 0 / 395.8 MB, free: 9.398 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.0004949/0.6065, allocations: 373.5 kB / 396.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6065, allocations: 12.03 kB / 396.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.6066, allocations: 30.56 kB / 396.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.6066, allocations: 0 / 396.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.6068, allocations: 174.9 kB / 396.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6069, allocations: 7.953 kB / 396.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.6069, allocations: 7.062 kB / 396.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.607, allocations: 29.7 kB / 396.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.607, allocations: 0 / 396.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.6071, allocations: 0 / 396.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6071, allocations: 0 / 396.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.6071, allocations: 11.61 kB / 396.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.6074, allocations: 165 kB / 396.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.6075, allocations: 29.77 kB / 396.6 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.6075, allocations: 12.81 kB / 396.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.6075, allocations: 4 kB / 396.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6076, allocations: 33.38 kB / 396.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.6076, allocations: 0 / 396.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001628/0.6078, allocations: 40.53 kB / 396.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.6078, allocations: 59.34 kB / 396.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.6079, allocations: 92 kB / 396.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.608, allocations: 29.7 kB / 396.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.608, allocations: 84.12 kB / 397 MB, free: 8.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.6081, allocations: 18.8 kB / 397 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6081, allocations: 0 / 397 MB, free: 8.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6083, allocations: 314 kB / 397.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.6083, allocations: 4 kB / 397.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.6084, allocations: 21.41 kB / 397.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.6084, allocations: 16.03 kB / 397.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6084, allocations: 0 / 397.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.6086, allocations: 56.11 kB / 397.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6086, allocations: 7.953 kB / 397.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6086, allocations: 4 kB / 397.4 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6086, allocations: 0 / 397.4 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.6088, allocations: 8 kB / 397.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6088, allocations: 0.875 kB / 397.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.6088, allocations: 3.938 kB / 397.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.6088, allocations: 4 kB / 397.4 MB, free: 7.594 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 9.18e-05/0.6089, allocations: 108.3 kB / 397.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.609, allocations: 3.906 kB / 397.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.609, allocations: 18.94 kB / 397.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.609, allocations: 0 / 397.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6091, allocations: 0 / 397.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6091, allocations: 0 / 397.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.6093, allocations: 153.3 kB / 397.7 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6093, allocations: 4 kB / 397.7 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.6095, allocations: 11.94 kB / 397.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6095, allocations: 4 kB / 397.7 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6096, allocations: 3.938 kB / 397.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.6096, allocations: 3.953 kB / 397.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6096, allocations: 0 / 397.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.6099, allocations: 75.97 kB / 397.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.61, allocations: 81.09 kB / 397.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.61, allocations: 0 / 397.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.6101, allocations: 0 / 397.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.6101, allocations: 12.02 kB / 397.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.6101, allocations: 0 / 397.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.6102, allocations: 82.84 kB / 398 MB, free: 6.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6103, allocations: 0 / 398 MB, free: 6.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007642/0.611, allocations: 71.86 kB / 398 MB, free: 6.895 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.001015/0.6121, allocations: 0.687 MB / 398.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.6122, allocations: 15.25 kB / 398.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6122, allocations: 0 / 398.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.6123, allocations: 11.94 kB / 398.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.6124, allocations: 10.03 kB / 398.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.613, allocations: 166.9 kB / 398.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.6134, allocations: 0.6809 MB / 399.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.6134, allocations: 8.047 kB / 399.6 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.6135, allocations: 14.94 kB / 399.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6135, allocations: 0 / 399.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.6378, allocations: 1.727 MB / 401.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/0.6382, allocations: 152.5 kB / 401.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.056, allocations: 3.938 kB / 401.5 MB, free: 3.344 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat