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.769/1.769, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.543e-05, allocations: 4 kB / 225.1 MB, free: 2.617 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 38.77 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.3842, allocations: 67.83 MB / 331.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.3846, allocations: 75.89 kB / 331.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03202/0.4167, allocations: 2.96 MB / 334.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.478e-06/0.4167, allocations: 3.984 kB / 334.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.4168, allocations: 4 kB / 334.7 MB, free: 2.781 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.0009276/0.4177, allocations: 438.2 kB / 335.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4178, allocations: 8.031 kB / 335.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.4179, allocations: 46.55 kB / 335.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.176e-05/0.418, allocations: 19.81 kB / 335.2 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.4184, allocations: 214.8 kB / 335.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.4184, allocations: 15.94 kB / 335.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-05/0.4185, allocations: 19.91 kB / 335.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.4191, allocations: 145.4 kB / 335.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.4191, allocations: 8 kB / 335.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.4192, allocations: 8 kB / 335.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4192, allocations: 4 kB / 335.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.4196, allocations: 83.98 kB / 335.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.4213, allocations: 0.5964 MB / 336.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4217, allocations: 110.6 kB / 336.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4219, allocations: 36.86 kB / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.422, allocations: 0 / 336.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.422, allocations: 38.56 kB / 336.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.422, allocations: 0 / 336.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.01276/0.4348, allocations: 0.739 MB / 337.2 MB, free: 0 / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.4349, allocations: 51.41 kB / 337.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.4372, allocations: 141.4 kB / 337.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4373, allocations: 29.7 kB / 337.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.4375, allocations: 194.7 kB / 337.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.4376, allocations: 63.02 kB / 337.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.4376, allocations: 4 kB / 337.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4378, allocations: 322.8 kB / 338 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.438, allocations: 36.31 kB / 338.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.4383, allocations: 72 kB / 338.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4385, allocations: 39.98 kB / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4385, allocations: 0 / 338.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008316/0.4394, allocations: 190.2 kB / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4394, allocations: 13.97 kB / 338.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4395, allocations: 4.062 kB / 338.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.4398, allocations: 44.83 kB / 338.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.4402, allocations: 31.98 kB / 338.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.4426, allocations: 1.41 MB / 339.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.4429, allocations: 8 kB / 339.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.4429, allocations: 7.953 kB / 339.9 MB, free: 13.16 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.0001557/0.4431, allocations: 116.8 kB / 340 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006139/0.4493, allocations: 15.81 kB / 340 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4494, allocations: 28.73 kB / 340 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4494, allocations: 4 kB / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.4495, allocations: 0 / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4495, allocations: 0 / 340 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.4533, allocations: 0.5724 MB / 340.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4534, allocations: 8.125 kB / 340.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/0.4538, allocations: 39.91 kB / 340.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.4541, allocations: 32.88 kB / 340.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.4542, allocations: 4 kB / 340.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.4564, allocations: 1.367 MB / 342 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4564, allocations: 0 / 342 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.4574, allocations: 321.7 kB / 342.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4575, allocations: 89.16 kB / 342.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.4576, allocations: 4 kB / 342.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.4578, allocations: 8 kB / 342.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.4579, allocations: 15.94 kB / 342.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.458, allocations: 4 kB / 342.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4582, allocations: 124 kB / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4582, allocations: 0 / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006931/0.4589, allocations: 48 kB / 342.6 MB, free: 10.13 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.001365/0.4603, allocations: 0.8574 MB / 343.5 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008051/0.4611, allocations: 237.9 kB / 343.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4611, allocations: 4.188 kB / 343.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.4616, allocations: 173.8 kB / 343.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.4622, allocations: 23.89 kB / 343.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4641, allocations: 427.1 kB / 344.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.4647, allocations: 0.7363 MB / 345.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4649, allocations: 51.42 kB / 345.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4649, allocations: 0 / 345.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/3.232, allocations: 3.605 MB / 348.7 MB, free: 3.914 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