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 1.917/1.917, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.354e-05, allocations: 4 kB / 255.4 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09575, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.4963, allocations: 73.13 MB / 373.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.4967, allocations: 65.94 kB / 373.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.5091, allocations: 2.958 MB / 376.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5092, allocations: 0 / 376.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.5092, allocations: 3.5 kB / 376.1 MB, free: 12.38 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.0006743/0.5099, allocations: 423.6 kB / 376.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.51, allocations: 8.5 kB / 376.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.51, allocations: 51.81 kB / 376.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.5101, allocations: 25.69 kB / 376.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.5104, allocations: 223.5 kB / 376.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.5104, allocations: 10.81 kB / 376.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.5105, allocations: 22.02 kB / 376.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.5109, allocations: 139.7 kB / 377 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5109, allocations: 1.094 kB / 377 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.511, allocations: 8.938 kB / 377 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.511, allocations: 4.219 kB / 377 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.5113, allocations: 92.34 kB / 377.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5126, allocations: 0.597 MB / 377.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.5129, allocations: 113 kB / 377.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.513, allocations: 36.86 kB / 377.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.5131, allocations: 1.219 kB / 377.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5131, allocations: 40.95 kB / 377.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.176e-06/0.5131, allocations: 0 / 377.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.00175/0.5149, allocations: 0.7253 MB / 378.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.5149, allocations: 54.19 kB / 378.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5151, allocations: 146.6 kB / 378.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5151, allocations: 30.8 kB / 378.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.5152, allocations: 133 kB / 379 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.5153, allocations: 62.25 kB / 379 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.5153, allocations: 7.812 kB / 379 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.5154, allocations: 332 kB / 379.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.5155, allocations: 40.28 kB / 379.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5157, allocations: 65.78 kB / 379.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.5158, allocations: 50.59 kB / 379.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5159, allocations: 4 kB / 379.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005181/0.5164, allocations: 192.3 kB / 379.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5164, allocations: 5.938 kB / 379.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5164, allocations: 1.844 kB / 379.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.5167, allocations: 44.61 kB / 379.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.517, allocations: 37.83 kB / 379.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.5184, allocations: 1.412 MB / 381.2 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.5187, allocations: 8.359 kB / 381.2 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.5187, allocations: 9.406 kB / 381.2 MB, free: 8.734 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 9.836e-05/0.5188, allocations: 117.9 kB / 381.3 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.5189, allocations: 14.28 kB / 381.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.5189, allocations: 21.75 kB / 381.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.519, allocations: 6.234 kB / 381.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.519, allocations: 1 kB / 381.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.519, allocations: 5.391 kB / 381.4 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5201, allocations: 0.5825 MB / 382 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5202, allocations: 192 / 382 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.5205, allocations: 32.5 kB / 382 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.5207, allocations: 37.17 kB / 382 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.5207, allocations: 2.562 kB / 382 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.5219, allocations: 1.367 MB / 383.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.522, allocations: 64 / 383.4 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.5226, allocations: 321.1 kB / 383.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.5227, allocations: 96.09 kB / 383.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.5227, allocations: 2.719 kB / 383.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5229, allocations: 7.156 kB / 383.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.523, allocations: 11.33 kB / 383.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.523, allocations: 12.03 kB / 383.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.5232, allocations: 112.9 kB / 384 MB, free: 6.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5232, allocations: 0 / 384 MB, free: 6.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004574/0.5237, allocations: 50.81 kB / 384 MB, free: 6.613 MB / 314.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.001352/0.525, allocations: 0.8573 MB / 384.9 MB, free: 21.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.5257, allocations: 241 kB / 385.1 MB, free: 21.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5257, allocations: 0 / 385.1 MB, free: 21.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.5261, allocations: 176.7 kB / 385.3 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.5265, allocations: 26.02 kB / 385.3 MB, free: 21.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5278, allocations: 406.4 kB / 385.7 MB, free: 21.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.5282, allocations: 0.7358 MB / 386.4 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.5284, allocations: 16.91 kB / 386.5 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.5285, allocations: 51.98 kB / 386.5 MB, free: 20.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5285, allocations: 0 / 386.5 MB, free: 20.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.5572, allocations: 3.388 MB / 389.9 MB, free: 20.32 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.5575, allocations: 177 kB / 390.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.208, allocations: 1.5 kB / 390.1 MB, free: 20.09 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