Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.655e-05, allocations: 5.547 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5554, allocations: 95.96 MB / 417.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/0.556, allocations: 79.95 kB / 417.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807/2.363, allocations: 284.2 MB / 0.6856 GB, free: 29.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/2.363, allocations: 3.656 kB / 0.6856 GB, free: 29.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001011/2.364, allocations: 276.5 kB / 0.6859 GB, free: 29.78 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: 5455 * Number of variables: 5455 Notification: Performance of Generate backend data structure: time 0.05775/2.422, allocations: 13.19 MB / 0.6988 GB, free: 24.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/2.422, allocations: 7.688 kB / 0.6988 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01503/2.437, allocations: 2.69 MB / 0.7014 GB, free: 24.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1383/2.576, allocations: 18.45 MB / 0.7194 GB, free: 23.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05737/2.633, allocations: 14.86 MB / 0.7339 GB, free: 21.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001691/2.635, allocations: 1.099 MB / 0.735 GB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01018/2.645, allocations: 1.458 MB / 0.7364 GB, free: 21.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1186/2.764, allocations: 35.49 MB / 0.7711 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001223/2.765, allocations: 135.7 kB / 0.7712 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009465/2.775, allocations: 0.6643 MB / 0.7719 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009244/2.784, allocations: 3.715 MB / 0.7755 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1719/2.956, allocations: 34.14 MB / 0.8088 GB, free: 1.184 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6654/3.621, allocations: 139.1 MB / 0.9447 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05645/3.678, allocations: 15.08 MB / 0.9594 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02029/3.698, allocations: 9.323 MB / 0.9685 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1061/3.804, allocations: 34.75 MB / 1.002 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/3.805, allocations: 106.1 kB / 1.003 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=745): time 1.169e-05/3.805, allocations: 0 / 1.003 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=827): time 0.6979/4.502, allocations: 67.18 MB / 1.068 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/4.503, allocations: 313.8 kB / 1.068 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02673/4.529, allocations: 9.275 MB / 1.078 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001912/4.531, allocations: 138.1 kB / 1.078 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00957/4.541, allocations: 9.818 MB / 1.087 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005284/4.546, allocations: 2.985 MB / 1.09 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003608/4.55, allocations: 361.9 kB / 1.091 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002695/4.553, allocations: 1.102 MB / 1.092 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02112/4.574, allocations: 8.011 MB / 1.099 GB, free: 88.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02837/4.602, allocations: 17.57 MB / 1.117 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/4.631, allocations: 11.96 MB / 1.128 GB, free: 65.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004407/4.631, allocations: 99.88 kB / 1.128 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2399) (initialization): time 0.07872/4.71, allocations: 27.25 MB / 1.155 GB, free: 42.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002857/4.71, allocations: 150.7 kB / 1.155 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005671/4.711, allocations: 332 kB / 1.155 GB, free: 41.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/4.723, allocations: 2.402 MB / 1.158 GB, free: 39.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02956/4.752, allocations: 4.266 MB / 1.162 GB, free: 36.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/4.784, allocations: 14.37 MB / 1.176 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02188/4.806, allocations: 1.088 MB / 1.177 GB, free: 22.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004863/4.811, allocations: 0.9969 MB / 1.178 GB, free: 21.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * 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 (2203): * Single equations (assignments): 2186 * 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.007872/4.819, allocations: 1.415 MB / 1.179 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004125/4.823, allocations: 1.01 MB / 1.18 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4431/5.266, allocations: 16.96 MB / 1.197 GB, free: 88.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003789/5.267, allocations: 167.7 kB / 1.197 GB, free: 88.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/5.267, allocations: 12.66 kB / 1.197 GB, free: 88.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002166/5.267, allocations: 35.88 kB / 1.197 GB, free: 88.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1158/5.383, allocations: 34.52 MB / 1.231 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001321/5.383, allocations: 9.969 kB / 1.231 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01429/5.398, allocations: 1.389 MB / 1.232 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/5.408, allocations: 1.772 MB / 1.234 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/5.41, allocations: 133.6 kB / 1.234 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02856/5.439, allocations: 12.91 MB / 1.247 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/5.439, allocations: 16.77 kB / 1.247 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0659/5.505, allocations: 26.31 MB / 1.272 GB, free: 74.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009642/5.514, allocations: 2.243 MB / 1.275 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004606/5.519, allocations: 127.6 kB / 1.275 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/5.531, allocations: 0.5341 MB / 1.275 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002931/5.534, allocations: 441.2 kB / 1.276 GB, free: 73.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001784/5.536, allocations: 190.5 kB / 1.276 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01846/5.555, allocations: 6.412 MB / 1.282 GB, free: 71.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.193e-06/5.555, allocations: 3.312 kB / 1.282 GB, free: 71.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02306/5.578, allocations: 3.426 MB / 1.285 GB, free: 70.95 MB / 0.4948 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 (653): * Single equations (assignments): 636 * 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.06304/5.641, allocations: 27.78 MB / 1.313 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.045/5.686, allocations: 19.33 MB / 1.331 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/5.686, allocations: 2.438 kB / 1.331 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01897/5.705, allocations: 7.602 MB / 1.339 GB, free: 25.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/5.716, allocations: 1.248 MB / 1.34 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5329/6.249, allocations: 34.63 MB / 1.374 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03296/6.282, allocations: 10.57 MB / 1.384 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.04037/6.323, allocations: 6.657 MB / 1.391 GB, free: 94.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02012/6.343, allocations: 7.441 MB / 1.398 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/6.343, allocations: 0 / 1.398 GB, free: 94.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9646/7.308, allocations: 237.4 MB / 1.63 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/7.308, allocations: 189.9 kB / 1.63 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/20.01, allocations: 1.594 kB / 1.63 GB, free: 75.64 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat