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.925/1.925, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.689e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09201, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5191, allocations: 95.98 MB / 396 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5195, allocations: 89.16 kB / 396 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4152/0.9346, allocations: 95.9 MB / 491.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9347, allocations: 0 / 491.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003746/0.9351, allocations: 104 kB / 492 MB, free: 8.07 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.04378/0.9789, allocations: 6 MB / 498 MB, free: 2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.979, allocations: 12.02 kB / 498.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004397/0.9834, allocations: 0.8818 MB / 498.9 MB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03326/1.017, allocations: 4.389 MB / 0.4915 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.038, allocations: 5.238 MB / 0.4966 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005399/1.038, allocations: 385.9 kB / 0.497 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/1.042, allocations: 499.8 kB / 0.4975 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04583/1.087, allocations: 12.71 MB / 0.5099 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/1.088, allocations: 67.31 kB / 0.51 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002177/1.09, allocations: 243.9 kB / 0.5102 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003081/1.093, allocations: 1.094 MB / 0.5113 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3141/1.407, allocations: 10.97 MB / 0.522 GB, free: 78.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1149/1.522, allocations: 55.93 MB / 0.5766 GB, free: 48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/1.556, allocations: 5.815 MB / 0.5823 GB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006387/1.563, allocations: 3.405 MB / 0.5856 GB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/1.566, allocations: 1.039 MB / 0.5866 GB, free: 45.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/1.566, allocations: 64.39 kB / 0.5867 GB, free: 45.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 5.841e-06/1.566, allocations: 0 / 0.5867 GB, free: 45.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1295/1.696, allocations: 26.87 MB / 0.6129 GB, free: 36.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/1.696, allocations: 213.2 kB / 0.6131 GB, free: 36.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007966/1.704, allocations: 3.786 MB / 0.6168 GB, free: 34.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008706/1.705, allocations: 68.39 kB / 0.6169 GB, free: 34.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.707, allocations: 3.462 MB / 0.6203 GB, free: 32.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.709, allocations: 0.9579 MB / 0.6212 GB, free: 31.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008767/1.71, allocations: 134.9 kB / 0.6213 GB, free: 31.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003954/1.71, allocations: 0.5899 MB / 0.6219 GB, free: 31.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0077/1.718, allocations: 3.395 MB / 0.6252 GB, free: 29.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.729, allocations: 7.219 MB / 0.6323 GB, free: 23.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.739, allocations: 4.91 MB / 0.6371 GB, free: 19.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/1.739, allocations: 40 kB / 0.6371 GB, free: 19.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.03658/1.776, allocations: 12.18 MB / 0.649 GB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.776, allocations: 60 kB / 0.6491 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.776, allocations: 136 kB / 0.6492 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/1.787, allocations: 2.274 MB / 0.6514 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/1.799, allocations: 1.639 MB / 0.653 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03284/1.832, allocations: 15.2 MB / 0.6678 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009969/1.842, allocations: 461.5 kB / 0.6683 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.844, allocations: 438.3 kB / 0.6687 GB, free: 8.195 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.003224/1.847, allocations: 0.6067 MB / 0.6693 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.849, allocations: 398.8 kB / 0.6697 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02766/1.877, allocations: 7.569 MB / 0.6771 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-05/1.877, allocations: 29.48 kB / 0.6771 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/1.877, allocations: 12 kB / 0.6771 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-05/1.877, allocations: 11.95 kB / 0.6771 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3465/2.223, allocations: 15 MB / 0.6918 GB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.224, allocations: 3.969 kB / 0.6918 GB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/2.229, allocations: 439.2 kB / 0.6922 GB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/2.239, allocations: 2.031 MB / 0.6942 GB, free: 88.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009541/2.24, allocations: 46.41 kB / 0.6942 GB, free: 88.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02756/2.268, allocations: 13.85 MB / 0.7077 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.268, allocations: 0 / 0.7077 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03232/2.3, allocations: 11.92 MB / 0.7194 GB, free: 84.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003967/2.304, allocations: 0.976 MB / 0.7203 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002078/2.307, allocations: 40.09 kB / 0.7204 GB, free: 83.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005791/2.312, allocations: 216.2 kB / 0.7206 GB, free: 83.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001393/2.314, allocations: 158.5 kB / 0.7207 GB, free: 83.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007256/2.315, allocations: 68.05 kB / 0.7208 GB, free: 83.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007751/2.322, allocations: 2.651 MB / 0.7234 GB, free: 82.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.292e-06/2.322, allocations: 0 / 0.7234 GB, free: 82.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01026/2.333, allocations: 1.391 MB / 0.7247 GB, free: 82.83 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.03414/2.367, allocations: 12.76 MB / 0.7372 GB, free: 77.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02015/2.387, allocations: 8.268 MB / 0.7453 GB, free: 74.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.387, allocations: 3.25 kB / 0.7453 GB, free: 74.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00996/2.397, allocations: 3.641 MB / 0.7488 GB, free: 73.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/2.402, allocations: 463.4 kB / 0.7493 GB, free: 73.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.442, allocations: 11.82 MB / 0.7608 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008938/2.451, allocations: 3.847 MB / 0.7646 GB, free: 63.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01178/2.463, allocations: 2.245 MB / 0.7668 GB, free: 62.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006919/2.47, allocations: 2.277 MB / 0.769 GB, free: 60.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/2.47, allocations: 0 / 0.769 GB, free: 60.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5483/3.019, allocations: 107.2 MB / 0.8737 GB, free: 80.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/3.019, allocations: 190.9 kB / 0.8738 GB, free: 80.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.227/9.245, allocations: 0 / 0.8738 GB, free: 80.49 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