Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 270 MB / 283.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.131e-05, allocations: 3.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/0.725, allocations: 108.8 MB / 0.507 GB, free: 11.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.7254, allocations: 83.95 kB / 0.5071 GB, free: 11.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9453/1.671, allocations: 129.4 MB / 0.6334 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.595e-06/1.671, allocations: 1.375 kB / 0.6334 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006021/1.671, allocations: 132.1 kB / 0.6336 GB, free: 107.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.03374/1.705, allocations: 6.715 MB / 0.6401 GB, free: 105 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.705, allocations: 9.719 kB / 0.6401 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005956/1.711, allocations: 1.084 MB / 0.6412 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.071/1.782, allocations: 9.376 MB / 0.6503 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03313/1.815, allocations: 8.439 MB / 0.6586 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006676/1.816, allocations: 473.4 kB / 0.659 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00439/1.821, allocations: 0.6198 MB / 0.6596 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05442/1.875, allocations: 15.71 MB / 0.675 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007077/1.876, allocations: 83.94 kB / 0.6751 GB, free: 99.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/1.88, allocations: 297.2 kB / 0.6753 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003746/1.884, allocations: 1.463 MB / 0.6768 GB, free: 98.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0447/1.928, allocations: 13.44 MB / 0.6899 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1217/2.05, allocations: 69 MB / 0.7573 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03229/2.083, allocations: 7.105 MB / 0.7642 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009269/2.092, allocations: 5.079 MB / 0.7692 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04215/2.134, allocations: 17.29 MB / 0.7861 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/2.134, allocations: 60.56 kB / 0.7861 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 7.474e-06/2.134, allocations: 3.562 kB / 0.7861 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of matching and sorting (n=373): time 0.6396/2.774, allocations: 48.52 MB / 0.8335 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/2.774, allocations: 325.8 kB / 0.8338 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/2.785, allocations: 4.797 MB / 0.8385 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/2.786, allocations: 83.95 kB / 0.8386 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003831/2.79, allocations: 4.299 MB / 0.8428 GB, free: 109 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002588/2.793, allocations: 1.358 MB / 0.8441 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/2.794, allocations: 162.2 kB / 0.8443 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004847/2.794, allocations: 0.6499 MB / 0.8449 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/2.805, allocations: 4.563 MB / 0.8494 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01372/2.819, allocations: 8.8 MB / 0.8579 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/2.833, allocations: 6.296 MB / 0.8641 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/2.833, allocations: 46.72 kB / 0.8641 GB, free: 98.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.06342/2.896, allocations: 17.16 MB / 0.8809 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/2.897, allocations: 67.69 kB / 0.881 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/2.897, allocations: 146 kB / 0.8811 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03385/2.931, allocations: 4.761 MB / 0.8857 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/2.949, allocations: 1.932 MB / 0.8876 GB, free: 92.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06054/3.01, allocations: 25.34 MB / 0.9124 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/3.022, allocations: 0.5935 MB / 0.913 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/3.025, allocations: 478.9 kB / 0.9134 GB, free: 79.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 59 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (956): * Single equations (assignments): 950 * 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,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004321/3.029, allocations: 0.7179 MB / 0.9141 GB, free: 79.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002675/3.032, allocations: 0.5322 MB / 0.9146 GB, free: 78.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0454/3.078, allocations: 12.51 MB / 0.9269 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.856e-05/3.078, allocations: 40 kB / 0.9269 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.742e-05/3.078, allocations: 16 kB / 0.9269 GB, free: 68.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.566e-05/3.078, allocations: 19.66 kB / 0.9269 GB, free: 68.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07186/3.15, allocations: 22.28 MB / 0.9487 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-05/3.15, allocations: 4 kB / 0.9487 GB, free: 51.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007209/3.157, allocations: 0.6434 MB / 0.9493 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02448/3.182, allocations: 4.528 MB / 0.9537 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001397/3.183, allocations: 68.48 kB / 0.9538 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0657/3.249, allocations: 24.61 MB / 0.9778 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/3.249, allocations: 3.953 kB / 0.9778 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05927/3.308, allocations: 18.72 MB / 0.9961 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/3.31, allocations: 0.5488 MB / 0.9967 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003149/3.314, allocations: 60.7 kB / 0.9967 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008145/3.322, allocations: 343.5 kB / 0.997 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002048/3.324, allocations: 235.5 kB / 0.9973 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001137/3.325, allocations: 96.56 kB / 0.9974 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01001/3.335, allocations: 3.404 MB / 1.001 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.206e-06/3.335, allocations: 0 / 1.001 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0144/3.35, allocations: 1.838 MB / 1.002 GB, free: 12.08 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 (283): * Single equations (assignments): 277 * 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.5436/3.893, allocations: 19.57 MB / 1.022 GB, free: 118 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03615/3.929, allocations: 11.82 MB / 1.033 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/3.929, allocations: 0 / 1.033 GB, free: 117.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01904/3.949, allocations: 5.722 MB / 1.039 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006911/3.956, allocations: 0.6943 MB / 1.039 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05184/4.007, allocations: 16.62 MB / 1.056 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/4.018, allocations: 4.94 MB / 1.06 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0125/4.03, allocations: 2.796 MB / 1.063 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007964/4.038, allocations: 3.084 MB / 1.066 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.312e-06/4.038, allocations: 0 / 1.066 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/4.368, allocations: 144.8 MB / 1.208 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/4.369, allocations: 180.9 kB / 1.208 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/12.14, allocations: 8.062 kB / 1.208 GB, free: 13.96 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat