Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.481/2.481, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.007e-05, allocations: 3.031 kB / 249.7 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 44.52 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5188/0.628, allocations: 95.3 MB / 389.6 MB, free: 3.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.6284, allocations: 90.06 kB / 389.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5012/1.13, allocations: 94.24 MB / 483.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.13, allocations: 4 kB / 483.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000436/1.13, allocations: 104 kB / 484 MB, free: 3.543 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.05394/1.184, allocations: 5.989 MB / 490 MB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/1.184, allocations: 15.97 kB / 490 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004884/1.189, allocations: 0.6788 MB / 490.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04423/1.233, allocations: 4.4 MB / 495.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05672/1.29, allocations: 5.23 MB / 0.4886 GB, free: 3.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008082/1.291, allocations: 214 kB / 0.4888 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01245/1.303, allocations: 299.9 kB / 0.4891 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4169/1.72, allocations: 7.62 MB / 0.4965 GB, free: 75.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/1.757, allocations: 11.33 MB / 0.5076 GB, free: 72.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/1.758, allocations: 67.66 kB / 0.5076 GB, free: 72.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/1.76, allocations: 34.28 kB / 0.5077 GB, free: 72.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00336/1.763, allocations: 1.088 MB / 0.5087 GB, free: 72.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.875, allocations: 53.97 MB / 0.5614 GB, free: 40.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/1.886, allocations: 4.704 MB / 0.566 GB, free: 38.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007531/1.893, allocations: 3.337 MB / 0.5693 GB, free: 37.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003882/1.897, allocations: 1.037 MB / 0.5703 GB, free: 36.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/1.897, allocations: 57.03 kB / 0.5704 GB, free: 36.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 8.737e-06/1.897, allocations: 0 / 0.5704 GB, free: 36.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=255): time 0.1292/2.027, allocations: 25.68 MB / 0.5954 GB, free: 26.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/2.027, allocations: 208.9 kB / 0.5956 GB, free: 26.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008758/2.036, allocations: 3.315 MB / 0.5989 GB, free: 23.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009802/2.037, allocations: 33.22 kB / 0.5989 GB, free: 23.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003576/2.04, allocations: 3.511 MB / 0.6023 GB, free: 20.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/2.042, allocations: 0.9272 MB / 0.6032 GB, free: 19.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/2.044, allocations: 0 / 0.6032 GB, free: 19.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006022/2.044, allocations: 0.5992 MB / 0.6038 GB, free: 19.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00917/2.053, allocations: 3.308 MB / 0.6071 GB, free: 16.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.066, allocations: 7.257 MB / 0.6141 GB, free: 7.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/2.079, allocations: 4.824 MB / 0.6189 GB, free: 3.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/2.079, allocations: 43.94 kB / 0.6189 GB, free: 3.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.04672/2.126, allocations: 11.78 MB / 0.6304 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/2.126, allocations: 64 kB / 0.6305 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003286/2.126, allocations: 140 kB / 0.6306 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01491/2.141, allocations: 2.266 MB / 0.6328 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01554/2.157, allocations: 1.685 MB / 0.6345 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4048/2.562, allocations: 14.25 MB / 0.6484 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.573, allocations: 333.7 kB / 0.6487 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002616/2.576, allocations: 446 kB / 0.6491 GB, free: 77.61 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.003295/2.579, allocations: 465.9 kB / 0.6496 GB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.581, allocations: 373.8 kB / 0.6499 GB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/2.611, allocations: 7.375 MB / 0.6571 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.023e-05/2.612, allocations: 27.88 kB / 0.6572 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/2.612, allocations: 11.38 kB / 0.6572 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.09e-05/2.612, allocations: 10.27 kB / 0.6572 GB, free: 77.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06229/2.674, allocations: 13.94 MB / 0.6708 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/2.674, allocations: 0 / 0.6708 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006607/2.681, allocations: 442.3 kB / 0.6712 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/2.694, allocations: 2.016 MB / 0.6732 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/2.695, allocations: 10.53 kB / 0.6732 GB, free: 76.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03116/2.726, allocations: 13.11 MB / 0.686 GB, free: 71.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.726, allocations: 2.875 kB / 0.686 GB, free: 71.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0364/2.762, allocations: 11.7 MB / 0.6974 GB, free: 67.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/2.766, allocations: 0.9394 MB / 0.6983 GB, free: 67.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/2.768, allocations: 0 / 0.6983 GB, free: 67.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00617/2.775, allocations: 176 kB / 0.6985 GB, free: 67.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/2.776, allocations: 156.3 kB / 0.6987 GB, free: 67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008036/2.777, allocations: 65.86 kB / 0.6987 GB, free: 66.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006422/2.783, allocations: 2.217 MB / 0.7009 GB, free: 66.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.412e-06/2.783, allocations: 3.5 kB / 0.7009 GB, free: 66.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01139/2.795, allocations: 1.208 MB / 0.7021 GB, free: 66.18 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.03825/2.833, allocations: 12.52 MB / 0.7143 GB, free: 60.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02211/2.855, allocations: 8.166 MB / 0.7223 GB, free: 58.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/2.855, allocations: 6.531 kB / 0.7223 GB, free: 58.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01082/2.866, allocations: 3.598 MB / 0.7258 GB, free: 56.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/2.871, allocations: 363.1 kB / 0.7261 GB, free: 55.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04471/2.915, allocations: 11.51 MB / 0.7374 GB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.926, allocations: 3.849 MB / 0.7411 GB, free: 43.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01316/2.939, allocations: 2.276 MB / 0.7434 GB, free: 41.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008012/2.947, allocations: 2.264 MB / 0.7456 GB, free: 39.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/2.947, allocations: 0 / 0.7456 GB, free: 39.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7613/3.708, allocations: 103.3 MB / 0.8464 GB, free: 87.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004308/3.709, allocations: 175.6 kB / 0.8466 GB, free: 87.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.136/11.84, allocations: 4 kB / 0.8466 GB, free: 87.55 MB / 426.7 MB