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 1.985/1.985, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.249e-05/5.265e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4296, allocations: 65.64 MB / 329.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.43, allocations: 67.97 kB / 329.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.4477, allocations: 3.485 MB / 333.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4478, allocations: 0 / 333.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4478, allocations: 4 kB / 333.1 MB, free: 4.41 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.0005011/0.4483, allocations: 390.1 kB / 333.4 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4484, allocations: 12.03 kB / 333.5 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.4484, allocations: 30.56 kB / 333.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.4485, allocations: 0 / 333.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.4487, allocations: 167.1 kB / 333.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4487, allocations: 0 / 333.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4487, allocations: 3.953 kB / 333.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.4488, allocations: 33.69 kB / 333.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4489, allocations: 4 kB / 333.7 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4489, allocations: 0 / 333.7 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4489, allocations: 4 kB / 333.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.4489, allocations: 8 kB / 333.7 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.4492, allocations: 157.6 kB / 333.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.4493, allocations: 34.61 kB / 333.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.4493, allocations: 8.859 kB / 333.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.4494, allocations: 0 / 333.9 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.4494, allocations: 42.52 kB / 333.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4494, allocations: 0 / 333.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.4496, allocations: 45.69 kB / 334 MB, free: 3.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4496, allocations: 59.28 kB / 334 MB, free: 3.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4498, allocations: 101 kB / 334.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4498, allocations: 25.7 kB / 334.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.4499, allocations: 80.14 kB / 334.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4499, allocations: 15.84 kB / 334.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4499, allocations: 0 / 334.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4501, allocations: 318.8 kB / 334.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.4501, allocations: 8 kB / 334.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.4502, allocations: 13.72 kB / 334.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.4502, allocations: 12 kB / 334.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4502, allocations: 0 / 334.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.4504, allocations: 57.53 kB / 334.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4504, allocations: 4 kB / 334.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4504, allocations: 7.984 kB / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4505, allocations: 7.938 kB / 334.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4506, allocations: 7.984 kB / 334.7 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4506, allocations: 4 kB / 334.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.4507, allocations: 0 / 334.7 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4507, allocations: 0 / 334.7 MB, free: 2.555 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.425e-05/0.4508, allocations: 109.7 kB / 334.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.4508, allocations: 0 / 334.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.4508, allocations: 3.5 kB / 334.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4508, allocations: 11.95 kB / 334.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4509, allocations: 0 / 334.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4509, allocations: 0 / 334.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.451, allocations: 153.8 kB / 335 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4511, allocations: 4 kB / 335 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.4512, allocations: 11.98 kB / 335 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4512, allocations: 0 / 335 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4512, allocations: 0 / 335 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4512, allocations: 3.938 kB / 335 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4512, allocations: 3.953 kB / 335 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.4514, allocations: 81.03 kB / 335.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.4515, allocations: 81.14 kB / 335.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.4515, allocations: 0 / 335.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.646e-05/0.4516, allocations: 0 / 335.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.4516, allocations: 7.938 kB / 335.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4516, allocations: 4 kB / 335.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.4517, allocations: 83.28 kB / 335.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4517, allocations: 0 / 335.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.4522, allocations: 67.92 kB / 335.3 MB, free: 1.84 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.0007875/0.453, allocations: 0.683 MB / 336 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.4531, allocations: 23.97 kB / 336 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4531, allocations: 0 / 336 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.4532, allocations: 7.938 kB / 336 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.4533, allocations: 12.12 kB / 336 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.4539, allocations: 170.3 kB / 336.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.4542, allocations: 0.6809 MB / 336.9 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.512e-05/0.4543, allocations: 7.984 kB / 336.9 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.4544, allocations: 15.42 kB / 336.9 MB, free: 152 kB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4544, allocations: 0 / 336.9 MB, free: 152 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.5235, allocations: 1.726 MB / 338.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.5239, allocations: 161.3 kB / 338.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.161, allocations: 0 / 338.8 MB, free: 14.26 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