Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.274e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.477, allocations: 92.1 MB / 386.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.4774, allocations: 87.89 kB / 386.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7156/1.193, allocations: 103.9 MB / 490.4 MB, free: 58.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.193, allocations: 0 / 490.4 MB, free: 58.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003801/1.193, allocations: 115.3 kB / 490.5 MB, free: 58.5 MB / 362.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.02083/1.214, allocations: 5.257 MB / 495.7 MB, free: 53.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.214, allocations: 8.031 kB / 495.7 MB, free: 53.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04993/1.264, allocations: 6.931 MB / 0.4909 GB, free: 46.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/1.289, allocations: 6.81 MB / 0.4975 GB, free: 39.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/1.289, allocations: 176 kB / 0.4977 GB, free: 39.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002778/1.292, allocations: 323.8 kB / 0.498 GB, free: 38.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01877/1.311, allocations: 7.549 MB / 0.5054 GB, free: 31.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/1.337, allocations: 11.32 MB / 0.5164 GB, free: 18.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.337, allocations: 71.39 kB / 0.5165 GB, free: 18.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/1.338, allocations: 35.95 kB / 0.5165 GB, free: 18.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/1.34, allocations: 1.128 MB / 0.5176 GB, free: 17.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4148/1.755, allocations: 55.94 MB / 0.5723 GB, free: 55.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/1.763, allocations: 3.496 MB / 0.5757 GB, free: 54.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/1.768, allocations: 2.28 MB / 0.5779 GB, free: 54.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/1.768, allocations: 337.6 kB / 0.5782 GB, free: 54.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.768, allocations: 56.06 kB / 0.5783 GB, free: 54.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 6.632e-06/1.768, allocations: 0 / 0.5783 GB, free: 54.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=228): time 0.06233/1.831, allocations: 19.96 MB / 0.5978 GB, free: 51.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/1.831, allocations: 202.6 kB / 0.598 GB, free: 51.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008109/1.839, allocations: 3.651 MB / 0.6015 GB, free: 50.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005789/1.839, allocations: 29.53 kB / 0.6016 GB, free: 50.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004163/1.844, allocations: 3.816 MB / 0.6053 GB, free: 48.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.845, allocations: 0.8422 MB / 0.6061 GB, free: 48.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/1.846, allocations: 0 / 0.6061 GB, free: 48.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005834/1.847, allocations: 0.599 MB / 0.6067 GB, free: 47.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007068/1.854, allocations: 2.169 MB / 0.6088 GB, free: 46.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.864, allocations: 6.239 MB / 0.6149 GB, free: 40.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.875, allocations: 3.653 MB / 0.6185 GB, free: 39.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.875, allocations: 45.5 kB / 0.6185 GB, free: 39.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.03147/1.907, allocations: 8.234 MB / 0.6266 GB, free: 37.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.907, allocations: 66.69 kB / 0.6266 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/1.907, allocations: 145.3 kB / 0.6268 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/1.913, allocations: 0.9591 MB / 0.6277 GB, free: 37.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/1.924, allocations: 1.576 MB / 0.6292 GB, free: 36.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.936, allocations: 7.247 MB / 0.6363 GB, free: 30.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007249/1.944, allocations: 231.8 kB / 0.6365 GB, free: 30.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.945, allocations: 415.1 kB / 0.6369 GB, free: 29.98 MB / 394.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.001319/1.946, allocations: 479.3 kB / 0.6374 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01032/1.957, allocations: 3.752 MB / 0.6411 GB, free: 26.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.958, allocations: 402.8 kB / 0.6414 GB, free: 25.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/1.968, allocations: 3.487 MB / 0.6448 GB, free: 23.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/1.968, allocations: 31.36 kB / 0.6449 GB, free: 23.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/1.968, allocations: 7.188 kB / 0.6449 GB, free: 23.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/1.968, allocations: 15.67 kB / 0.6449 GB, free: 23.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.992, allocations: 8.55 MB / 0.6532 GB, free: 16.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/1.992, allocations: 2.938 kB / 0.6532 GB, free: 16.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/1.996, allocations: 368.6 kB / 0.6536 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003868/2, allocations: 0.6752 MB / 0.6543 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004466/2, allocations: 11.38 kB / 0.6543 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/2.011, allocations: 6.197 MB / 0.6603 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.011, allocations: 4 kB / 0.6603 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/2.025, allocations: 6.336 MB / 0.6665 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/2.027, allocations: 0.7088 MB / 0.6672 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/2.028, allocations: 4 kB / 0.6672 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/2.031, allocations: 79.67 kB / 0.6673 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007721/2.032, allocations: 137.9 kB / 0.6674 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/2.032, allocations: 63.89 kB / 0.6675 GB, free: 2.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005423/2.038, allocations: 2.473 MB / 0.6699 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.038, allocations: 0 / 0.6699 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009619/2.048, allocations: 1.127 MB / 0.671 GB, free: 0 / 394.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.01714/2.065, allocations: 7.329 MB / 0.6781 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01401/2.079, allocations: 5.465 MB / 0.6835 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/2.079, allocations: 0 / 0.6835 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005229/2.084, allocations: 1.947 MB / 0.6854 GB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/2.088, allocations: 446.2 kB / 0.6858 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/2.13, allocations: 10.83 MB / 0.6964 GB, free: 8.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/2.144, allocations: 4.11 MB / 0.7004 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01507/2.159, allocations: 2.184 MB / 0.7025 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008858/2.168, allocations: 2.44 MB / 0.7049 GB, free: 1.445 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/2.168, allocations: 2.844 kB / 0.7049 GB, free: 1.445 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5862/2.755, allocations: 86.24 MB / 0.7891 GB, free: 132.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/2.755, allocations: 180.4 kB / 0.7893 GB, free: 132.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.799/8.554, allocations: 0 / 0.7893 GB, free: 132.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat