Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.267/2.267, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.991e-05, allocations: 7.984 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1743, allocations: 50.41 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5371/0.7114, allocations: 76 MB / 419.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.7118, allocations: 75.11 kB / 419.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.7289, allocations: 3.567 MB / 422.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.729, allocations: 0 / 422.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.729, allocations: 4 kB / 422.8 MB, free: 7.328 MB / 330.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.0004464/0.7295, allocations: 369.7 kB / 423.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.7295, allocations: 11.56 kB / 423.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.7296, allocations: 30.56 kB / 423.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.7296, allocations: 0 / 423.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7298, allocations: 173.5 kB / 423.4 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7298, allocations: 2.875 kB / 423.4 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.7298, allocations: 0 / 423.4 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.7299, allocations: 43.88 kB / 423.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.7299, allocations: 3.781 kB / 423.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.7299, allocations: 3.953 kB / 423.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.73, allocations: 0 / 423.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.73, allocations: 3.875 kB / 423.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.7302, allocations: 162.3 kB / 423.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.7303, allocations: 29.33 kB / 423.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.7303, allocations: 8.797 kB / 423.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.7303, allocations: 4 kB / 423.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.7304, allocations: 34.5 kB / 423.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.524e-06/0.7304, allocations: 3.938 kB / 423.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.7306, allocations: 43.69 kB / 423.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.7306, allocations: 55.36 kB / 423.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.7307, allocations: 99.84 kB / 423.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.7307, allocations: 25.7 kB / 423.9 MB, free: 6.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.7308, allocations: 87.89 kB / 424 MB, free: 6.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.7308, allocations: 11.75 kB / 424 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.7308, allocations: 0 / 424 MB, free: 6.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.7309, allocations: 320.9 kB / 424.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.7309, allocations: 7.812 kB / 424.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.731, allocations: 21.12 kB / 424.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.731, allocations: 14.25 kB / 424.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.731, allocations: 0 / 424.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.7312, allocations: 56.27 kB / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7312, allocations: 3.906 kB / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7312, allocations: 0 / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7312, allocations: 3.656 kB / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7314, allocations: 7.812 kB / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7314, allocations: 0 / 424.4 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.7314, allocations: 3.953 kB / 424.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.7314, allocations: 0 / 424.4 MB, free: 5.703 MB / 330.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.849e-05/0.7315, allocations: 112 kB / 424.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.7315, allocations: 10.94 kB / 424.5 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.7316, allocations: 3.5 kB / 424.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7316, allocations: 3.625 kB / 424.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7316, allocations: 0 / 424.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7316, allocations: 0 / 424.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.7317, allocations: 161.4 kB / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7317, allocations: 0 / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.7319, allocations: 7.906 kB / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7319, allocations: 0 / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.7319, allocations: 0 / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7319, allocations: 2.531 kB / 424.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7319, allocations: 4 kB / 424.7 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.7321, allocations: 77.67 kB / 424.8 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.7321, allocations: 83.48 kB / 424.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.7321, allocations: 7.375 kB / 424.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.7322, allocations: 0 / 424.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.7322, allocations: 3.938 kB / 424.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.7322, allocations: 1.828 kB / 424.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.7323, allocations: 83.06 kB / 425 MB, free: 5.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7323, allocations: 0 / 425 MB, free: 5.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.7328, allocations: 80.72 kB / 425 MB, free: 5.105 MB / 330.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.0008543/0.7336, allocations: 0.685 MB / 425.7 MB, free: 20.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.7338, allocations: 18.5 kB / 425.7 MB, free: 20.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7338, allocations: 4 kB / 425.7 MB, free: 20.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.7339, allocations: 11.14 kB / 425.8 MB, free: 20.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.734, allocations: 3.938 kB / 425.8 MB, free: 20.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.7345, allocations: 151.4 kB / 425.9 MB, free: 20.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.7348, allocations: 0.6857 MB / 426.6 MB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.7348, allocations: 10.36 kB / 426.6 MB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.7349, allocations: 15.41 kB / 426.6 MB, free: 19.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.7349, allocations: 0 / 426.6 MB, free: 19.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.7554, allocations: 1.729 MB / 428.3 MB, free: 19.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.7558, allocations: 158 kB / 428.5 MB, free: 19.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.317, allocations: 0 / 428.5 MB, free: 19.16 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3_res.mat does not exist to compare? outputFormat=mat