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.119/2.119, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.845e-05, allocations: 8 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.09999, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5365, allocations: 70.95 MB / 370.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005245/0.5371, allocations: 68.88 kB / 371 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02555/0.5627, allocations: 3.49 MB / 374.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5628, allocations: 1.875 kB / 374.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.5628, allocations: 1 kB / 374.5 MB, free: 20.74 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.0004338/0.5632, allocations: 369.7 kB / 374.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5633, allocations: 9.938 kB / 374.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.5633, allocations: 37.5 kB / 374.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.5634, allocations: 1.5 kB / 374.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5636, allocations: 167.8 kB / 375.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5636, allocations: 5.062 kB / 375.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.5636, allocations: 3.906 kB / 375.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.879e-05/0.5637, allocations: 35.72 kB / 375.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5638, allocations: 5.375 kB / 375.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5638, allocations: 0 / 375.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5638, allocations: 0 / 375.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.5639, allocations: 15.67 kB / 375.1 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.5641, allocations: 163 kB / 375.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.5642, allocations: 28.3 kB / 375.3 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.5643, allocations: 11.75 kB / 375.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5643, allocations: 5.609 kB / 375.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5643, allocations: 34.31 kB / 375.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.5643, allocations: 0 / 375.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001599/0.5645, allocations: 45.16 kB / 375.4 MB, free: 19.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.5646, allocations: 54.58 kB / 375.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.5647, allocations: 94.06 kB / 375.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.5647, allocations: 25.7 kB / 375.6 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.5647, allocations: 90.61 kB / 375.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.5648, allocations: 13.97 kB / 375.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5648, allocations: 0 / 375.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.5649, allocations: 317.5 kB / 376 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.565, allocations: 8.406 kB / 376 MB, free: 19.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.565, allocations: 20.42 kB / 376 MB, free: 19.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.5651, allocations: 9.016 kB / 376 MB, free: 19.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5651, allocations: 0.9375 kB / 376 MB, free: 19.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.5653, allocations: 58.02 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5653, allocations: 6.469 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5653, allocations: 0 / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5653, allocations: 1.281 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.5655, allocations: 10.97 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5655, allocations: 2.703 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.5656, allocations: 1.656 kB / 376.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5656, allocations: 1.219 kB / 376.1 MB, free: 19.11 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 6.313e-05/0.5657, allocations: 109.5 kB / 376.2 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.5657, allocations: 8 kB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.5658, allocations: 6.094 kB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5658, allocations: 1.281 kB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5658, allocations: 0 / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5658, allocations: 4 kB / 376.2 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5659, allocations: 162.2 kB / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.566, allocations: 3.953 kB / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.5661, allocations: 8.156 kB / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5661, allocations: 0 / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5662, allocations: 1.125 kB / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5662, allocations: 0 / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5662, allocations: 1.031 kB / 376.4 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.5664, allocations: 80.03 kB / 376.5 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.5664, allocations: 82.44 kB / 376.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.5665, allocations: 1.828 kB / 376.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.5665, allocations: 1.094 kB / 376.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.5666, allocations: 1.375 kB / 376.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5666, allocations: 464 / 376.6 MB, free: 18.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.5666, allocations: 94.23 kB / 376.7 MB, free: 18.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5667, allocations: 0 / 376.7 MB, free: 18.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007372/0.5674, allocations: 68.61 kB / 376.7 MB, free: 18.52 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.0007695/0.5682, allocations: 0.6931 MB / 377.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.5683, allocations: 22.53 kB / 377.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5684, allocations: 0 / 377.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.5684, allocations: 6.312 kB / 377.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.5686, allocations: 5.094 kB / 377.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.5693, allocations: 168.3 kB / 377.6 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.5695, allocations: 0.6839 MB / 378.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.5695, allocations: 5.25 kB / 378.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.5696, allocations: 9.406 kB / 378.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5696, allocations: 0 / 378.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.6182, allocations: 1.725 MB / 380 MB, free: 16.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.6185, allocations: 157.8 kB / 380.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.079, allocations: 4 kB / 380.2 MB, free: 16.56 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