Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.422/2.422, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.756e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4658, allocations: 72.48 MB / 366.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4662, allocations: 67.97 kB / 366.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.4792, allocations: 2.925 MB / 369.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4792, allocations: 0 / 369.7 MB, free: 6.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.4792, allocations: 4.188 kB / 369.7 MB, free: 6.445 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007727/0.48, allocations: 430 kB / 370.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4801, allocations: 8.031 kB / 370.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.4802, allocations: 31.72 kB / 370.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.4805, allocations: 218.7 kB / 370.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4806, allocations: 4 kB / 370.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.4806, allocations: 12.22 kB / 370.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003054/0.4809, allocations: 75.98 kB / 370.5 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4813, allocations: 129.2 kB / 370.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4813, allocations: 0 / 370.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.4814, allocations: 0 / 370.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4814, allocations: 4 kB / 370.6 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4827, allocations: 0.558 MB / 371.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.4831, allocations: 106.6 kB / 371.2 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.4832, allocations: 33.11 kB / 371.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4832, allocations: 0 / 371.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4833, allocations: 38.56 kB / 371.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.357e-06/0.4833, allocations: 0 / 371.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001876/0.4852, allocations: 0.6884 MB / 372 MB, free: 3.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4853, allocations: 55.41 kB / 372.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4854, allocations: 117 kB / 372.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4855, allocations: 29.7 kB / 372.2 MB, free: 3.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4856, allocations: 132.2 kB / 372.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.4856, allocations: 67.09 kB / 372.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.4857, allocations: 0 / 372.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4858, allocations: 322.8 kB / 372.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4859, allocations: 36.31 kB / 372.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.4861, allocations: 67.94 kB / 372.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4862, allocations: 48.75 kB / 372.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4863, allocations: 8 kB / 372.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000578/0.4868, allocations: 163.8 kB / 373 MB, free: 2.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.4869, allocations: 15.69 kB / 373 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4869, allocations: 0 / 373 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.4872, allocations: 36.83 kB / 373.1 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.4875, allocations: 35.94 kB / 373.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.4892, allocations: 1.362 MB / 374.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.4894, allocations: 4.031 kB / 374.5 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.4894, allocations: 16 kB / 374.5 MB, free: 1.215 MB / 314.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.0001133/0.4896, allocations: 105 kB / 374.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004568/0.49, allocations: 154.2 kB / 374.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.4901, allocations: 11.81 kB / 374.8 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.4902, allocations: 20.73 kB / 374.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.4902, allocations: 0 / 374.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4902, allocations: 7.938 kB / 374.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4902, allocations: 4 kB / 374.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4913, allocations: 0.5235 MB / 375.3 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.4914, allocations: 0 / 375.3 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.4917, allocations: 27.98 kB / 375.3 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.4919, allocations: 36.8 kB / 375.4 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.492, allocations: 7.938 kB / 375.4 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.4935, allocations: 1.315 MB / 376.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4935, allocations: 0 / 376.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.4942, allocations: 300.1 kB / 377 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.4943, allocations: 88.95 kB / 377.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4943, allocations: 0 / 377.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4945, allocations: 8.125 kB / 377.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.4946, allocations: 15.97 kB / 377.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4947, allocations: 4 kB / 377.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.4948, allocations: 102 kB / 377.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4948, allocations: 0 / 377.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.4953, allocations: 44 kB / 377.3 MB, free: 14.23 MB / 330.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.001063/0.4963, allocations: 0.8341 MB / 378.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.497, allocations: 217.6 kB / 378.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.497, allocations: 0 / 378.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.4974, allocations: 173.6 kB / 378.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.4978, allocations: 24.12 kB / 378.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4992, allocations: 383.5 kB / 378.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4997, allocations: 0.7396 MB / 379.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.4998, allocations: 13.22 kB / 379.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.5, allocations: 55.41 kB / 379.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5, allocations: 0 / 379.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.5385, allocations: 2.806 MB / 382.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.5389, allocations: 135.1 kB / 382.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/3.182, allocations: 11.97 kB / 382.6 MB, free: 8.707 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat