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.418/2.418, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.702e-05, allocations: 2.75 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 44.52 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.6912, allocations: 95.29 MB / 389.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004551/0.6918, allocations: 83.92 kB / 389.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5124/1.204, allocations: 93.92 MB / 483.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.204, allocations: 0 / 483.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004213/1.205, allocations: 100 kB / 483.7 MB, free: 3.875 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.05079/1.255, allocations: 6 MB / 489.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/1.256, allocations: 8.031 kB / 489.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05628/1.312, allocations: 4.396 MB / 494.1 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/1.343, allocations: 5.227 MB / 499.3 MB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/1.344, allocations: 160 kB / 499.5 MB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00337/1.347, allocations: 299.9 kB / 499.8 MB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4054/1.753, allocations: 7.618 MB / 0.4955 GB, free: 75.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/1.788, allocations: 11.33 MB / 0.5066 GB, free: 72.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/1.788, allocations: 67.61 kB / 0.5066 GB, free: 72.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001476/1.79, allocations: 37.12 kB / 0.5067 GB, free: 72.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003133/1.793, allocations: 1.09 MB / 0.5077 GB, free: 72.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/1.894, allocations: 53.96 MB / 0.5604 GB, free: 41.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009573/1.903, allocations: 4.706 MB / 0.565 GB, free: 39.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007013/1.91, allocations: 3.342 MB / 0.5683 GB, free: 37.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/1.914, allocations: 1.037 MB / 0.5693 GB, free: 36.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/1.914, allocations: 60.45 kB / 0.5694 GB, free: 36.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 7.404e-06/1.914, allocations: 0 / 0.5694 GB, free: 36.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=255): time 0.113/2.027, allocations: 25.68 MB / 0.5944 GB, free: 27.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/2.027, allocations: 204.6 kB / 0.5946 GB, free: 27.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008502/2.036, allocations: 3.314 MB / 0.5979 GB, free: 25.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009487/2.037, allocations: 25.7 kB / 0.5979 GB, free: 25.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003327/2.04, allocations: 3.518 MB / 0.6013 GB, free: 22.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002809/2.043, allocations: 0.9304 MB / 0.6022 GB, free: 21.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/2.045, allocations: 0 / 0.6022 GB, free: 21.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001213/2.046, allocations: 0.596 MB / 0.6028 GB, free: 20.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01141/2.058, allocations: 3.302 MB / 0.606 GB, free: 17.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/2.069, allocations: 7.263 MB / 0.6131 GB, free: 9.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.081, allocations: 4.827 MB / 0.6179 GB, free: 5.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001578/2.082, allocations: 40 kB / 0.6179 GB, free: 5.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.05612/2.138, allocations: 12.5 MB / 0.6301 GB, free: 13.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/2.138, allocations: 68 kB / 0.6302 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/2.138, allocations: 140 kB / 0.6303 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01391/2.152, allocations: 2.268 MB / 0.6325 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/2.167, allocations: 1.679 MB / 0.6342 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4042/2.571, allocations: 14.26 MB / 0.6481 GB, free: 78.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.582, allocations: 323.2 kB / 0.6484 GB, free: 78.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/2.585, allocations: 453.5 kB / 0.6488 GB, free: 78.46 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.003116/2.588, allocations: 464.4 kB / 0.6493 GB, free: 78.35 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02901/2.617, allocations: 7.389 MB / 0.6565 GB, free: 78.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/2.619, allocations: 369.5 kB / 0.6568 GB, free: 78.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/2.646, allocations: 7.351 MB / 0.664 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.96e-05/2.646, allocations: 31.81 kB / 0.664 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.826e-05/2.646, allocations: 11.25 kB / 0.664 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.637e-05/2.646, allocations: 11.11 kB / 0.6641 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04924/2.695, allocations: 13.95 MB / 0.6777 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/2.695, allocations: 0 / 0.6777 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00628/2.702, allocations: 443.3 kB / 0.6781 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/2.715, allocations: 2.026 MB / 0.6801 GB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009332/2.716, allocations: 6.859 kB / 0.6801 GB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03263/2.749, allocations: 13.11 MB / 0.6929 GB, free: 71.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/2.749, allocations: 0 / 0.6929 GB, free: 71.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/2.786, allocations: 11.71 MB / 0.7043 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004409/2.79, allocations: 0.9282 MB / 0.7052 GB, free: 66.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/2.793, allocations: 2.719 kB / 0.7052 GB, free: 66.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009014/2.802, allocations: 177.6 kB / 0.7054 GB, free: 66.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002606/2.804, allocations: 154 kB / 0.7055 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001149/2.806, allocations: 71.91 kB / 0.7056 GB, free: 66.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008201/2.814, allocations: 2.224 MB / 0.7078 GB, free: 65.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.974e-06/2.814, allocations: 0 / 0.7078 GB, free: 65.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0116/2.826, allocations: 1.22 MB / 0.709 GB, free: 65.5 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.04807/2.874, allocations: 12.51 MB / 0.7212 GB, free: 60.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03377/2.908, allocations: 8.18 MB / 0.7292 GB, free: 55.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.908, allocations: 4 kB / 0.7292 GB, free: 55.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.925, allocations: 3.6 MB / 0.7327 GB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006652/2.932, allocations: 356 kB / 0.733 GB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06847/3, allocations: 11.51 MB / 0.7443 GB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01555/3.016, allocations: 3.851 MB / 0.748 GB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.02159/3.037, allocations: 2.268 MB / 0.7503 GB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01156/3.049, allocations: 2.266 MB / 0.7525 GB, free: 36.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.405e-06/3.049, allocations: 0 / 0.7525 GB, free: 36.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6839/3.733, allocations: 99.94 MB / 0.8501 GB, free: 86.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003364/3.733, allocations: 168.4 kB / 0.8502 GB, free: 86.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.116/10.85, allocations: 0 / 0.8502 GB, free: 86.38 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat does not exist to compare? outputFormat=mat