Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.066e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.428, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.6588, allocations: 109.5 MB / 491.8 MB, free: 14.91 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.6592, allocations: 79.95 kB / 491.8 MB, free: 14.83 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.934/2.593, allocations: 286 MB / 0.7596 GB, free: 55.42 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.495e-06/2.593, allocations: 3.219 kB / 0.7596 GB, free: 55.42 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001569/2.595, allocations: 283.1 kB / 0.7599 GB, free: 55.41 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.06222/2.657, allocations: 13.19 MB / 0.7727 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/2.657, allocations: 10.16 kB / 0.7728 GB, free: 50.25 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0135/2.671, allocations: 2.696 MB / 0.7754 GB, free: 50.08 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1382/2.809, allocations: 18.53 MB / 0.7935 GB, free: 49.07 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05262/2.862, allocations: 14.91 MB / 0.808 GB, free: 47.54 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/2.863, allocations: 1.103 MB / 0.8091 GB, free: 47.51 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009259/2.872, allocations: 1.466 MB / 0.8105 GB, free: 47.5 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1283/3.001, allocations: 36.07 MB / 0.8458 GB, free: 32.85 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/3.002, allocations: 139 kB / 0.8459 GB, free: 32.77 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008584/3.011, allocations: 0.6667 MB / 0.8466 GB, free: 32.21 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007694/3.018, allocations: 3.715 MB / 0.8502 GB, free: 29.12 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09384/3.112, allocations: 32.07 MB / 0.8815 GB, free: 0.6562 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7165/3.829, allocations: 140.5 MB / 1.019 GB, free: 40.54 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05713/3.886, allocations: 15.55 MB / 1.034 GB, free: 38.66 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01967/3.906, allocations: 9.56 MB / 1.043 GB, free: 38.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1195/4.025, allocations: 35.73 MB / 1.078 GB, free: 26.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.498e-05/4.026, allocations: 106 kB / 1.078 GB, free: 26.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=747): time 1.256e-05/4.026, allocations: 0 / 1.078 GB, free: 26.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=829): time 0.7974/4.823, allocations: 69.93 MB / 1.146 GB, free: 112.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/4.823, allocations: 307.2 kB / 1.147 GB, free: 111.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02866/4.852, allocations: 9.298 MB / 1.156 GB, free: 111 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002223/4.854, allocations: 138.5 kB / 1.156 GB, free: 111 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.02349/4.878, allocations: 9.836 MB / 1.166 GB, free: 105.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.01844/4.896, allocations: 2.998 MB / 1.169 GB, free: 103.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003871/4.9, allocations: 360.2 kB / 1.169 GB, free: 103.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002168/4.902, allocations: 1.103 MB / 1.17 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03565/4.938, allocations: 8.122 MB / 1.178 GB, free: 103.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02817/4.966, allocations: 17.58 MB / 1.195 GB, free: 91.45 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02811/4.994, allocations: 12.09 MB / 1.207 GB, free: 91.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004856/4.995, allocations: 93.97 kB / 1.207 GB, free: 91.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.07678/5.072, allocations: 26.57 MB / 1.233 GB, free: 85.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002948/5.072, allocations: 151.9 kB / 1.233 GB, free: 85.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005276/5.073, allocations: 330.1 kB / 1.233 GB, free: 85.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/5.084, allocations: 2.409 MB / 1.236 GB, free: 85.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02928/5.113, allocations: 4.284 MB / 1.24 GB, free: 84.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02995/5.143, allocations: 14.38 MB / 1.254 GB, free: 77.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02189/5.165, allocations: 1.094 MB / 1.255 GB, free: 77.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004783/5.17, allocations: 1.001 MB / 1.256 GB, free: 76.91 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (2208): * Single equations (assignments): 2191 * 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.007634/5.178, allocations: 1.42 MB / 1.257 GB, free: 75.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003776/5.182, allocations: 1.01 MB / 1.258 GB, free: 75.21 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04683/5.229, allocations: 15.82 MB / 1.274 GB, free: 65.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003036/5.229, allocations: 157.8 kB / 1.274 GB, free: 65.12 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.657e-05/5.229, allocations: 12 kB / 1.274 GB, free: 65.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001781/5.229, allocations: 36.33 kB / 1.274 GB, free: 65.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1069/5.336, allocations: 34.7 MB / 1.308 GB, free: 36.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001066/5.336, allocations: 4 kB / 1.308 GB, free: 36.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01401/5.35, allocations: 1.402 MB / 1.309 GB, free: 35.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/5.361, allocations: 1.772 MB / 1.311 GB, free: 33.88 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002102/5.363, allocations: 133.3 kB / 1.311 GB, free: 33.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/5.391, allocations: 12.91 MB / 1.324 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/5.391, allocations: 8 kB / 1.324 GB, free: 22.22 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5131/5.904, allocations: 26.45 MB / 1.35 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009666/5.914, allocations: 2.251 MB / 1.352 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005008/5.919, allocations: 123.6 kB / 1.352 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01246/5.931, allocations: 0.5362 MB / 1.352 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002967/5.934, allocations: 444.6 kB / 1.353 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001992/5.936, allocations: 190.1 kB / 1.353 GB, free: 103.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01929/5.956, allocations: 6.426 MB / 1.359 GB, free: 103.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.064e-06/5.956, allocations: 0 / 1.359 GB, free: 103.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02665/5.982, allocations: 3.443 MB / 1.363 GB, free: 103.5 MB / 0.573 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.06944/6.052, allocations: 27.91 MB / 1.39 GB, free: 99.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04716/6.099, allocations: 19.01 MB / 1.408 GB, free: 97.72 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/6.099, allocations: 3.875 kB / 1.408 GB, free: 97.72 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02094/6.12, allocations: 7.566 MB / 1.416 GB, free: 94.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/6.132, allocations: 1.258 MB / 1.417 GB, free: 94.44 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1184/6.25, allocations: 34.24 MB / 1.45 GB, free: 74.97 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03067/6.281, allocations: 10.58 MB / 1.461 GB, free: 67.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03253/6.314, allocations: 6.677 MB / 1.467 GB, free: 63.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0226/6.336, allocations: 7.452 MB / 1.475 GB, free: 56.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.763e-06/6.336, allocations: 0 / 1.475 GB, free: 56.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.054/7.39, allocations: 235 MB / 1.704 GB, free: 24.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/7.39, allocations: 194.9 kB / 1.704 GB, free: 23.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/20.07, allocations: 0 / 1.704 GB, free: 23.8 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat