Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 235 MB / 247.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.489e-05, allocations: 4 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4465, allocations: 54.84 MB / 359.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.6435, allocations: 101.5 MB / 461.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.6439, allocations: 83.95 kB / 461.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9269/1.571, allocations: 131.2 MB / 0.5787 GB, free: 98.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.437e-06/1.571, allocations: 0 / 0.5787 GB, free: 98.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005223/1.571, allocations: 137.8 kB / 0.5789 GB, free: 98.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.03098/1.602, allocations: 6.877 MB / 0.5856 GB, free: 95.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.603, allocations: 10.19 kB / 0.5856 GB, free: 95.33 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005804/1.608, allocations: 1.113 MB / 0.5867 GB, free: 94.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06645/1.675, allocations: 9.421 MB / 0.5959 GB, free: 89.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03235/1.707, allocations: 8.989 MB / 0.6047 GB, free: 82.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006054/1.708, allocations: 486.2 kB / 0.6051 GB, free: 82.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/1.712, allocations: 0.6483 MB / 0.6058 GB, free: 81.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0519/1.764, allocations: 16.22 MB / 0.6216 GB, free: 64.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005444/1.765, allocations: 91.14 kB / 0.6217 GB, free: 64.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003471/1.768, allocations: 304.6 kB / 0.622 GB, free: 64.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/1.772, allocations: 1.527 MB / 0.6235 GB, free: 62.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0453/1.817, allocations: 14.07 MB / 0.6372 GB, free: 48.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5074/2.325, allocations: 70.54 MB / 0.7061 GB, free: 63.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03488/2.359, allocations: 7.35 MB / 0.7133 GB, free: 62.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01251/2.372, allocations: 5.244 MB / 0.7184 GB, free: 62.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04819/2.42, allocations: 17.91 MB / 0.7359 GB, free: 60.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/2.42, allocations: 71.33 kB / 0.736 GB, free: 60.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 6.963e-06/2.42, allocations: 1.969 kB / 0.736 GB, free: 60.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.2654/2.686, allocations: 51.52 MB / 0.7863 GB, free: 43.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/2.686, allocations: 328 kB / 0.7866 GB, free: 43.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/2.699, allocations: 4.896 MB / 0.7914 GB, free: 38.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001648/2.7, allocations: 90.33 kB / 0.7914 GB, free: 38.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004552/2.705, allocations: 4.412 MB / 0.7958 GB, free: 34.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003104/2.708, allocations: 1.456 MB / 0.7972 GB, free: 33.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/2.71, allocations: 173.1 kB / 0.7973 GB, free: 33.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007631/2.711, allocations: 0.6678 MB / 0.798 GB, free: 32.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0126/2.723, allocations: 4.912 MB / 0.8028 GB, free: 28.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01663/2.74, allocations: 9.3 MB / 0.8119 GB, free: 17.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/2.757, allocations: 6.709 MB / 0.8184 GB, free: 12.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/2.757, allocations: 45.5 kB / 0.8185 GB, free: 12.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.06286/2.82, allocations: 18.4 MB / 0.8364 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/2.82, allocations: 72.94 kB / 0.8365 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/2.82, allocations: 152 kB / 0.8367 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02683/2.847, allocations: 4.774 MB / 0.8413 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01553/2.863, allocations: 2.02 MB / 0.8433 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06756/2.93, allocations: 25.4 MB / 0.8681 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.943, allocations: 0.6046 MB / 0.8687 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00277/2.946, allocations: 492.4 kB / 0.8692 GB, free: 8.793 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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],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],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 (1001): * Single equations (assignments): 995 * 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%) 15,(14,44.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004109/2.95, allocations: 0.7325 MB / 0.8699 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/2.952, allocations: 0.5521 MB / 0.8704 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05319/3.005, allocations: 13.33 MB / 0.8834 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.553e-05/3.006, allocations: 44.84 kB / 0.8835 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/3.006, allocations: 16.75 kB / 0.8835 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/3.006, allocations: 19.92 kB / 0.8835 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08818/3.094, allocations: 23.75 MB / 0.9067 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-05/3.094, allocations: 0.625 kB / 0.9067 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008344/3.102, allocations: 0.6982 MB / 0.9074 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4389/3.541, allocations: 4.52 MB / 0.9118 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001495/3.543, allocations: 69.59 kB / 0.9119 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06431/3.607, allocations: 24.58 MB / 0.9359 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/3.607, allocations: 2.516 kB / 0.9359 GB, free: 165.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05813/3.665, allocations: 20.04 MB / 0.9554 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006115/3.672, allocations: 1.462 MB / 0.9569 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002825/3.675, allocations: 69.45 kB / 0.9569 GB, free: 158.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008321/3.683, allocations: 363.5 kB / 0.9573 GB, free: 158.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002383/3.685, allocations: 253.8 kB / 0.9575 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00109/3.687, allocations: 98.55 kB / 0.9576 GB, free: 158.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009591/3.696, allocations: 3.476 MB / 0.961 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.02e-07/3.696, allocations: 0 / 0.961 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01202/3.708, allocations: 1.925 MB / 0.9629 GB, free: 157.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.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 (315): * Single equations (assignments): 309 * 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,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06144/3.77, allocations: 20.91 MB / 0.9833 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03556/3.805, allocations: 12.92 MB / 0.9959 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/3.805, allocations: 2.406 kB / 0.9959 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02038/3.826, allocations: 6.215 MB / 1.002 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/3.833, allocations: 0.7017 MB / 1.003 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0564/3.89, allocations: 17.53 MB / 1.02 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/3.903, allocations: 5.097 MB / 1.025 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0147/3.917, allocations: 2.966 MB / 1.028 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009261/3.927, allocations: 3.193 MB / 1.031 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.454e-06/3.927, allocations: 0 / 1.031 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7624/4.689, allocations: 151 MB / 1.178 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/4.689, allocations: 181.8 kB / 1.178 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/12.8, allocations: 0 / 1.178 GB, free: 155.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat