Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.956/1.956, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.873e-05, allocations: 8 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09716, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5078, allocations: 73.13 MB / 373.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5082, allocations: 66.89 kB / 373.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.5209, allocations: 2.964 MB / 376.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5209, allocations: 1.531 kB / 376.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.5209, allocations: 6.812 kB / 376.1 MB, free: 12.3 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.0006964/0.5217, allocations: 428.4 kB / 376.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.5217, allocations: 9.844 kB / 376.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.5218, allocations: 51.19 kB / 376.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.5219, allocations: 22 kB / 376.6 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.5222, allocations: 221.1 kB / 376.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5222, allocations: 15.31 kB / 376.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.5223, allocations: 17.28 kB / 376.8 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.5227, allocations: 139.9 kB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5227, allocations: 3.625 kB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.5227, allocations: 6.125 kB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5228, allocations: 3.438 kB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.523, allocations: 94.3 kB / 377.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.5243, allocations: 0.5954 MB / 377.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.5246, allocations: 116.8 kB / 377.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.5247, allocations: 41.7 kB / 377.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.5248, allocations: 1.25 kB / 377.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5248, allocations: 32.66 kB / 377.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/0.5248, allocations: 0 / 377.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001805/0.5266, allocations: 0.7321 MB / 378.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5267, allocations: 53.75 kB / 378.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.5269, allocations: 147 kB / 378.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5269, allocations: 29.95 kB / 378.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.527, allocations: 194.8 kB / 379 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.5271, allocations: 65.17 kB / 379.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.5271, allocations: 1.344 kB / 379.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.5272, allocations: 332.5 kB / 379.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5273, allocations: 36.59 kB / 379.4 MB, free: 9.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5275, allocations: 69.03 kB / 379.5 MB, free: 9.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5276, allocations: 52.28 kB / 379.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5276, allocations: 5.031 kB / 379.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005252/0.5282, allocations: 185.1 kB / 379.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5282, allocations: 5.688 kB / 379.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5282, allocations: 1 kB / 379.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.5285, allocations: 45.23 kB / 379.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.5288, allocations: 32.06 kB / 379.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5303, allocations: 1.412 MB / 381.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5305, allocations: 8.234 kB / 381.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5306, allocations: 5.031 kB / 381.3 MB, free: 8.594 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 8.987e-05/0.5307, allocations: 119 kB / 381.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.5307, allocations: 15.53 kB / 381.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.5308, allocations: 20.69 kB / 381.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5308, allocations: 10.55 kB / 381.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5308, allocations: 2.031 kB / 381.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5309, allocations: 1.406 kB / 381.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.532, allocations: 0.5741 MB / 382 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.532, allocations: 1.25 kB / 382 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.5323, allocations: 36.23 kB / 382 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.5326, allocations: 30.67 kB / 382.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5326, allocations: 4.906 kB / 382.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.5339, allocations: 1.369 MB / 383.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5339, allocations: 3.938 kB / 383.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.5346, allocations: 320.4 kB / 383.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.5347, allocations: 97.34 kB / 383.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.5347, allocations: 1.531 kB / 383.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5349, allocations: 8.641 kB / 383.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.535, allocations: 11.14 kB / 383.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.535, allocations: 6.219 kB / 383.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.5354, allocations: 117.7 kB / 384 MB, free: 22.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5354, allocations: 0 / 384 MB, free: 22.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.5359, allocations: 50.97 kB / 384 MB, free: 22.46 MB / 330.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.00103/0.5369, allocations: 0.8583 MB / 384.9 MB, free: 21.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.5376, allocations: 235 kB / 385.1 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5376, allocations: 0 / 385.1 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.538, allocations: 185.2 kB / 385.3 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.5384, allocations: 18.91 kB / 385.3 MB, free: 21.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5397, allocations: 439 kB / 385.8 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.5401, allocations: 0.735 MB / 386.5 MB, free: 20.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.5402, allocations: 50.31 kB / 386.5 MB, free: 20.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5402, allocations: 0 / 386.5 MB, free: 20.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.807/3.347, allocations: 3.616 MB / 390.2 MB, free: 20.3 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat