Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.335/2.335, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.711e-05/4.7e-05, allocations: 4 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 50.42 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5578/0.6847, allocations: 99.65 MB / 442.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/0.6852, allocations: 93.62 kB / 442.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9046/1.59, allocations: 104.3 MB / 0.5339 GB, free: 92.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.035e-06/1.59, allocations: 0 / 0.5339 GB, free: 92.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004147/1.59, allocations: 111.5 kB / 0.534 GB, free: 92.96 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02254/1.613, allocations: 5.109 MB / 0.539 GB, free: 90.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.613, allocations: 9.719 kB / 0.539 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003894/1.617, allocations: 0.89 MB / 0.5399 GB, free: 90.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05164/1.668, allocations: 6.902 MB / 0.5466 GB, free: 90.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/1.692, allocations: 6.421 MB / 0.5529 GB, free: 89.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/1.693, allocations: 387.8 kB / 0.5532 GB, free: 89.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/1.695, allocations: 0.5176 MB / 0.5538 GB, free: 89.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/1.731, allocations: 12.15 MB / 0.5656 GB, free: 86.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003428/1.731, allocations: 78.91 kB / 0.5657 GB, free: 86.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001917/1.733, allocations: 250.4 kB / 0.5659 GB, free: 86.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/1.735, allocations: 1.072 MB / 0.567 GB, free: 86.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/1.765, allocations: 9.67 MB / 0.5764 GB, free: 85.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0799/1.845, allocations: 55.56 MB / 0.6307 GB, free: 43.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/1.862, allocations: 4.118 MB / 0.6347 GB, free: 41.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/1.867, allocations: 2.22 MB / 0.6369 GB, free: 39.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.888, allocations: 9.36 MB / 0.646 GB, free: 31.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.888, allocations: 51.5 kB / 0.6461 GB, free: 31.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=171): time 5.841e-06/1.888, allocations: 0 / 0.6461 GB, free: 31.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.07192/1.96, allocations: 15.07 MB / 0.6608 GB, free: 18.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/1.96, allocations: 205.2 kB / 0.661 GB, free: 18.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00917/1.97, allocations: 4.105 MB / 0.665 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005173/1.97, allocations: 49.7 kB / 0.665 GB, free: 14.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.973, allocations: 3.655 MB / 0.6686 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.974, allocations: 0.7554 MB / 0.6693 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.975, allocations: 124 kB / 0.6695 GB, free: 10.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003767/1.975, allocations: 0.5704 MB / 0.67 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004451/1.98, allocations: 2.037 MB / 0.672 GB, free: 8.418 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/1.986, allocations: 5.831 MB / 0.6777 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008616/1.995, allocations: 3.452 MB / 0.6811 GB, free: 14.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.995, allocations: 40 kB / 0.6811 GB, free: 13.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02596/2.021, allocations: 8.015 MB / 0.6889 GB, free: 6.031 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/2.021, allocations: 64 kB / 0.689 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/2.022, allocations: 140.9 kB / 0.6891 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004763/2.026, allocations: 0.9335 MB / 0.69 GB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009299/2.036, allocations: 1.427 MB / 0.6914 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3562/2.392, allocations: 7.412 MB / 0.6987 GB, free: 94.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/2.4, allocations: 338.3 kB / 0.699 GB, free: 94.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.401, allocations: 385.1 kB / 0.6994 GB, free: 94.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001546/2.403, allocations: 0.6004 MB / 0.7 GB, free: 94.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.404, allocations: 417.7 kB / 0.7004 GB, free: 94.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/2.414, allocations: 3.156 MB / 0.7034 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-05/2.414, allocations: 27.23 kB / 0.7035 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/2.415, allocations: 9.469 kB / 0.7035 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-05/2.415, allocations: 10.88 kB / 0.7035 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/2.442, allocations: 8.526 MB / 0.7118 GB, free: 93.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/2.442, allocations: 1.375 kB / 0.7118 GB, free: 93.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00288/2.445, allocations: 300.4 kB / 0.7121 GB, free: 93.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003752/2.449, allocations: 0.6896 MB / 0.7128 GB, free: 93.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/2.449, allocations: 38.41 kB / 0.7128 GB, free: 93.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/2.46, allocations: 6.533 MB / 0.7192 GB, free: 90.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/2.46, allocations: 0 / 0.7192 GB, free: 90.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/2.473, allocations: 5.681 MB / 0.7247 GB, free: 90.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/2.475, allocations: 459.6 kB / 0.7252 GB, free: 90.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/2.476, allocations: 35.27 kB / 0.7252 GB, free: 90.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/2.479, allocations: 97.08 kB / 0.7253 GB, free: 90.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000822/2.48, allocations: 123.1 kB / 0.7254 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003725/2.481, allocations: 51.7 kB / 0.7255 GB, free: 90.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01284/2.494, allocations: 2.888 MB / 0.7283 GB, free: 89.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.494, allocations: 0 / 0.7283 GB, free: 89.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008936/2.503, allocations: 1.133 MB / 0.7294 GB, free: 89.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01364/2.516, allocations: 6.551 MB / 0.7358 GB, free: 86.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0121/2.528, allocations: 5.041 MB / 0.7407 GB, free: 85.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/2.528, allocations: 0 / 0.7407 GB, free: 85.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004285/2.533, allocations: 1.744 MB / 0.7424 GB, free: 84.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/2.537, allocations: 0.5284 MB / 0.7429 GB, free: 84.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/2.571, allocations: 10.47 MB / 0.7531 GB, free: 80.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009074/2.58, allocations: 3.972 MB / 0.757 GB, free: 79.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009179/2.59, allocations: 1.993 MB / 0.759 GB, free: 79.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005454/2.595, allocations: 2.364 MB / 0.7613 GB, free: 77.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/2.595, allocations: 0 / 0.7613 GB, free: 77.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/2.794, allocations: 88.35 MB / 0.8476 GB, free: 9.336 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/2.795, allocations: 211.1 kB / 0.8478 GB, free: 9.098 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.087/8.882, allocations: 4 kB / 0.8478 GB, free: 9.094 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat