Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.751e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.6095, allocations: 107.8 MB / 490.1 MB, free: 0.582 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/0.6099, allocations: 79.95 kB / 490.2 MB, free: 0.5039 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9022/1.512, allocations: 132 MB / 0.6076 GB, free: 66.73 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.094e-06/1.512, allocations: 0 / 0.6076 GB, free: 66.73 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006354/1.513, allocations: 136 kB / 0.6077 GB, free: 66.59 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.03763/1.551, allocations: 6.883 MB / 0.6145 GB, free: 59.64 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/1.551, allocations: 8.031 kB / 0.6145 GB, free: 59.63 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006899/1.558, allocations: 1.121 MB / 0.6156 GB, free: 58.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09381/1.651, allocations: 9.417 MB / 0.6248 GB, free: 49.05 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03138/1.683, allocations: 9.008 MB / 0.6336 GB, free: 39.96 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005845/1.683, allocations: 484.8 kB / 0.634 GB, free: 39.49 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003669/1.687, allocations: 0.6441 MB / 0.6346 GB, free: 38.84 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04882/1.736, allocations: 16.17 MB / 0.6504 GB, free: 21.44 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003904/1.736, allocations: 83.25 kB / 0.6505 GB, free: 21.36 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002321/1.739, allocations: 315.8 kB / 0.6508 GB, free: 21.05 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/1.742, allocations: 1.522 MB / 0.6523 GB, free: 19.52 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04333/1.786, allocations: 13.85 MB / 0.6658 GB, free: 5.656 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5843/2.37, allocations: 70.63 MB / 0.7348 GB, free: 75.18 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03171/2.402, allocations: 7.323 MB / 0.742 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009832/2.412, allocations: 5.247 MB / 0.7471 GB, free: 74.46 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04512/2.457, allocations: 17.92 MB / 0.7646 GB, free: 72.33 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/2.457, allocations: 70.3 kB / 0.7647 GB, free: 72.29 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=310): time 7.664e-06/2.457, allocations: 0 / 0.7647 GB, free: 72.29 MB / 0.4949 GB Notification: Performance of matching and sorting (n=404): time 0.2427/2.7, allocations: 51.54 MB / 0.815 GB, free: 51.48 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/2.7, allocations: 328.4 kB / 0.8153 GB, free: 51.09 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/2.712, allocations: 4.925 MB / 0.8201 GB, free: 46.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001493/2.714, allocations: 81.7 kB / 0.8202 GB, free: 46.72 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004106/2.718, allocations: 4.425 MB / 0.8245 GB, free: 42.75 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002895/2.721, allocations: 1.459 MB / 0.8259 GB, free: 41.45 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/2.723, allocations: 168 kB / 0.8261 GB, free: 41.29 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006359/2.723, allocations: 0.6727 MB / 0.8267 GB, free: 40.71 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01234/2.736, allocations: 4.913 MB / 0.8315 GB, free: 36.3 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01563/2.751, allocations: 9.28 MB / 0.8406 GB, free: 25.69 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/2.767, allocations: 6.724 MB / 0.8472 GB, free: 20.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/2.768, allocations: 44 kB / 0.8472 GB, free: 20.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0599/2.827, allocations: 18 MB / 0.8648 GB, free: 4.152 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/2.828, allocations: 68.97 kB / 0.8649 GB, free: 4.086 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002348/2.828, allocations: 152 kB / 0.865 GB, free: 3.938 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0256/2.854, allocations: 4.78 MB / 0.8697 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01597/2.87, allocations: 2.027 MB / 0.8716 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0695/2.939, allocations: 25.41 MB / 0.8965 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.952, allocations: 0.6124 MB / 0.8971 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/2.955, allocations: 491.9 kB / 0.8975 GB, free: 2.219 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1004): * Single equations (assignments): 998 * 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.004358/2.959, allocations: 0.7292 MB / 0.8982 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002546/2.962, allocations: 0.5616 MB / 0.8988 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05385/3.015, allocations: 13.34 MB / 0.9118 GB, free: 3.574 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.056e-05/3.016, allocations: 44 kB / 0.9119 GB, free: 3.531 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/3.016, allocations: 19.95 kB / 0.9119 GB, free: 3.512 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/3.016, allocations: 19.92 kB / 0.9119 GB, free: 3.492 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5068/3.523, allocations: 23.73 MB / 0.9351 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.891e-05/3.523, allocations: 0 / 0.9351 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01237/3.535, allocations: 0.7095 MB / 0.9358 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03546/3.571, allocations: 4.521 MB / 0.9402 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001836/3.573, allocations: 71.73 kB / 0.9403 GB, free: 162.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05891/3.631, allocations: 24.59 MB / 0.9643 GB, free: 158.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/3.632, allocations: 0 / 0.9643 GB, free: 158.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06012/3.692, allocations: 20.06 MB / 0.9839 GB, free: 153.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006533/3.698, allocations: 1.461 MB / 0.9853 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002967/3.701, allocations: 69.34 kB / 0.9853 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008317/3.71, allocations: 353.8 kB / 0.9857 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002214/3.712, allocations: 249.4 kB / 0.9859 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/3.713, allocations: 103.9 kB / 0.986 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.009511/3.723, allocations: 3.492 MB / 0.9894 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.172e-06/3.723, allocations: 0 / 0.9894 GB, free: 151.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01304/3.736, allocations: 1.933 MB / 0.9913 GB, free: 151.3 MB / 0.5574 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.06858/3.804, allocations: 20.92 MB / 1.012 GB, free: 142.8 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04708/3.851, allocations: 12.66 MB / 1.024 GB, free: 131.9 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/3.852, allocations: 0 / 1.024 GB, free: 131.9 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02125/3.873, allocations: 6.15 MB / 1.03 GB, free: 126.5 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007602/3.88, allocations: 0.7016 MB / 1.031 GB, free: 125.9 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06044/3.941, allocations: 17.55 MB / 1.048 GB, free: 111 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/3.952, allocations: 5.111 MB / 1.053 GB, free: 107.2 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01573/3.968, allocations: 2.973 MB / 1.056 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008813/3.977, allocations: 3.2 MB / 1.059 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of SimCode: time 3.987e-06/3.977, allocations: 4 kB / 1.059 GB, free: 102.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7458/4.723, allocations: 150.4 MB / 1.206 GB, free: 143.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/4.723, allocations: 172.5 kB / 1.206 GB, free: 143.2 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/12.54, allocations: 7.938 kB / 1.206 GB, free: 143.2 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat