Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.793e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3936, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.5916, allocations: 108.7 MB / 491 MB, free: 15.63 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.592, allocations: 87.94 kB / 491.1 MB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7854/1.377, allocations: 107.3 MB / 0.5844 GB, free: 90.89 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.514e-06/1.377, allocations: 0 / 0.5844 GB, free: 90.89 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003827/1.378, allocations: 104 kB / 0.5845 GB, free: 90.79 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02165/1.4, allocations: 5.27 MB / 0.5896 GB, free: 85.45 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.4, allocations: 8.031 kB / 0.5896 GB, free: 85.45 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004164/1.404, allocations: 0.9388 MB / 0.5905 GB, free: 84.49 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05095/1.455, allocations: 6.935 MB / 0.5973 GB, free: 77.54 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02415/1.479, allocations: 6.894 MB / 0.604 GB, free: 70.59 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/1.479, allocations: 408.3 kB / 0.6044 GB, free: 70.19 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/1.482, allocations: 0.5387 MB / 0.605 GB, free: 69.65 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03363/1.515, allocations: 12.62 MB / 0.6173 GB, free: 55.88 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002881/1.516, allocations: 75.34 kB / 0.6174 GB, free: 55.81 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.517, allocations: 255.9 kB / 0.6176 GB, free: 55.56 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/1.519, allocations: 1.129 MB / 0.6187 GB, free: 54.43 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/1.55, allocations: 10.08 MB / 0.6285 GB, free: 44.33 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09162/1.642, allocations: 57.19 MB / 0.6844 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/1.661, allocations: 4.341 MB / 0.6886 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005695/1.667, allocations: 2.389 MB / 0.691 GB, free: 10.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/1.694, allocations: 9.96 MB / 0.7007 GB, free: 260 kB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/1.694, allocations: 63.8 kB / 0.7008 GB, free: 188 kB / 490.8 MB Notification: Performance of pre-optimization done (n=192): time 6.582e-06/1.694, allocations: 0 / 0.7008 GB, free: 188 kB / 490.8 MB Notification: Performance of matching and sorting (n=218): time 0.446/2.14, allocations: 16.19 MB / 0.7166 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/2.141, allocations: 204.5 kB / 0.7168 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/2.154, allocations: 4.21 MB / 0.7209 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005855/2.154, allocations: 56.67 kB / 0.7209 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004073/2.159, allocations: 3.779 MB / 0.7246 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/2.16, allocations: 0.8299 MB / 0.7254 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008426/2.161, allocations: 136.2 kB / 0.7256 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004905/2.161, allocations: 0.583 MB / 0.7261 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005586/2.167, allocations: 2.191 MB / 0.7283 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008899/2.176, allocations: 6.102 MB / 0.7342 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/2.184, allocations: 3.659 MB / 0.7378 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/2.185, allocations: 37 kB / 0.7378 GB, free: 123.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0244/2.209, allocations: 8.454 MB / 0.7461 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/2.209, allocations: 63.19 kB / 0.7462 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/2.209, allocations: 141 kB / 0.7463 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/2.214, allocations: 0.9367 MB / 0.7472 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009565/2.224, allocations: 1.517 MB / 0.7487 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/2.237, allocations: 7.409 MB / 0.7559 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008027/2.245, allocations: 360 kB / 0.7563 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/2.247, allocations: 395.9 kB / 0.7566 GB, free: 118.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (798): * Single equations (assignments): 793 * 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.002371/2.25, allocations: 0.6212 MB / 0.7572 GB, free: 117.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/2.251, allocations: 431 kB / 0.7577 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/2.262, allocations: 3.538 MB / 0.7611 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-05/2.262, allocations: 26.14 kB / 0.7611 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/2.262, allocations: 7.625 kB / 0.7611 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.339e-05/2.262, allocations: 13.64 kB / 0.7612 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/2.291, allocations: 9.229 MB / 0.7702 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/2.291, allocations: 7.656 kB / 0.7702 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004398/2.296, allocations: 338.8 kB / 0.7705 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005146/2.301, allocations: 0.6851 MB / 0.7712 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005586/2.302, allocations: 44.83 kB / 0.7712 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/2.32, allocations: 6.54 MB / 0.7776 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/2.32, allocations: 3.953 kB / 0.7776 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/2.341, allocations: 6.256 MB / 0.7837 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/2.345, allocations: 0.7427 MB / 0.7844 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/2.346, allocations: 40 kB / 0.7845 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005062/2.351, allocations: 113.9 kB / 0.7846 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009102/2.352, allocations: 136.1 kB / 0.7847 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003167/2.353, allocations: 59.19 kB / 0.7848 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01071/2.363, allocations: 2.966 MB / 0.7877 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.362e-06/2.363, allocations: 0 / 0.7877 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01072/2.374, allocations: 1.193 MB / 0.7888 GB, free: 100.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.01567/2.39, allocations: 7.125 MB / 0.7958 GB, free: 93.87 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01356/2.404, allocations: 5.422 MB / 0.8011 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.404, allocations: 0 / 0.8011 GB, free: 88.93 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/2.409, allocations: 1.929 MB / 0.803 GB, free: 87.17 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00514/2.414, allocations: 0.5387 MB / 0.8035 GB, free: 86.72 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/2.452, allocations: 11.03 MB / 0.8143 GB, free: 77.15 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00949/2.461, allocations: 4.113 MB / 0.8183 GB, free: 74.08 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01006/2.471, allocations: 2.099 MB / 0.8203 GB, free: 72.74 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005911/2.477, allocations: 2.468 MB / 0.8227 GB, free: 70.46 MB / 0.4949 GB Notification: Performance of SimCode: time 3.016e-06/2.477, allocations: 0 / 0.8227 GB, free: 70.46 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6411/3.118, allocations: 92.05 MB / 0.9126 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/3.119, allocations: 184 kB / 0.9128 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.094/9.213, allocations: 0 / 0.9128 GB, free: 115.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat