Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.9e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.3851, allocations: 67.82 MB / 331.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.3854, allocations: 67.97 kB / 331.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01239/0.3978, allocations: 2.964 MB / 334.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3978, allocations: 0 / 334.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.3979, allocations: 7.984 kB / 334.7 MB, free: 2.887 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000741/0.3986, allocations: 434.1 kB / 335.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3987, allocations: 8.031 kB / 335.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.215e-05/0.3988, allocations: 46.55 kB / 335.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.3988, allocations: 19.81 kB / 335.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3992, allocations: 218.9 kB / 335.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3992, allocations: 15.94 kB / 335.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.3993, allocations: 19.91 kB / 335.4 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.3997, allocations: 153.2 kB / 335.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3997, allocations: 0 / 335.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.3998, allocations: 4 kB / 335.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.3998, allocations: 8 kB / 335.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.4001, allocations: 87.98 kB / 335.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4014, allocations: 0.6003 MB / 336.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.4017, allocations: 122.5 kB / 336.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4019, allocations: 36.86 kB / 336.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4019, allocations: 0 / 336.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4019, allocations: 30.56 kB / 336.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.4019, allocations: 4 kB / 336.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.00186/0.4038, allocations: 0.7347 MB / 337.2 MB, free: 100 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.4039, allocations: 51.41 kB / 337.3 MB, free: 36 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4041, allocations: 149.3 kB / 337.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4041, allocations: 33.7 kB / 337.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.4043, allocations: 190.7 kB / 337.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.4044, allocations: 67 kB / 337.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.4044, allocations: 4 kB / 337.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4045, allocations: 318.8 kB / 338 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.4047, allocations: 40.38 kB / 338 MB, free: 15.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.4048, allocations: 68.92 kB / 338.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.405, allocations: 47.98 kB / 338.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.405, allocations: 0 / 338.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005232/0.4055, allocations: 186.2 kB / 338.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4056, allocations: 13.95 kB / 338.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4056, allocations: 4 kB / 338.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.4059, allocations: 40.91 kB / 338.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.4061, allocations: 31.92 kB / 338.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4079, allocations: 1.414 MB / 339.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4081, allocations: 16.02 kB / 339.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4081, allocations: 7.953 kB / 339.9 MB, free: 13.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.4082, allocations: 109 kB / 340 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.4083, allocations: 15.81 kB / 340 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.4084, allocations: 16.75 kB / 340 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4084, allocations: 8.062 kB / 340 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4084, allocations: 0 / 340 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4084, allocations: 3.984 kB / 340 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4096, allocations: 0.5802 MB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4096, allocations: 0 / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.4099, allocations: 31.98 kB / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.4101, allocations: 36.81 kB / 340.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.4102, allocations: 7.984 kB / 340.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.4117, allocations: 1.359 MB / 342 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4117, allocations: 0 / 342 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.4124, allocations: 327.3 kB / 342.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.4125, allocations: 88.95 kB / 342.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.4126, allocations: 128 / 342.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.4128, allocations: 15.98 kB / 342.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.4129, allocations: 15.88 kB / 342.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.4129, allocations: 11.94 kB / 342.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.4131, allocations: 124 kB / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.4132, allocations: 0 / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004968/0.4137, allocations: 48 kB / 342.6 MB, free: 10.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.4148, allocations: 0.8536 MB / 343.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.4155, allocations: 246.8 kB / 343.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4155, allocations: 0 / 343.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.4159, allocations: 186.8 kB / 343.9 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4163, allocations: 15.98 kB / 343.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.4179, allocations: 431 kB / 344.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4183, allocations: 0.7285 MB / 345.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4185, allocations: 51.42 kB / 345.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4185, allocations: 4 kB / 345.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/3.318, allocations: 3.613 MB / 348.8 MB, free: 3.977 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat