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.978/1.978, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.514e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.297, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.4655, allocations: 95.3 MB / 389.5 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.4659, allocations: 91.89 kB / 389.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6389/1.105, allocations: 93.9 MB / 483.5 MB, free: 51.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.105, allocations: 4 kB / 483.5 MB, free: 51.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003686/1.105, allocations: 100 kB / 483.6 MB, free: 51.16 MB / 362.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.04051/1.146, allocations: 5.993 MB / 489.6 MB, free: 45.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.146, allocations: 8.031 kB / 489.6 MB, free: 45.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/1.177, allocations: 4.397 MB / 494 MB, free: 41.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.196, allocations: 5.239 MB / 499.3 MB, free: 37.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/1.196, allocations: 163.9 kB / 499.4 MB, free: 37.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/1.198, allocations: 295.4 kB / 499.7 MB, free: 36.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01854/1.217, allocations: 7.623 MB / 0.4954 GB, free: 30 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.244, allocations: 11.33 MB / 0.5065 GB, free: 17.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002509/1.244, allocations: 59.41 kB / 0.5066 GB, free: 17.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001434/1.246, allocations: 32 kB / 0.5066 GB, free: 17.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/1.248, allocations: 1.1 MB / 0.5077 GB, free: 16.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09518/1.344, allocations: 53.95 MB / 0.5603 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00985/1.353, allocations: 4.701 MB / 0.5649 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007145/1.361, allocations: 3.341 MB / 0.5682 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2816/1.642, allocations: 1.046 MB / 0.5692 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.69e-05/1.643, allocations: 54.11 kB / 0.5693 GB, free: 102.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=217): time 6.933e-06/1.643, allocations: 0 / 0.5693 GB, free: 102.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.09996/1.742, allocations: 25.69 MB / 0.5944 GB, free: 99.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.743, allocations: 204.6 kB / 0.5946 GB, free: 98.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00741/1.75, allocations: 3.307 MB / 0.5978 GB, free: 98.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009377/1.751, allocations: 29.55 kB / 0.5978 GB, free: 98.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.754, allocations: 3.517 MB / 0.6012 GB, free: 96.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/1.756, allocations: 0.9302 MB / 0.6022 GB, free: 96.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009964/1.757, allocations: 0 / 0.6022 GB, free: 96.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004494/1.758, allocations: 0.5979 MB / 0.6027 GB, free: 95.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007583/1.765, allocations: 3.307 MB / 0.606 GB, free: 95.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/1.776, allocations: 7.254 MB / 0.6131 GB, free: 89.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.787, allocations: 4.838 MB / 0.6178 GB, free: 88.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/1.787, allocations: 39.28 kB / 0.6178 GB, free: 88.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.03587/1.823, allocations: 11.8 MB / 0.6293 GB, free: 84.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/1.823, allocations: 61.38 kB / 0.6294 GB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/1.823, allocations: 141.9 kB / 0.6295 GB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/1.834, allocations: 2.259 MB / 0.6317 GB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/1.846, allocations: 1.68 MB / 0.6334 GB, free: 83.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/1.872, allocations: 14.25 MB / 0.6473 GB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009728/1.882, allocations: 326.7 kB / 0.6476 GB, free: 70.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/1.884, allocations: 458.7 kB / 0.648 GB, free: 70.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * 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 (833): * Single equations (assignments): 827 * 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.001946/1.886, allocations: 470.4 kB / 0.6485 GB, free: 69.77 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02233/1.908, allocations: 7.389 MB / 0.6557 GB, free: 63.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/1.91, allocations: 371.2 kB / 0.6561 GB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02247/1.933, allocations: 7.364 MB / 0.6633 GB, free: 57.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/1.933, allocations: 29.02 kB / 0.6633 GB, free: 57.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.933, allocations: 12 kB / 0.6633 GB, free: 57.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-05/1.933, allocations: 14.12 kB / 0.6633 GB, free: 57.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03956/1.972, allocations: 13.95 MB / 0.6769 GB, free: 46.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.973, allocations: 0 / 0.6769 GB, free: 46.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005066/1.978, allocations: 439.4 kB / 0.6773 GB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/1.988, allocations: 2.028 MB / 0.6793 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007578/1.989, allocations: 11.92 kB / 0.6793 GB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0253/2.014, allocations: 13.11 MB / 0.6921 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.014, allocations: 0 / 0.6921 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/2.043, allocations: 11.71 MB / 0.7036 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/2.047, allocations: 0.9488 MB / 0.7045 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/2.048, allocations: 4 kB / 0.7045 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004447/2.053, allocations: 171.7 kB / 0.7047 GB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009866/2.054, allocations: 153.8 kB / 0.7048 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/2.054, allocations: 64 kB / 0.7049 GB, free: 17.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005356/2.059, allocations: 2.221 MB / 0.707 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.059, allocations: 4 kB / 0.707 GB, free: 14.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00994/2.069, allocations: 1.205 MB / 0.7082 GB, free: 13.75 MB / 410.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.3187/2.388, allocations: 12.51 MB / 0.7204 GB, free: 89.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01975/2.408, allocations: 8.161 MB / 0.7284 GB, free: 89.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/2.408, allocations: 2.312 kB / 0.7284 GB, free: 89.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009146/2.417, allocations: 3.606 MB / 0.7319 GB, free: 88.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/2.421, allocations: 372 kB / 0.7323 GB, free: 88.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03935/2.461, allocations: 11.51 MB / 0.7435 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008545/2.469, allocations: 3.846 MB / 0.7473 GB, free: 86.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01151/2.481, allocations: 2.266 MB / 0.7495 GB, free: 86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006633/2.488, allocations: 2.274 MB / 0.7517 GB, free: 86 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/2.488, allocations: 4 kB / 0.7517 GB, free: 85.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/2.725, allocations: 99.91 MB / 0.8493 GB, free: 11.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/2.726, allocations: 161.3 kB / 0.8494 GB, free: 11.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.905/8.63, allocations: 0 / 0.8494 GB, free: 11.35 MB / 410.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