Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.557e-05/4.56e-05, allocations: 4 kB / 269.4 MB, free: 6.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1754, allocations: 47.58 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.6171, allocations: 77.48 MB / 394.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6175, allocations: 66.16 kB / 394.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.6345, allocations: 3.055 MB / 397.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.692e-06/0.6345, allocations: 0 / 397.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.6346, allocations: 11.88 kB / 397.6 MB, free: 7.59 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.001182/0.6358, allocations: 438.3 kB / 398.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.6359, allocations: 12.03 kB / 398.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.636, allocations: 48.61 kB / 398.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.6362, allocations: 19.81 kB / 398.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.6367, allocations: 214.7 kB / 398.3 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.6367, allocations: 15.19 kB / 398.4 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.6368, allocations: 22.89 kB / 398.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.6375, allocations: 138.9 kB / 398.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.6375, allocations: 0 / 398.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.6376, allocations: 14.42 kB / 398.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.6376, allocations: 4 kB / 398.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.6381, allocations: 90.45 kB / 398.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.6402, allocations: 0.5948 MB / 399.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.6407, allocations: 103.3 kB / 399.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.6409, allocations: 35.91 kB / 399.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.6409, allocations: 8 kB / 399.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.641, allocations: 34.12 kB / 399.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.228e-06/0.641, allocations: 0 / 399.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.002873/0.6439, allocations: 0.7371 MB / 400.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.644, allocations: 55.41 kB / 400.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.6443, allocations: 149.5 kB / 400.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.6444, allocations: 32.83 kB / 400.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6446, allocations: 130.1 kB / 400.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.6447, allocations: 64.78 kB / 400.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.6447, allocations: 7 kB / 400.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6449, allocations: 321.7 kB / 400.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.6452, allocations: 37.06 kB / 400.9 MB, free: 4.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6454, allocations: 72.48 kB / 401 MB, free: 4.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.6457, allocations: 47.92 kB / 401 MB, free: 4.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6457, allocations: 0 / 401 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009138/0.6466, allocations: 194.4 kB / 401.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.6467, allocations: 4 kB / 401.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6468, allocations: 11.92 kB / 401.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.6471, allocations: 35.91 kB / 401.3 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.6475, allocations: 31.48 kB / 401.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.6503, allocations: 1.42 MB / 402.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.6507, allocations: 15.34 kB / 402.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.6507, allocations: 8 kB / 402.7 MB, free: 2.613 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 0.0001908/0.6509, allocations: 119.4 kB / 402.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.6511, allocations: 19.75 kB / 402.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.6512, allocations: 19.31 kB / 402.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6512, allocations: 0 / 402.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.6512, allocations: 4 kB / 402.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6513, allocations: 3.984 kB / 402.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.6533, allocations: 0.5777 MB / 403.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6533, allocations: 0 / 403.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.6538, allocations: 31.92 kB / 403.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.6541, allocations: 31.16 kB / 403.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.6541, allocations: 0 / 403.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.6558, allocations: 1.368 MB / 404.9 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6558, allocations: 0 / 404.9 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.6566, allocations: 324.5 kB / 405.2 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.6568, allocations: 92.14 kB / 405.3 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.6568, allocations: 4 kB / 405.3 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.657, allocations: 7.375 kB / 405.3 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.6571, allocations: 19.23 kB / 405.4 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6571, allocations: 4 kB / 405.4 MB, free: 20 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.6573, allocations: 116.5 kB / 405.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.485e-06/0.6573, allocations: 0 / 405.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000495/0.6578, allocations: 50.44 kB / 405.5 MB, free: 15.88 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.001185/0.659, allocations: 0.8541 MB / 406.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.6598, allocations: 238.9 kB / 406.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6598, allocations: 0 / 406.6 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.6602, allocations: 173.3 kB / 406.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.6606, allocations: 17.73 kB / 406.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6621, allocations: 400.9 kB / 407.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.6626, allocations: 0.7363 MB / 407.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.6628, allocations: 13.33 kB / 407.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.6629, allocations: 48.23 kB / 408 MB, free: 13.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6629, allocations: 0 / 408 MB, free: 13.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.6941, allocations: 3.373 MB / 411.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.6944, allocations: 169.3 kB / 411.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.351, allocations: 4 kB / 411.5 MB, free: 9.969 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat