Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.431e-05, allocations: 0 / 255.4 MB, free: 2.656 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.0993, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5741, allocations: 95.96 MB / 395.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.5745, allocations: 85.48 kB / 396 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4103/0.9848, allocations: 95.91 MB / 491.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9849, allocations: 0 / 491.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000373/0.9853, allocations: 103.9 kB / 492 MB, free: 8.242 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.04326/1.029, allocations: 5.993 MB / 498 MB, free: 2.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.029, allocations: 8.031 kB / 498 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003997/1.033, allocations: 0.8934 MB / 498.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03465/1.067, allocations: 4.396 MB / 0.4915 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/1.093, allocations: 5.238 MB / 0.4966 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/1.093, allocations: 377.9 kB / 0.497 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/1.096, allocations: 0.492 MB / 0.4975 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04571/1.142, allocations: 12.77 MB / 0.5099 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.142, allocations: 63.31 kB / 0.51 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/1.145, allocations: 243.9 kB / 0.5102 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003214/1.148, allocations: 1.094 MB / 0.5113 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3284/1.476, allocations: 11.16 MB / 0.5222 GB, free: 78.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09715/1.574, allocations: 55.94 MB / 0.5768 GB, free: 48.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0352/1.609, allocations: 5.838 MB / 0.5825 GB, free: 47.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006747/1.616, allocations: 3.398 MB / 0.5858 GB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00318/1.619, allocations: 1.037 MB / 0.5869 GB, free: 45.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/1.619, allocations: 64.8 kB / 0.5869 GB, free: 45.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 6.703e-06/1.619, allocations: 0 / 0.5869 GB, free: 45.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1364/1.755, allocations: 26.88 MB / 0.6132 GB, free: 36.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.756, allocations: 208 kB / 0.6134 GB, free: 36.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.766, allocations: 3.789 MB / 0.6171 GB, free: 34.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009872/1.767, allocations: 67.86 kB / 0.6171 GB, free: 34.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003573/1.77, allocations: 3.459 MB / 0.6205 GB, free: 32.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.772, allocations: 0.9644 MB / 0.6214 GB, free: 31.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/1.774, allocations: 135.7 kB / 0.6216 GB, free: 31.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006473/1.775, allocations: 0.5915 MB / 0.6222 GB, free: 31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008446/1.783, allocations: 3.396 MB / 0.6255 GB, free: 29.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.794, allocations: 7.249 MB / 0.6326 GB, free: 23.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.806, allocations: 4.914 MB / 0.6374 GB, free: 19.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/1.806, allocations: 36 kB / 0.6374 GB, free: 19.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03829/1.845, allocations: 12.56 MB / 0.6497 GB, free: 9.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.845, allocations: 60 kB / 0.6497 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002205/1.845, allocations: 136 kB / 0.6498 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.856, allocations: 2.265 MB / 0.6521 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/1.868, allocations: 1.64 MB / 0.6537 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03209/1.9, allocations: 15.12 MB / 0.6684 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009606/1.91, allocations: 457.1 kB / 0.6689 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.912, allocations: 437 kB / 0.6693 GB, free: 7.535 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 33 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 803 * 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 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002306/1.914, allocations: 0.6118 MB / 0.6699 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.916, allocations: 394.8 kB / 0.6703 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/1.941, allocations: 7.57 MB / 0.6776 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-05/1.942, allocations: 29.25 kB / 0.6777 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/1.942, allocations: 8 kB / 0.6777 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.51e-05/1.942, allocations: 15.95 kB / 0.6777 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3557/2.297, allocations: 15 MB / 0.6923 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/2.298, allocations: 0 / 0.6923 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005223/2.303, allocations: 442.3 kB / 0.6928 GB, free: 89.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/2.314, allocations: 2.04 MB / 0.6948 GB, free: 89.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009695/2.315, allocations: 42.77 kB / 0.6948 GB, free: 89.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02878/2.344, allocations: 13.84 MB / 0.7083 GB, free: 85.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/2.344, allocations: 10.81 kB / 0.7083 GB, free: 85.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03698/2.381, allocations: 11.93 MB / 0.72 GB, free: 84.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005689/2.387, allocations: 0.9746 MB / 0.7209 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/2.389, allocations: 41.7 kB / 0.721 GB, free: 83.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008151/2.397, allocations: 211.5 kB / 0.7212 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001898/2.399, allocations: 163 kB / 0.7213 GB, free: 83.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007934/2.4, allocations: 63.89 kB / 0.7214 GB, free: 83.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01047/2.41, allocations: 2.646 MB / 0.724 GB, free: 82.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/2.41, allocations: 0 / 0.724 GB, free: 82.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01452/2.425, allocations: 1.394 MB / 0.7253 GB, free: 82.73 MB / 426.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 (198): * Single equations (assignments): 192 * 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.04928/2.474, allocations: 12.75 MB / 0.7378 GB, free: 77.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02194/2.496, allocations: 8.497 MB / 0.7461 GB, free: 74.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/2.496, allocations: 3.969 kB / 0.7461 GB, free: 74.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009569/2.506, allocations: 3.684 MB / 0.7497 GB, free: 73.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/2.51, allocations: 464.1 kB / 0.7501 GB, free: 72.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/2.555, allocations: 11.82 MB / 0.7617 GB, free: 66.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01246/2.568, allocations: 3.849 MB / 0.7654 GB, free: 63.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01615/2.584, allocations: 2.246 MB / 0.7676 GB, free: 62.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007212/2.591, allocations: 2.276 MB / 0.7698 GB, free: 60.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/2.591, allocations: 0 / 0.7698 GB, free: 60.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6471/3.238, allocations: 107.9 MB / 0.8752 GB, free: 82.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/3.239, allocations: 192.8 kB / 0.8754 GB, free: 82.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.147/9.386, allocations: 0 / 0.8754 GB, free: 82.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat