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 2.031/2.031, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.237e-05, allocations: 0 / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 38.77 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3825, allocations: 67.16 MB / 325.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.3828, allocations: 67.97 kB / 325.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.3955, allocations: 2.944 MB / 328.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3955, allocations: 0 / 328.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.3956, allocations: 4 kB / 328.5 MB, free: 7.738 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.0008018/0.3964, allocations: 426.1 kB / 328.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.3965, allocations: 12.03 kB / 328.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.3966, allocations: 19.75 kB / 328.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.3969, allocations: 214.9 kB / 329.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3969, allocations: 4 kB / 329.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.397, allocations: 15.91 kB / 329.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003107/0.3973, allocations: 91.72 kB / 329.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3977, allocations: 113.6 kB / 329.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3977, allocations: 4 kB / 329.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.3977, allocations: 0 / 329.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3977, allocations: 8 kB / 329.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.399, allocations: 0.562 MB / 329.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.3993, allocations: 94.66 kB / 330 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.3994, allocations: 29.11 kB / 330.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3995, allocations: 4 kB / 330.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.3995, allocations: 42.55 kB / 330.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.825e-06/0.3995, allocations: 0 / 330.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001904/0.4014, allocations: 0.6854 MB / 330.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4015, allocations: 59.34 kB / 330.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4017, allocations: 124.3 kB / 331 MB, free: 4.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4017, allocations: 25.7 kB / 331 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4019, allocations: 198.6 kB / 331.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.4019, allocations: 67 kB / 331.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.402, allocations: 0 / 331.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4021, allocations: 314.8 kB / 331.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4022, allocations: 36.38 kB / 331.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4024, allocations: 63.98 kB / 331.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.4026, allocations: 47.92 kB / 331.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4026, allocations: 0 / 331.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005204/0.4031, allocations: 170.2 kB / 331.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.4031, allocations: 4 kB / 331.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4032, allocations: 7.938 kB / 331.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.4034, allocations: 32.91 kB / 331.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.4037, allocations: 39.97 kB / 332 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.4055, allocations: 1.362 MB / 333.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4057, allocations: 12.09 kB / 333.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4057, allocations: 4 kB / 333.3 MB, free: 2.469 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.0001206/0.4059, allocations: 112.9 kB / 333.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004686/0.4064, allocations: 150.3 kB / 333.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.4064, allocations: 15.77 kB / 333.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.4065, allocations: 28.73 kB / 333.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4065, allocations: 0 / 333.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4066, allocations: 7.938 kB / 333.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4066, allocations: 0 / 333.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4077, allocations: 0.5172 MB / 334.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4077, allocations: 4 kB / 334.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.408, allocations: 35.92 kB / 334.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.4083, allocations: 28.84 kB / 334.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4083, allocations: 0 / 334.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.4098, allocations: 1.307 MB / 335.5 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4099, allocations: 0 / 335.5 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.4106, allocations: 308.1 kB / 335.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.4107, allocations: 93.05 kB / 335.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.4107, allocations: 4.125 kB / 335.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4109, allocations: 0 / 335.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.411, allocations: 23.95 kB / 336 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.411, allocations: 8 kB / 336 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.4111, allocations: 95.28 kB / 336.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4111, allocations: 0 / 336.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.4116, allocations: 44 kB / 336.1 MB, free: 15.48 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.001075/0.4127, allocations: 0.8302 MB / 336.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006232/0.4134, allocations: 229.5 kB / 337.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4134, allocations: 0 / 337.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.4138, allocations: 176.2 kB / 337.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4142, allocations: 22.67 kB / 337.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4155, allocations: 406.1 kB / 337.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4159, allocations: 0.728 MB / 338.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4161, allocations: 51.41 kB / 338.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4161, allocations: 8 kB / 338.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.282, allocations: 3.516 MB / 342 MB, free: 9.406 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