Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.366e-05, allocations: 7.938 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 54.86 MB / 354.3 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.5694, allocations: 101.7 MB / 456.1 MB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.5698, allocations: 83.95 kB / 456.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.738/1.308, allocations: 104.1 MB / 0.5472 GB, free: 48.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.308, allocations: 0 / 0.5472 GB, free: 48.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004373/1.308, allocations: 111.9 kB / 0.5473 GB, free: 48.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02142/1.33, allocations: 5.26 MB / 0.5524 GB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.33, allocations: 8.031 kB / 0.5524 GB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04951/1.379, allocations: 6.927 MB / 0.5592 GB, free: 36.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02537/1.405, allocations: 6.884 MB / 0.5659 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/1.405, allocations: 176.3 kB / 0.5661 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/1.408, allocations: 327.8 kB / 0.5664 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01952/1.428, allocations: 7.549 MB / 0.5738 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/1.456, allocations: 11.32 MB / 0.5848 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/1.456, allocations: 71.39 kB / 0.5849 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/1.458, allocations: 32 kB / 0.5849 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002273/1.46, allocations: 1.125 MB / 0.586 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4326/1.893, allocations: 55.94 MB / 0.6407 GB, free: 96.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/1.9, allocations: 3.493 MB / 0.6441 GB, free: 95.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/1.904, allocations: 2.275 MB / 0.6463 GB, free: 95.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/1.904, allocations: 338 kB / 0.6466 GB, free: 95.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.904, allocations: 53.47 kB / 0.6467 GB, free: 95.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=201): time 5.73e-06/1.904, allocations: 0 / 0.6467 GB, free: 95.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=228): time 0.06157/1.966, allocations: 19.96 MB / 0.6662 GB, free: 92.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.966, allocations: 210.4 kB / 0.6664 GB, free: 91.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007873/1.974, allocations: 3.656 MB / 0.6699 GB, free: 91.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005352/1.974, allocations: 28.45 kB / 0.67 GB, free: 91.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.978, allocations: 3.82 MB / 0.6737 GB, free: 89.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/1.979, allocations: 0.8354 MB / 0.6745 GB, free: 88.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/1.979, allocations: 0.75 kB / 0.6745 GB, free: 88.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000405/1.98, allocations: 0.5969 MB / 0.6751 GB, free: 88.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.984, allocations: 2.172 MB / 0.6772 GB, free: 88.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007169/1.992, allocations: 6.23 MB / 0.6833 GB, free: 81.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00776/1.999, allocations: 3.663 MB / 0.6869 GB, free: 80.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/2, allocations: 39.91 kB / 0.6869 GB, free: 80.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02299/2.023, allocations: 8.239 MB / 0.695 GB, free: 78.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/2.023, allocations: 69.81 kB / 0.695 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/2.023, allocations: 145.3 kB / 0.6952 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004579/2.028, allocations: 0.9483 MB / 0.6961 GB, free: 78.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009701/2.037, allocations: 1.578 MB / 0.6976 GB, free: 78.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/2.05, allocations: 7.253 MB / 0.7047 GB, free: 72.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/2.057, allocations: 231.4 kB / 0.7049 GB, free: 72.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.059, allocations: 414 kB / 0.7053 GB, free: 72.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * Single equations (assignments): 827 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001688/2.061, allocations: 479.9 kB / 0.7058 GB, free: 71.69 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00983/2.07, allocations: 3.754 MB / 0.7095 GB, free: 68.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/2.072, allocations: 402.3 kB / 0.7098 GB, free: 68.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009714/2.081, allocations: 3.484 MB / 0.7132 GB, free: 65.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/2.082, allocations: 31.95 kB / 0.7133 GB, free: 65.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/2.082, allocations: 4 kB / 0.7133 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/2.082, allocations: 11.55 kB / 0.7133 GB, free: 65.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/2.108, allocations: 8.555 MB / 0.7216 GB, free: 58.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/2.108, allocations: 0 / 0.7216 GB, free: 58.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/2.111, allocations: 365.3 kB / 0.722 GB, free: 57.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/2.115, allocations: 0.6791 MB / 0.7226 GB, free: 57.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/2.116, allocations: 10.95 kB / 0.7227 GB, free: 57.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/2.127, allocations: 6.207 MB / 0.7287 GB, free: 51.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/2.127, allocations: 4 kB / 0.7287 GB, free: 51.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/2.141, allocations: 6.334 MB / 0.7349 GB, free: 46.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/2.144, allocations: 0.7074 MB / 0.7356 GB, free: 45.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/2.145, allocations: 4 kB / 0.7356 GB, free: 45.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/2.149, allocations: 85.92 kB / 0.7357 GB, free: 45.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008297/2.15, allocations: 139.3 kB / 0.7358 GB, free: 45.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/2.15, allocations: 66.72 kB / 0.7359 GB, free: 45.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006222/2.157, allocations: 2.479 MB / 0.7383 GB, free: 42.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.157, allocations: 3.938 kB / 0.7383 GB, free: 42.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008875/2.165, allocations: 1.025 MB / 0.7393 GB, free: 41.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 174 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.015/2.181, allocations: 7.334 MB / 0.7465 GB, free: 35.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/2.193, allocations: 5.462 MB / 0.7518 GB, free: 30.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.193, allocations: 4 kB / 0.7518 GB, free: 30.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004503/2.198, allocations: 1.948 MB / 0.7537 GB, free: 28.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/2.202, allocations: 446.9 kB / 0.7541 GB, free: 28.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/2.237, allocations: 10.82 MB / 0.7647 GB, free: 18.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008744/2.246, allocations: 4.111 MB / 0.7687 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01002/2.256, allocations: 2.181 MB / 0.7709 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005776/2.262, allocations: 2.438 MB / 0.7732 GB, free: 12.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/2.262, allocations: 4 kB / 0.7732 GB, free: 12.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.593/2.855, allocations: 86.31 MB / 0.8575 GB, free: 111.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.855, allocations: 141.3 kB / 0.8577 GB, free: 111.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.1/8.956, allocations: 0 / 0.8577 GB, free: 111.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat