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.45/2.45, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.954e-05, allocations: 4 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3983, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.5879, allocations: 100.8 MB / 455.2 MB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5883, allocations: 87.95 kB / 455.3 MB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.834/1.422, allocations: 128.1 MB / 0.5697 GB, free: 57.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.422, allocations: 0 / 0.5697 GB, free: 57.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000528/1.423, allocations: 135.9 kB / 0.5698 GB, free: 57.05 MB / 426.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.03812/1.461, allocations: 6.864 MB / 0.5766 GB, free: 50.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/1.461, allocations: 8.031 kB / 0.5766 GB, free: 50.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07481/1.536, allocations: 9.414 MB / 0.5858 GB, free: 40.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02882/1.565, allocations: 8.996 MB / 0.5945 GB, free: 31.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/1.565, allocations: 204 kB / 0.5947 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003243/1.569, allocations: 391.8 kB / 0.5951 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02419/1.593, allocations: 10.01 MB / 0.6049 GB, free: 20.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/1.629, allocations: 14.23 MB / 0.6188 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004592/1.629, allocations: 87.14 kB / 0.6189 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/1.632, allocations: 40 kB / 0.6189 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003576/1.636, allocations: 1.534 MB / 0.6204 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8454/2.481, allocations: 68.15 MB / 0.6869 GB, free: 70.98 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/2.498, allocations: 6.621 MB / 0.6934 GB, free: 70.32 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01261/2.511, allocations: 5.152 MB / 0.6984 GB, free: 70.27 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04652/2.558, allocations: 17.74 MB / 0.7158 GB, free: 67.07 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/2.558, allocations: 78.06 kB / 0.7158 GB, free: 67 MB / 474.8 MB Notification: Performance of pre-optimization done (n=310): time 8.295e-06/2.558, allocations: 3.938 kB / 0.7158 GB, free: 67 MB / 474.8 MB Notification: Performance of matching and sorting (n=384): time 0.1708/2.729, allocations: 43.07 MB / 0.7579 GB, free: 48.31 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/2.729, allocations: 327.7 kB / 0.7582 GB, free: 47.92 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/2.74, allocations: 4.315 MB / 0.7624 GB, free: 44.25 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001436/2.741, allocations: 25.7 kB / 0.7625 GB, free: 44.22 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004115/2.745, allocations: 4.484 MB / 0.7668 GB, free: 40.16 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002732/2.748, allocations: 1.352 MB / 0.7682 GB, free: 38.94 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/2.75, allocations: 0 / 0.7682 GB, free: 38.94 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008266/2.751, allocations: 0.6673 MB / 0.7688 GB, free: 38.36 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01072/2.762, allocations: 4.405 MB / 0.7731 GB, free: 34.43 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01371/2.776, allocations: 8.919 MB / 0.7818 GB, free: 24.08 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/2.789, allocations: 6.18 MB / 0.7879 GB, free: 19.11 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/2.79, allocations: 44 kB / 0.7879 GB, free: 19.06 MB / 474.8 MB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.05558/2.845, allocations: 16.68 MB / 0.8042 GB, free: 5.957 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/2.846, allocations: 72 kB / 0.8043 GB, free: 5.887 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/2.846, allocations: 158.2 kB / 0.8044 GB, free: 5.734 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02405/2.87, allocations: 4.721 MB / 0.809 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/2.884, allocations: 2.037 MB / 0.811 GB, free: 0.832 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.072/2.956, allocations: 23.56 MB / 0.834 GB, free: 9.254 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01497/2.971, allocations: 454.9 kB / 0.8344 GB, free: 8.809 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/2.974, allocations: 0.4987 MB / 0.8349 GB, free: 8.312 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1011): * Single equations (assignments): 1005 * 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,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003918/2.978, allocations: 0.5156 MB / 0.8354 GB, free: 7.793 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04462/3.022, allocations: 11.81 MB / 0.847 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/3.025, allocations: 0.513 MB / 0.8475 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04382/3.069, allocations: 12.09 MB / 0.8593 GB, free: 15.26 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/3.069, allocations: 40 kB / 0.8593 GB, free: 15.22 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-05/3.069, allocations: 16 kB / 0.8593 GB, free: 15.2 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-05/3.069, allocations: 15.94 kB / 0.8593 GB, free: 15.19 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4185/3.488, allocations: 20.77 MB / 0.8796 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.54e-05/3.488, allocations: 1 kB / 0.8796 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007413/3.495, allocations: 0.6735 MB / 0.8803 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02397/3.519, allocations: 4.492 MB / 0.8847 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/3.521, allocations: 13.69 kB / 0.8847 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05034/3.571, allocations: 23.05 MB / 0.9072 GB, free: 149 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/3.571, allocations: 2.906 kB / 0.9072 GB, free: 149 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05813/3.629, allocations: 18.21 MB / 0.925 GB, free: 144.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007188/3.636, allocations: 1.318 MB / 0.9263 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003464/3.64, allocations: 3.938 kB / 0.9263 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009303/3.649, allocations: 296.6 kB / 0.9266 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00265/3.652, allocations: 246 kB / 0.9268 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00081/3.653, allocations: 95.31 kB / 0.9269 GB, free: 143.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01125/3.664, allocations: 2.953 MB / 0.9298 GB, free: 142.7 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.052e-06/3.664, allocations: 0 / 0.9298 GB, free: 142.7 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.03061/3.695, allocations: 1.625 MB / 0.9313 GB, free: 142.7 MB / 0.5262 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 (295): * Single equations (assignments): 289 * 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,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06488/3.76, allocations: 19 MB / 0.9499 GB, free: 135.5 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02982/3.79, allocations: 11.47 MB / 0.9611 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/3.79, allocations: 0.5469 kB / 0.9611 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01738/3.807, allocations: 5.603 MB / 0.9666 GB, free: 122.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/3.813, allocations: 0.5707 MB / 0.9671 GB, free: 122.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05305/3.866, allocations: 16.43 MB / 0.9832 GB, free: 108.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/3.878, allocations: 5.054 MB / 0.9881 GB, free: 104.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01341/3.891, allocations: 2.847 MB / 0.9909 GB, free: 103 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008161/3.899, allocations: 3.157 MB / 0.994 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of SimCode: time 1.833e-06/3.899, allocations: 0 / 0.994 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7477/4.647, allocations: 138 MB / 1.129 GB, free: 142.7 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/4.647, allocations: 145.5 kB / 1.129 GB, free: 142.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/11.96, allocations: 3.062 kB / 1.129 GB, free: 142.5 MB / 0.5262 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