Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.276/2.276, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.553e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3672, allocations: 44.48 MB / 294.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.5548, allocations: 70.28 MB / 364.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/0.5552, allocations: 71.95 kB / 364.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.5738, allocations: 3.47 MB / 368 MB, free: 8.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5738, allocations: 4 kB / 368 MB, free: 8.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.5739, allocations: 7.938 kB / 368.1 MB, free: 8.012 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.000746/0.5746, allocations: 374.3 kB / 368.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.845e-05/0.5747, allocations: 12.03 kB / 368.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.5748, allocations: 0 / 368.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.5751, allocations: 171 kB / 368.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5752, allocations: 0 / 368.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.5752, allocations: 3.906 kB / 368.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.888e-05/0.5753, allocations: 4 kB / 368.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5755, allocations: 37.69 kB / 368.6 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.5755, allocations: 4 kB / 368.6 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5756, allocations: 3.938 kB / 368.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5756, allocations: 4 kB / 368.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.576, allocations: 130.2 kB / 368.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.5761, allocations: 34.55 kB / 368.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.5762, allocations: 12.86 kB / 368.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.5762, allocations: 4 kB / 368.8 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5763, allocations: 38.56 kB / 368.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 4.919e-06/0.5763, allocations: 0 / 368.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000232/0.5766, allocations: 41.77 kB / 368.9 MB, free: 7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5766, allocations: 51.41 kB / 369 MB, free: 6.938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5768, allocations: 93 kB / 369.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5768, allocations: 29.64 kB / 369.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.5769, allocations: 84.14 kB / 369.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.577, allocations: 23.73 kB / 369.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5771, allocations: 0 / 369.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.5773, allocations: 310.8 kB / 369.5 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.5773, allocations: 8 kB / 369.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.5774, allocations: 13.72 kB / 369.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.5775, allocations: 11.98 kB / 369.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.5775, allocations: 4 kB / 369.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002702/0.5778, allocations: 49.66 kB / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5779, allocations: 11.94 kB / 369.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5779, allocations: 0 / 369.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.5779, allocations: 3.984 kB / 369.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.5781, allocations: 8 kB / 369.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5782, allocations: 0 / 369.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.5782, allocations: 0 / 369.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5783, allocations: 4 kB / 369.6 MB, free: 6.258 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 0.0001394/0.5785, allocations: 104.8 kB / 369.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000185/0.5787, allocations: 45.64 kB / 369.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.5787, allocations: 11.94 kB / 369.8 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.5788, allocations: 4.125 kB / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5788, allocations: 3.938 kB / 369.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5788, allocations: 7.938 kB / 369.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5789, allocations: 0 / 369.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.5791, allocations: 134.2 kB / 369.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5792, allocations: 3.938 kB / 369.9 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5794, allocations: 7.953 kB / 369.9 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.5794, allocations: 3.984 kB / 369.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.5795, allocations: 4 kB / 369.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5795, allocations: 4 kB / 369.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5795, allocations: 0 / 369.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.5798, allocations: 69.12 kB / 370 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.5799, allocations: 81.02 kB / 370.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.58, allocations: 3.953 kB / 370.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.5801, allocations: 0 / 370.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5801, allocations: 8.016 kB / 370.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5801, allocations: 0 / 370.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.5803, allocations: 87.72 kB / 370.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.332e-06/0.5803, allocations: 0 / 370.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001322/0.5816, allocations: 67.86 kB / 370.2 MB, free: 5.531 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.001557/0.5833, allocations: 0.6751 MB / 370.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.5835, allocations: 24.05 kB / 370.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5835, allocations: 4 kB / 370.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.5836, allocations: 8 kB / 371 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5838, allocations: 7.953 kB / 371 MB, free: 4.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.5847, allocations: 159 kB / 371.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.5851, allocations: 0.6807 MB / 371.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.5852, allocations: 4 kB / 371.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.5852, allocations: 15.44 kB / 371.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5852, allocations: 0 / 371.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.6209, allocations: 1.457 MB / 373.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003334/0.6213, allocations: 134.8 kB / 373.4 MB, free: 2.238 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.179, allocations: 0 / 373.4 MB, free: 2.238 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat