Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.76/1.76, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.665e-05/4.646e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.4126, allocations: 67.84 MB / 331.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.4129, allocations: 67.97 kB / 331.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.4256, allocations: 2.972 MB / 334.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4257, allocations: 3.938 kB / 334.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4257, allocations: 7.984 kB / 334.8 MB, free: 2.711 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.0007203/0.4264, allocations: 430.2 kB / 335.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4265, allocations: 8.031 kB / 335.2 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.131e-05/0.4266, allocations: 50.55 kB / 335.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.4267, allocations: 19.81 kB / 335.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.427, allocations: 216.2 kB / 335.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.427, allocations: 8 kB / 335.5 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4271, allocations: 27.91 kB / 335.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.4275, allocations: 141.4 kB / 335.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4275, allocations: 0 / 335.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.4276, allocations: 12 kB / 335.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4276, allocations: 4 kB / 335.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.4279, allocations: 87.97 kB / 335.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.4291, allocations: 0.6042 MB / 336.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.4294, allocations: 110.6 kB / 336.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4295, allocations: 40.86 kB / 336.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4296, allocations: 0 / 336.5 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.4296, allocations: 30.56 kB / 336.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.4296, allocations: 0 / 336.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.00202/0.4317, allocations: 0.7324 MB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.4317, allocations: 51.47 kB / 337.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4319, allocations: 137.4 kB / 337.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.432, allocations: 33.7 kB / 337.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.4321, allocations: 132.3 kB / 337.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.4322, allocations: 62.92 kB / 337.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.4322, allocations: 8 kB / 337.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4323, allocations: 326.8 kB / 338 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.4325, allocations: 40.38 kB / 338 MB, free: 15.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.4326, allocations: 75.67 kB / 338.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4328, allocations: 44.2 kB / 338.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4328, allocations: 0 / 338.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005241/0.4333, allocations: 197.3 kB / 338.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4334, allocations: 8 kB / 338.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4334, allocations: 3.938 kB / 338.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.4336, allocations: 40.84 kB / 338.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.4339, allocations: 31.98 kB / 338.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.4363, allocations: 1.425 MB / 339.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.4366, allocations: 4 kB / 339.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.4367, allocations: 11.95 kB / 339.9 MB, free: 13.13 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.0001739/0.4369, allocations: 120.8 kB / 340 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.437, allocations: 11.81 kB / 340 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.4371, allocations: 24.73 kB / 340 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4371, allocations: 4 kB / 340 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4372, allocations: 0 / 340 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4372, allocations: 3.938 kB / 340 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4393, allocations: 0.5785 MB / 340.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.4393, allocations: 4 kB / 340.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.4398, allocations: 27.98 kB / 340.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.4401, allocations: 40.77 kB / 340.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4402, allocations: 0 / 340.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.4426, allocations: 1.367 MB / 342 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4427, allocations: 0 / 342 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4438, allocations: 327.3 kB / 342.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.4439, allocations: 85.05 kB / 342.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.444, allocations: 7.984 kB / 342.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.4442, allocations: 4 kB / 342.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.4443, allocations: 15.94 kB / 342.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4444, allocations: 4 kB / 342.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.4446, allocations: 124 kB / 342.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4446, allocations: 64 / 342.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008869/0.4455, allocations: 52 kB / 342.6 MB, free: 10.11 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.001573/0.4471, allocations: 0.8535 MB / 343.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4478, allocations: 229.7 kB / 343.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4478, allocations: 4 kB / 343.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.4482, allocations: 175 kB / 343.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.4486, allocations: 19.98 kB / 343.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4498, allocations: 401.3 kB / 344.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4502, allocations: 0.7363 MB / 345 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.4503, allocations: 13.33 kB / 345.1 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.4504, allocations: 47.42 kB / 345.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4504, allocations: 0 / 345.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.4781, allocations: 3.357 MB / 348.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.4785, allocations: 195.1 kB / 348.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.109, allocations: 0 / 348.6 MB, free: 3.996 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat