Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.278/2.278, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.897e-05, allocations: 4.125 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.6778, allocations: 70.28 MB / 364.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.6781, allocations: 64.61 kB / 364.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01934/0.6974, allocations: 3.486 MB / 368.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6975, allocations: 0 / 368.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6975, allocations: 0 / 368.1 MB, free: 22.71 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.0004043/0.6979, allocations: 373.4 kB / 368.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.698, allocations: 11.38 kB / 368.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.698, allocations: 3.375 kB / 368.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.6982, allocations: 168.9 kB / 368.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6982, allocations: 3.938 kB / 368.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.6982, allocations: 7.891 kB / 368.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.166e-05/0.6983, allocations: 9.594 kB / 368.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/0.6984, allocations: 35.28 kB / 368.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.6984, allocations: 0 / 368.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.6984, allocations: 4 kB / 368.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6984, allocations: 0 / 368.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.6986, allocations: 139.5 kB / 368.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.6987, allocations: 32.5 kB / 368.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.6987, allocations: 12.67 kB / 368.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.6987, allocations: 0 / 368.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.6988, allocations: 34.56 kB / 368.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.6988, allocations: 0 / 368.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001386/0.6989, allocations: 39.91 kB / 369 MB, free: 21.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.699, allocations: 55.28 kB / 369 MB, free: 21.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.6991, allocations: 91.45 kB / 369.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.6991, allocations: 25.7 kB / 369.1 MB, free: 21.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.6992, allocations: 84.08 kB / 369.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.6992, allocations: 18.58 kB / 369.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.6992, allocations: 0 / 369.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.6993, allocations: 318.7 kB / 369.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.6993, allocations: 3.875 kB / 369.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.6994, allocations: 21.41 kB / 369.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.6994, allocations: 10.02 kB / 369.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.6994, allocations: 0 / 369.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.6995, allocations: 55.25 kB / 369.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6996, allocations: 7.75 kB / 369.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6996, allocations: 4.031 kB / 369.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6996, allocations: 0 / 369.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6998, allocations: 10.17 kB / 369.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6998, allocations: 0 / 369.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.6998, allocations: 3.938 kB / 369.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6999, allocations: 7.562 kB / 369.7 MB, free: 21.15 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 7.017e-05/0.6999, allocations: 104.8 kB / 369.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.728e-05/0.7, allocations: 46.08 kB / 369.8 MB, free: 21.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.7, allocations: 3.906 kB / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.7001, allocations: 16 kB / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7001, allocations: 336 / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7001, allocations: 0 / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7001, allocations: 0 / 369.8 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.7003, allocations: 130.2 kB / 370 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7003, allocations: 3.984 kB / 370 MB, free: 20.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.7004, allocations: 14.23 kB / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7004, allocations: 0 / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.7004, allocations: 0 / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7005, allocations: 128 / 370 MB, free: 20.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7005, allocations: 7.938 kB / 370 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.7006, allocations: 74.42 kB / 370.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.7007, allocations: 87.62 kB / 370.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.7007, allocations: 3.953 kB / 370.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.7008, allocations: 0 / 370.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.7008, allocations: 0 / 370.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.7008, allocations: 3.75 kB / 370.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.7009, allocations: 84.92 kB / 370.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7009, allocations: 0 / 370.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005466/0.7014, allocations: 68.2 kB / 370.3 MB, free: 20.56 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.0007839/0.7022, allocations: 0.6803 MB / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.7024, allocations: 15.56 kB / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7024, allocations: 0 / 371 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.7024, allocations: 18.45 kB / 371 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.7026, allocations: 3.953 kB / 371 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.7031, allocations: 156.7 kB / 371.2 MB, free: 19.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.7034, allocations: 0.6831 MB / 371.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.708e-05/0.7035, allocations: 6.953 kB / 371.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.7035, allocations: 7.438 kB / 371.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.7035, allocations: 0 / 371.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/0.7562, allocations: 1.445 MB / 373.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002032/0.7565, allocations: 160.8 kB / 373.5 MB, free: 18.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.084/3.84, allocations: 0 / 373.5 MB, free: 18.78 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.Nonlinear.Examples.quadratureLobatto3_res.mat does not exist to compare? outputFormat=mat