Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.578/2.578, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.677e-05, allocations: 4.938 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4363, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.6331, allocations: 103.2 MB / 463.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.6335, allocations: 79.95 kB / 463.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852/2.486, allocations: 284.9 MB / 0.7306 GB, free: 41.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.486, allocations: 0 / 0.7306 GB, free: 41.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008644/2.487, allocations: 283.5 kB / 0.7308 GB, free: 41.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05773/2.544, allocations: 13.19 MB / 0.7437 GB, free: 35.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/2.545, allocations: 9.125 kB / 0.7437 GB, free: 35.92 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01484/2.559, allocations: 2.701 MB / 0.7464 GB, free: 35.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1354/2.695, allocations: 18.52 MB / 0.7645 GB, free: 34.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05198/2.747, allocations: 14.89 MB / 0.779 GB, free: 33.22 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001593/2.749, allocations: 1.099 MB / 0.7801 GB, free: 33.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009653/2.758, allocations: 1.457 MB / 0.7815 GB, free: 33.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1149/2.873, allocations: 36.06 MB / 0.8167 GB, free: 25.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001204/2.874, allocations: 129.1 kB / 0.8168 GB, free: 25.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008722/2.883, allocations: 0.6671 MB / 0.8175 GB, free: 25.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007892/2.891, allocations: 3.716 MB / 0.8211 GB, free: 22.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1195/3.011, allocations: 32.08 MB / 0.8524 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6946/3.705, allocations: 140.4 MB / 0.9895 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0577/3.763, allocations: 15.54 MB / 1.005 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01971/3.783, allocations: 9.563 MB / 1.014 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/3.884, allocations: 35.74 MB / 1.049 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.879e-05/3.884, allocations: 96.62 kB / 1.049 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=747): time 1.143e-05/3.884, allocations: 0 / 1.049 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=829): time 0.7122/4.596, allocations: 69.91 MB / 1.117 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/4.596, allocations: 313.5 kB / 1.118 GB, free: 104 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02464/4.621, allocations: 9.27 MB / 1.127 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002079/4.623, allocations: 136 kB / 1.127 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009316/4.632, allocations: 9.825 MB / 1.136 GB, free: 97.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005159/4.638, allocations: 2.991 MB / 1.139 GB, free: 96.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003563/4.641, allocations: 359.5 kB / 1.14 GB, free: 96.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00324/4.644, allocations: 1.098 MB / 1.141 GB, free: 95.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02144/4.666, allocations: 8.125 MB / 1.149 GB, free: 95.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02761/4.694, allocations: 17.56 MB / 1.166 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02791/4.722, allocations: 12.07 MB / 1.178 GB, free: 81.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005365/4.722, allocations: 94.84 kB / 1.178 GB, free: 81.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.07597/4.798, allocations: 26.57 MB / 1.204 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/4.799, allocations: 146 kB / 1.204 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004934/4.799, allocations: 329.2 kB / 1.204 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/4.81, allocations: 2.413 MB / 1.206 GB, free: 72.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02973/4.84, allocations: 4.275 MB / 1.211 GB, free: 71.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02944/4.87, allocations: 14.38 MB / 1.225 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02217/4.892, allocations: 1.092 MB / 1.226 GB, free: 59.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004507/4.896, allocations: 0.9961 MB / 1.227 GB, free: 58.97 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1510 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2205): * Single equations (assignments): 2188 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007277/4.904, allocations: 1.413 MB / 1.228 GB, free: 57.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003194/4.907, allocations: 1.018 MB / 1.229 GB, free: 56.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04568/4.953, allocations: 15.79 MB / 1.244 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002958/4.953, allocations: 165.2 kB / 1.245 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.341e-05/4.953, allocations: 12 kB / 1.245 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001864/4.953, allocations: 31.78 kB / 1.245 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.107/5.06, allocations: 34.7 MB / 1.279 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001055/5.06, allocations: 8 kB / 1.279 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4225/5.483, allocations: 1.396 MB / 1.28 GB, free: 95.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/5.495, allocations: 1.772 MB / 1.282 GB, free: 95.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002117/5.497, allocations: 134.8 kB / 1.282 GB, free: 95.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03085/5.528, allocations: 12.9 MB / 1.294 GB, free: 92.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/5.528, allocations: 11.34 kB / 1.294 GB, free: 92.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09765/5.625, allocations: 26.46 MB / 1.32 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01233/5.638, allocations: 2.249 MB / 1.322 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004878/5.643, allocations: 132.5 kB / 1.323 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/5.655, allocations: 0.534 MB / 1.323 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002718/5.657, allocations: 440.9 kB / 1.324 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001355/5.659, allocations: 192.8 kB / 1.324 GB, free: 89.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01757/5.676, allocations: 6.406 MB / 1.33 GB, free: 89.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.162e-06/5.676, allocations: 0 / 1.33 GB, free: 89.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02444/5.701, allocations: 3.44 MB / 1.333 GB, free: 89.33 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (655): * Single equations (assignments): 638 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06501/5.766, allocations: 27.9 MB / 1.361 GB, free: 82.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04415/5.81, allocations: 19 MB / 1.379 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/5.81, allocations: 6.906 kB / 1.379 GB, free: 76.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01882/5.829, allocations: 7.564 MB / 1.387 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/5.84, allocations: 1.259 MB / 1.388 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1153/5.955, allocations: 34.21 MB / 1.421 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02883/5.984, allocations: 10.57 MB / 1.431 GB, free: 36.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03264/6.017, allocations: 6.67 MB / 1.438 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0202/6.037, allocations: 7.447 MB / 1.445 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/6.037, allocations: 0 / 1.445 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.002/7.039, allocations: 234.7 MB / 1.674 GB, free: 9.594 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/7.039, allocations: 190.1 kB / 1.675 GB, free: 9.367 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/19.54, allocations: 0 / 1.675 GB, free: 9.367 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat