Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.45e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3112, allocations: 38.78 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4664, allocations: 86.57 MB / 350.4 MB, free: 3.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.4668, allocations: 83.95 kB / 350.5 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6325/1.099, allocations: 106.1 MB / 456.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.099, allocations: 0 / 456.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003556/1.1, allocations: 112 kB / 456.7 MB, free: 16.94 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.02103/1.121, allocations: 5.255 MB / 462 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.121, allocations: 15.97 kB / 462 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004133/1.125, allocations: 0.9348 MB / 462.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0504/1.176, allocations: 6.897 MB / 469.8 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/1.2, allocations: 6.789 MB / 476.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/1.201, allocations: 406.7 kB / 477 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/1.204, allocations: 0.5349 MB / 477.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/1.243, allocations: 12.22 MB / 489.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/1.244, allocations: 71.41 kB / 489.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/1.245, allocations: 255.9 kB / 490.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002698/1.248, allocations: 1.129 MB / 491.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03225/1.28, allocations: 9.585 MB / 0.4891 GB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4039/1.684, allocations: 56.49 MB / 0.5442 GB, free: 22.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02315/1.707, allocations: 4.08 MB / 0.5482 GB, free: 21.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00708/1.714, allocations: 2.257 MB / 0.5504 GB, free: 21.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03104/1.746, allocations: 9.491 MB / 0.5597 GB, free: 18.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/1.746, allocations: 50.75 kB / 0.5598 GB, free: 18.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=191): time 9.037e-06/1.746, allocations: 0 / 0.5598 GB, free: 18.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.07623/1.822, allocations: 16.49 MB / 0.5759 GB, free: 11.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/1.822, allocations: 205 kB / 0.5761 GB, free: 11.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008289/1.83, allocations: 4.196 MB / 0.5801 GB, free: 10.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.831, allocations: 57.23 kB / 0.5802 GB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/1.834, allocations: 3.762 MB / 0.5839 GB, free: 7.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.835, allocations: 0.826 MB / 0.5847 GB, free: 6.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/1.836, allocations: 134.1 kB / 0.5848 GB, free: 6.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/1.837, allocations: 0.5815 MB / 0.5854 GB, free: 6.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/1.842, allocations: 2.174 MB / 0.5875 GB, free: 5.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/1.854, allocations: 6.082 MB / 0.5934 GB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/1.868, allocations: 3.636 MB / 0.597 GB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/1.869, allocations: 40 kB / 0.597 GB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.03648/1.905, allocations: 8.398 MB / 0.6052 GB, free: 5.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.905, allocations: 71.84 kB / 0.6053 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003443/1.906, allocations: 136 kB / 0.6054 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007804/1.913, allocations: 0.944 MB / 0.6064 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/1.925, allocations: 1.504 MB / 0.6078 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/1.94, allocations: 7.438 MB / 0.6151 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007294/1.947, allocations: 355.9 kB / 0.6154 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.949, allocations: 398.3 kB / 0.6158 GB, free: 11.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (795): * Single equations (assignments): 790 * 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.001526/1.95, allocations: 0.6106 MB / 0.6164 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.952, allocations: 426.5 kB / 0.6168 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.963, allocations: 3.523 MB / 0.6202 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-05/1.963, allocations: 24 kB / 0.6203 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.963, allocations: 8 kB / 0.6203 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/1.963, allocations: 18.47 kB / 0.6203 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02765/1.991, allocations: 9.183 MB / 0.6293 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/1.991, allocations: 7.938 kB / 0.6293 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2561/2.247, allocations: 360.7 kB / 0.6296 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004335/2.251, allocations: 0.6891 MB / 0.6303 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004231/2.252, allocations: 35.59 kB / 0.6303 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/2.263, allocations: 6.554 MB / 0.6367 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.263, allocations: 2.812 kB / 0.6367 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/2.277, allocations: 6.204 MB / 0.6428 GB, free: 82.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/2.28, allocations: 0.7386 MB / 0.6435 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009498/2.281, allocations: 37.91 kB / 0.6435 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/2.284, allocations: 105.7 kB / 0.6436 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/2.284, allocations: 138.3 kB / 0.6438 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/2.284, allocations: 59.44 kB / 0.6438 GB, free: 82.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01056/2.295, allocations: 2.954 MB / 0.6467 GB, free: 82.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.543e-06/2.295, allocations: 0 / 0.6467 GB, free: 82.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01271/2.308, allocations: 1.186 MB / 0.6479 GB, free: 82.01 MB / 378.7 MB 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.02239/2.33, allocations: 7.093 MB / 0.6548 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01889/2.349, allocations: 5.38 MB / 0.6601 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.349, allocations: 0 / 0.6601 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006267/2.356, allocations: 1.914 MB / 0.6619 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/2.36, allocations: 0.5263 MB / 0.6624 GB, free: 80.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03527/2.396, allocations: 11.01 MB / 0.6732 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009286/2.405, allocations: 4.107 MB / 0.6772 GB, free: 75.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01017/2.415, allocations: 2.096 MB / 0.6792 GB, free: 75.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005518/2.421, allocations: 2.463 MB / 0.6816 GB, free: 73.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.555e-06/2.421, allocations: 3.156 kB / 0.6817 GB, free: 73.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4774/2.898, allocations: 91.65 MB / 0.7711 GB, free: 58.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/2.898, allocations: 204.6 kB / 0.7713 GB, free: 58.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.188/9.087, allocations: 3.562 kB / 0.7713 GB, free: 58.06 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat does not exist to compare? outputFormat=mat