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.383/2.383, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.024e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3976, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.5921, allocations: 102.5 MB / 456.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.5925, allocations: 87.95 kB / 457 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763/2.356, allocations: 278.1 MB / 0.7178 GB, free: 52.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.715e-06/2.356, allocations: 3.875 kB / 0.7178 GB, free: 52.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009758/2.357, allocations: 281.6 kB / 0.7181 GB, free: 52.54 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.05811/2.415, allocations: 13.18 MB / 0.731 GB, free: 47.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/2.415, allocations: 7.25 kB / 0.731 GB, free: 47.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1333/2.548, allocations: 18.53 MB / 0.7491 GB, free: 46.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06882/2.617, allocations: 14.88 MB / 0.7636 GB, free: 44.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001443/2.619, allocations: 479.3 kB / 0.7641 GB, free: 44.76 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01091/2.63, allocations: 0.858 MB / 0.7649 GB, free: 44.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06193/2.692, allocations: 24.23 MB / 0.7886 GB, free: 37.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09371/2.785, allocations: 32.99 MB / 0.8208 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001156/2.787, allocations: 134.7 kB / 0.8209 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008627/2.795, allocations: 60 kB / 0.821 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007685/2.803, allocations: 3.72 MB / 0.8246 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6896/3.493, allocations: 135.9 MB / 0.9573 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03307/3.526, allocations: 14.53 MB / 0.9715 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0226/3.549, allocations: 9.399 MB / 0.9807 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003886/3.553, allocations: 1.313 MB / 0.982 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/3.553, allocations: 112.9 kB / 0.9821 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=810): time 2.96e-05/3.553, allocations: 0 / 0.9821 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=883): time 0.3479/3.901, allocations: 78.85 MB / 1.059 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/3.901, allocations: 316.5 kB / 1.059 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4575/4.359, allocations: 9.215 MB / 1.068 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002254/4.361, allocations: 29.83 kB / 1.068 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0104/4.371, allocations: 9.893 MB / 1.078 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005486/4.377, allocations: 3.078 MB / 1.081 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/4.38, allocations: 1.031 kB / 1.081 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002108/4.382, allocations: 1.149 MB / 1.082 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02782/4.41, allocations: 7.952 MB / 1.09 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03772/4.448, allocations: 18.12 MB / 1.108 GB, free: 99.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03673/4.484, allocations: 12.1 MB / 1.119 GB, free: 98.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000666/4.485, allocations: 102.1 kB / 1.12 GB, free: 98.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2534) (initialization): time 0.07731/4.562, allocations: 25.99 MB / 1.145 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/4.563, allocations: 159.9 kB / 1.145 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006853/4.564, allocations: 354.5 kB / 1.145 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/4.575, allocations: 2.404 MB / 1.148 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03043/4.606, allocations: 4.531 MB / 1.152 GB, free: 96.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02809/4.634, allocations: 13.7 MB / 1.166 GB, free: 89.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02236/4.656, allocations: 0.763 MB / 1.166 GB, free: 89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005637/4.662, allocations: 1.057 MB / 1.167 GB, free: 88.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1631 * 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 (2338): * Single equations (assignments): 2321 * 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.00885/4.671, allocations: 1.011 MB / 1.168 GB, free: 88.04 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04492/4.716, allocations: 14.94 MB / 1.183 GB, free: 82.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00434/4.72, allocations: 0.9872 MB / 1.184 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.049/4.769, allocations: 16.84 MB / 1.2 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003636/4.77, allocations: 169.9 kB / 1.201 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.185e-05/4.77, allocations: 16 kB / 1.201 GB, free: 67.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/4.77, allocations: 36.05 kB / 1.201 GB, free: 67.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/4.872, allocations: 35.22 MB / 1.235 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001089/4.872, allocations: 16 kB / 1.235 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01426/4.887, allocations: 1.484 MB / 1.236 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009769/4.896, allocations: 1.764 MB / 1.238 GB, free: 35.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001834/4.898, allocations: 33.95 kB / 1.238 GB, free: 35.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02945/4.928, allocations: 12.13 MB / 1.25 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.418e-05/4.928, allocations: 25.56 kB / 1.25 GB, free: 24.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5155/5.444, allocations: 30.23 MB / 1.28 GB, free: 98.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009618/5.453, allocations: 2.253 MB / 1.282 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005876/5.459, allocations: 28.78 kB / 1.282 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01928/5.478, allocations: 443.4 kB / 1.282 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00839/5.487, allocations: 494 kB / 1.283 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002438/5.489, allocations: 212.2 kB / 1.283 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.04143/5.531, allocations: 5.542 MB / 1.288 GB, free: 98.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.182e-06/5.531, allocations: 7.469 kB / 1.288 GB, free: 98.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03497/5.566, allocations: 2.978 MB / 1.291 GB, free: 98.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (705): * Single equations (assignments): 688 * 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.06841/5.634, allocations: 31.14 MB / 1.322 GB, free: 91.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04565/5.68, allocations: 19.22 MB / 1.34 GB, free: 88.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/5.68, allocations: 3.656 kB / 1.34 GB, free: 88.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01998/5.7, allocations: 7.938 MB / 1.348 GB, free: 85.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/5.711, allocations: 0.9481 MB / 1.349 GB, free: 85.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/5.83, allocations: 34.33 MB / 1.383 GB, free: 64.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03069/5.861, allocations: 10.57 MB / 1.393 GB, free: 57.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03339/5.894, allocations: 7.198 MB / 1.4 GB, free: 52.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01988/5.914, allocations: 7.481 MB / 1.407 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of SimCode: time 1.763e-06/5.914, allocations: 0 / 1.407 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/6.92, allocations: 223.5 MB / 1.626 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/6.92, allocations: 161 kB / 1.626 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/19.42, allocations: 0 / 1.626 GB, free: 11.64 MB / 0.5417 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