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.959/1.959, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.224e-05, allocations: 0 / 225.1 MB, free: 2.137 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.4696, allocations: 67.83 MB / 331.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.47, allocations: 67.97 kB / 331.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.489, allocations: 2.969 MB / 334.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4891, allocations: 0 / 334.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.4891, allocations: 4 kB / 334.7 MB, free: 2.82 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.001105/0.4903, allocations: 426.1 kB / 335.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.4903, allocations: 8.031 kB / 335.1 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.4905, allocations: 54.55 kB / 335.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.4906, allocations: 19.81 kB / 335.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.4911, allocations: 214.9 kB / 335.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.4911, allocations: 12 kB / 335.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.4912, allocations: 23.84 kB / 335.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.4918, allocations: 149.2 kB / 335.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.4919, allocations: 0 / 335.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.492, allocations: 8 kB / 335.6 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.492, allocations: 8 kB / 335.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.4924, allocations: 87.98 kB / 335.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.4943, allocations: 0.6042 MB / 336.3 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.4948, allocations: 114.6 kB / 336.4 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.4951, allocations: 36.86 kB / 336.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.4952, allocations: 0 / 336.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.4952, allocations: 38.56 kB / 336.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.216e-06/0.4953, allocations: 4 kB / 336.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.002899/0.4982, allocations: 0.7248 MB / 337.2 MB, free: 36 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4983, allocations: 55.47 kB / 337.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.4987, allocations: 141.4 kB / 337.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.4988, allocations: 29.7 kB / 337.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4989, allocations: 132.2 kB / 337.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.499, allocations: 70.98 kB / 337.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4991, allocations: 4 kB / 337.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4993, allocations: 326.8 kB / 338 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.4995, allocations: 40.38 kB / 338 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.4998, allocations: 68.92 kB / 338.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5, allocations: 47.98 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5, allocations: 0 / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008771/0.5009, allocations: 198.2 kB / 338.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.501, allocations: 8.562 kB / 338.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.501, allocations: 4 kB / 338.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.5014, allocations: 40.91 kB / 338.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.5018, allocations: 31.92 kB / 338.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.5045, allocations: 1.421 MB / 339.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.5048, allocations: 16.02 kB / 339.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.5049, allocations: 7.953 kB / 339.8 MB, free: 13.21 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.0001641/0.5051, allocations: 109 kB / 340 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.5052, allocations: 15.81 kB / 340 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.5053, allocations: 16.75 kB / 340 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5053, allocations: 4 kB / 340 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5054, allocations: 4.062 kB / 340 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5054, allocations: 3.984 kB / 340 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.5073, allocations: 0.5823 MB / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5074, allocations: 0 / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.5078, allocations: 31.98 kB / 340.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.5082, allocations: 32.83 kB / 340.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.5082, allocations: 7.938 kB / 340.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.5106, allocations: 1.363 MB / 342 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5107, allocations: 0 / 342 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.5118, allocations: 325.5 kB / 342.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.512, allocations: 88.95 kB / 342.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.512, allocations: 4 kB / 342.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.5123, allocations: 12.11 kB / 342.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.5125, allocations: 15.94 kB / 342.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.5125, allocations: 4 kB / 342.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.5127, allocations: 128 kB / 342.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5127, allocations: 0 / 342.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007774/0.5135, allocations: 48 kB / 342.6 MB, free: 10.19 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.001696/0.5153, allocations: 0.8584 MB / 343.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.5163, allocations: 239.8 kB / 343.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5163, allocations: 0 / 343.7 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.5169, allocations: 190.7 kB / 343.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.5175, allocations: 19.98 kB / 343.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.5196, allocations: 397.2 kB / 344.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.5202, allocations: 0.7324 MB / 345 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.5204, allocations: 17.33 kB / 345.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5206, allocations: 47.42 kB / 345.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5206, allocations: 0 / 345.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.5595, allocations: 3.395 MB / 348.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/0.56, allocations: 188.5 kB / 348.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.18, allocations: 4.062 kB / 348.7 MB, free: 4.023 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