Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.241e-05, allocations: 0 / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.42 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6169, allocations: 102.9 MB / 445.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.6172, allocations: 86.39 kB / 445.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7388/1.356, allocations: 97.59 MB / 0.5305 GB, free: 94.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.378e-06/1.356, allocations: 0 / 0.5305 GB, free: 94.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003891/1.357, allocations: 104.7 kB / 0.5306 GB, free: 94.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.04549/1.402, allocations: 5.986 MB / 0.5365 GB, free: 92.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.402, allocations: 9.625 kB / 0.5365 GB, free: 92.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005025/1.407, allocations: 0.8855 MB / 0.5373 GB, free: 92.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/1.442, allocations: 4.395 MB / 0.5416 GB, free: 91.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/1.463, allocations: 5.095 MB / 0.5466 GB, free: 91.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005699/1.464, allocations: 383.8 kB / 0.547 GB, free: 91.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003459/1.468, allocations: 0.4936 MB / 0.5474 GB, free: 91.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04429/1.512, allocations: 12.7 MB / 0.5598 GB, free: 88.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003911/1.512, allocations: 64.25 kB / 0.5599 GB, free: 88.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0028/1.515, allocations: 243 kB / 0.5601 GB, free: 88.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/1.518, allocations: 1.089 MB / 0.5612 GB, free: 88.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03766/1.556, allocations: 10.96 MB / 0.5719 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09747/1.653, allocations: 55.86 MB / 0.6265 GB, free: 47.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03538/1.689, allocations: 5.785 MB / 0.6321 GB, free: 45.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00677/1.695, allocations: 3.391 MB / 0.6354 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003182/1.699, allocations: 1.04 MB / 0.6364 GB, free: 40.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/1.699, allocations: 55.83 kB / 0.6365 GB, free: 40.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=214): time 7.544e-06/1.699, allocations: 0 / 0.6365 GB, free: 40.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=252): time 0.137/1.836, allocations: 26.8 MB / 0.6627 GB, free: 18.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.836, allocations: 209.9 kB / 0.6629 GB, free: 18.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009409/1.846, allocations: 3.792 MB / 0.6666 GB, free: 14.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009327/1.847, allocations: 61.7 kB / 0.6666 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003179/1.85, allocations: 3.478 MB / 0.67 GB, free: 11.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001946/1.852, allocations: 0.9434 MB / 0.6709 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.853, allocations: 134 kB / 0.6711 GB, free: 10.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004783/1.853, allocations: 0.5912 MB / 0.6716 GB, free: 9.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00833/1.862, allocations: 3.391 MB / 0.675 GB, free: 6.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01493/1.877, allocations: 7.214 MB / 0.682 GB, free: 13.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/1.895, allocations: 4.908 MB / 0.6868 GB, free: 8.148 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/1.895, allocations: 40 kB / 0.6868 GB, free: 8.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=881) (initialization): time 0.4051/2.3, allocations: 12.17 MB / 0.6987 GB, free: 94.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00022/2.3, allocations: 67.67 kB / 0.6988 GB, free: 94.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005646/2.301, allocations: 135.6 kB / 0.6989 GB, free: 94.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/2.319, allocations: 2.278 MB / 0.7011 GB, free: 94.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/2.331, allocations: 1.633 MB / 0.7027 GB, free: 94.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/2.363, allocations: 15.29 MB / 0.7177 GB, free: 90.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009738/2.373, allocations: 460.5 kB / 0.7181 GB, free: 90.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/2.375, allocations: 434.1 kB / 0.7185 GB, free: 90.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002653/2.378, allocations: 0.611 MB / 0.7191 GB, free: 90.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/2.379, allocations: 395.3 kB / 0.7195 GB, free: 90.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/2.403, allocations: 7.547 MB / 0.7269 GB, free: 89.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.27e-05/2.403, allocations: 32.25 kB / 0.7269 GB, free: 89.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.012e-05/2.403, allocations: 11.3 kB / 0.7269 GB, free: 89.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-05/2.403, allocations: 14.88 kB / 0.7269 GB, free: 89.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04591/2.449, allocations: 14.96 MB / 0.7415 GB, free: 86.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/2.449, allocations: 3.375 kB / 0.7415 GB, free: 86.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005133/2.454, allocations: 430.8 kB / 0.7419 GB, free: 86.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/2.465, allocations: 2.035 MB / 0.7439 GB, free: 85.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000887/2.466, allocations: 49.45 kB / 0.744 GB, free: 85.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0282/2.494, allocations: 13.86 MB / 0.7575 GB, free: 78.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.494, allocations: 3.953 kB / 0.7575 GB, free: 78.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03185/2.526, allocations: 11.89 MB / 0.7691 GB, free: 74.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/2.528, allocations: 447.9 kB / 0.7695 GB, free: 73.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/2.53, allocations: 42.27 kB / 0.7696 GB, free: 73.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005704/2.535, allocations: 218.2 kB / 0.7698 GB, free: 73.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.537, allocations: 156.8 kB / 0.7699 GB, free: 73.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004801/2.537, allocations: 64.03 kB / 0.77 GB, free: 73.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006748/2.544, allocations: 2.644 MB / 0.7726 GB, free: 72.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.446e-06/2.544, allocations: 0 / 0.7726 GB, free: 72.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009865/2.554, allocations: 1.389 MB / 0.7739 GB, free: 72.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03313/2.587, allocations: 12.74 MB / 0.7864 GB, free: 65.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02083/2.608, allocations: 8.398 MB / 0.7946 GB, free: 57.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/2.608, allocations: 2.734 kB / 0.7946 GB, free: 57.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009607/2.618, allocations: 3.629 MB / 0.7981 GB, free: 54.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/2.622, allocations: 457.7 kB / 0.7986 GB, free: 54.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/2.661, allocations: 11.79 MB / 0.8101 GB, free: 44.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008454/2.669, allocations: 3.851 MB / 0.8138 GB, free: 41.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01091/2.68, allocations: 2.232 MB / 0.816 GB, free: 40.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006047/2.686, allocations: 2.268 MB / 0.8182 GB, free: 38.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/2.686, allocations: 4 kB / 0.8182 GB, free: 38.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.632/3.318, allocations: 106.9 MB / 0.9227 GB, free: 99.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/3.319, allocations: 196.6 kB / 0.9228 GB, free: 99 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.367/9.686, allocations: 1.531 kB / 0.9228 GB, free: 99 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat