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.823/1.823, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.962e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4303, allocations: 67.17 MB / 325.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/0.4308, allocations: 67.95 kB / 325.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01941/0.4503, allocations: 2.944 MB / 328.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4503, allocations: 0 / 328.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.4504, allocations: 4 kB / 328.5 MB, free: 7.598 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.0009578/0.4513, allocations: 426.1 kB / 328.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.4514, allocations: 12.03 kB / 328.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.4515, allocations: 15.81 kB / 329 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.452, allocations: 218.5 kB / 329.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.452, allocations: 11.98 kB / 329.2 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.4521, allocations: 15.84 kB / 329.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004417/0.4526, allocations: 87.72 kB / 329.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.4531, allocations: 113.7 kB / 329.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4531, allocations: 4 kB / 329.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4532, allocations: 0 / 329.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4532, allocations: 4 kB / 329.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.455, allocations: 0.5542 MB / 330 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.4554, allocations: 98.66 kB / 330.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4555, allocations: 41.05 kB / 330.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4556, allocations: 0 / 330.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4556, allocations: 34.56 kB / 330.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.965e-06/0.4556, allocations: 0 / 330.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.002507/0.4581, allocations: 0.6871 MB / 330.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.4582, allocations: 55.41 kB / 330.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4584, allocations: 124.1 kB / 331 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.4585, allocations: 25.7 kB / 331 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4586, allocations: 132.2 kB / 331.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/0.4588, allocations: 67.02 kB / 331.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.4588, allocations: 0 / 331.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.459, allocations: 322.8 kB / 331.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4592, allocations: 36.38 kB / 331.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.4594, allocations: 63.98 kB / 331.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.4598, allocations: 53.12 kB / 331.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.4599, allocations: 0 / 331.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001142/0.461, allocations: 172 kB / 331.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.4611, allocations: 4 kB / 331.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.4612, allocations: 7.938 kB / 331.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004373/0.4617, allocations: 32.84 kB / 331.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.462, allocations: 39.98 kB / 331.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.4638, allocations: 1.354 MB / 333.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.464, allocations: 12.27 kB / 333.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.4641, allocations: 12 kB / 333.3 MB, free: 2.383 MB / 282.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.0001113/0.4642, allocations: 112.8 kB / 333.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004472/0.4646, allocations: 150.3 kB / 333.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.4647, allocations: 15.86 kB / 333.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.4648, allocations: 16.75 kB / 333.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4648, allocations: 48 / 333.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4648, allocations: 7.984 kB / 333.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4648, allocations: 7.984 kB / 333.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4659, allocations: 0.5211 MB / 334.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4659, allocations: 0 / 334.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.4662, allocations: 35.97 kB / 334.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.4664, allocations: 28.84 kB / 334.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4665, allocations: 4 kB / 334.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.4679, allocations: 1.315 MB / 335.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4679, allocations: 0 / 335.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.4685, allocations: 304 kB / 335.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.4686, allocations: 89 kB / 335.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4687, allocations: 4 kB / 335.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.4688, allocations: 4.125 kB / 335.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.4689, allocations: 11.98 kB / 335.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.4689, allocations: 8 kB / 335.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.469, allocations: 99.27 kB / 336 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.469, allocations: 0 / 336 MB, free: 15.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.4695, allocations: 40 kB / 336.1 MB, free: 15.39 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.000969/0.4705, allocations: 0.8385 MB / 336.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.4711, allocations: 225.5 kB / 337.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4711, allocations: 4 kB / 337.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.4715, allocations: 176.2 kB / 337.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.472, allocations: 23.12 kB / 337.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4732, allocations: 375.3 kB / 337.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4736, allocations: 0.7319 MB / 338.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.4738, allocations: 13.2 kB / 338.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4739, allocations: 51.42 kB / 338.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4739, allocations: 0 / 338.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.5136, allocations: 2.815 MB / 341.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.5139, allocations: 142.8 kB / 341.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.087, allocations: 4 kB / 341.4 MB, free: 9.863 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