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.219/2.219, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.353e-05, allocations: 4 kB / 255.4 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.5042, allocations: 70.93 MB / 370.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5046, allocations: 69.62 kB / 371 MB, free: 21.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.5226, allocations: 3.486 MB / 374.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5226, allocations: 0 / 374.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.5227, allocations: 1.031 kB / 374.5 MB, free: 21.11 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.0004622/0.5231, allocations: 372.1 kB / 374.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5232, allocations: 9.938 kB / 374.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.5232, allocations: 43.91 kB / 374.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.5233, allocations: 1.062 kB / 374.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.5234, allocations: 168.3 kB / 375 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.5234, allocations: 1.125 kB / 375 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.5235, allocations: 8.938 kB / 375 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/0.5236, allocations: 35.25 kB / 375.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5236, allocations: 1.062 kB / 375.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5236, allocations: 0 / 375.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5236, allocations: 4.969 kB / 375.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.5237, allocations: 11.86 kB / 375.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.5239, allocations: 165.5 kB / 375.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.524, allocations: 35.61 kB / 375.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.524, allocations: 9.016 kB / 375.3 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.524, allocations: 1 kB / 375.3 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.5241, allocations: 33.2 kB / 375.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.5241, allocations: 0 / 375.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001465/0.5242, allocations: 49.3 kB / 375.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.5243, allocations: 53.38 kB / 375.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.5244, allocations: 94.75 kB / 375.5 MB, free: 19.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5244, allocations: 25.7 kB / 375.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.5244, allocations: 83.17 kB / 375.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.5245, allocations: 18.14 kB / 375.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5245, allocations: 0 / 375.7 MB, free: 19.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.5246, allocations: 317.7 kB / 376 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.5246, allocations: 9.312 kB / 376 MB, free: 19.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.5246, allocations: 17.88 kB / 376 MB, free: 19.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.5247, allocations: 11.33 kB / 376 MB, free: 19.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5247, allocations: 1 kB / 376 MB, free: 19.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001142/0.5248, allocations: 58.27 kB / 376.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5248, allocations: 5.438 kB / 376.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5249, allocations: 4 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5249, allocations: 1.219 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.525, allocations: 14.02 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.525, allocations: 1.062 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.5251, allocations: 1.156 kB / 376.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.5251, allocations: 1.156 kB / 376.1 MB, free: 19.47 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 5.24e-05/0.5251, allocations: 109.2 kB / 376.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.5252, allocations: 2 kB / 376.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.5252, allocations: 8.188 kB / 376.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5252, allocations: 0 / 376.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5252, allocations: 7.266 kB / 376.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5253, allocations: 4 kB / 376.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5254, allocations: 159 kB / 376.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5254, allocations: 3.953 kB / 376.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5255, allocations: 9.812 kB / 376.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5255, allocations: 0 / 376.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5255, allocations: 4.875 kB / 376.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5256, allocations: 0 / 376.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5256, allocations: 4.109 kB / 376.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.5257, allocations: 79.08 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.5258, allocations: 84.75 kB / 376.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5258, allocations: 1.25 kB / 376.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.5258, allocations: 0.9688 kB / 376.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.5259, allocations: 4.625 kB / 376.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5259, allocations: 1.219 kB / 376.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.5259, allocations: 85.08 kB / 376.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5259, allocations: 0 / 376.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005162/0.5265, allocations: 68.81 kB / 376.7 MB, free: 18.88 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.0006519/0.5271, allocations: 0.6895 MB / 377.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.5273, allocations: 21.81 kB / 377.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5273, allocations: 0 / 377.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.5273, allocations: 6.219 kB / 377.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.5275, allocations: 4.781 kB / 377.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.5279, allocations: 169.6 kB / 377.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5281, allocations: 0.6846 MB / 378.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.5281, allocations: 4.422 kB / 378.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.5282, allocations: 13.38 kB / 378.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5282, allocations: 3.938 kB / 378.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.55, allocations: 1.724 MB / 380 MB, free: 17.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.5504, allocations: 168.1 kB / 380.2 MB, free: 16.92 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/2.982, allocations: 0 / 380.2 MB, free: 16.92 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