Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.329e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5393, allocations: 54.85 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.275/0.8144, allocations: 103.2 MB / 463.1 MB, free: 9.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004092/0.8149, allocations: 79.95 kB / 463.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964/2.779, allocations: 284.9 MB / 0.7305 GB, free: 41.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.715e-06/2.779, allocations: 0 / 0.7305 GB, free: 41.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009075/2.78, allocations: 281.3 kB / 0.7308 GB, free: 41.21 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05655/2.836, allocations: 13.19 MB / 0.7437 GB, free: 36.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/2.836, allocations: 7.406 kB / 0.7437 GB, free: 36.04 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01343/2.85, allocations: 2.704 MB / 0.7463 GB, free: 35.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1348/2.984, allocations: 18.53 MB / 0.7644 GB, free: 34.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05383/3.038, allocations: 14.89 MB / 0.779 GB, free: 33.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001454/3.04, allocations: 1.098 MB / 0.78 GB, free: 33.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009034/3.049, allocations: 1.463 MB / 0.7815 GB, free: 33.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1135/3.163, allocations: 36.22 MB / 0.8168 GB, free: 25.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001401/3.164, allocations: 137.8 kB / 0.817 GB, free: 25.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009755/3.174, allocations: 0.6667 MB / 0.8176 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009943/3.184, allocations: 3.711 MB / 0.8212 GB, free: 22.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1121/3.296, allocations: 32.56 MB / 0.853 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7342/4.03, allocations: 140.4 MB / 0.9901 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05714/4.087, allocations: 15.6 MB / 1.005 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02046/4.108, allocations: 9.566 MB / 1.015 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1038/4.212, allocations: 35.73 MB / 1.05 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.236e-05/4.212, allocations: 103.2 kB / 1.05 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=747): time 4.435e-05/4.212, allocations: 0 / 1.05 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=829): time 0.7694/4.981, allocations: 69.99 MB / 1.118 GB, free: 105 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/4.982, allocations: 311.6 kB / 1.118 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02569/5.007, allocations: 9.268 MB / 1.127 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002117/5.009, allocations: 139.3 kB / 1.128 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00971/5.019, allocations: 9.825 MB / 1.137 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00543/5.025, allocations: 2.992 MB / 1.14 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003676/5.028, allocations: 356.6 kB / 1.14 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002209/5.031, allocations: 1.103 MB / 1.141 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02088/5.052, allocations: 8.122 MB / 1.149 GB, free: 96.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02884/5.081, allocations: 17.66 MB / 1.167 GB, free: 84.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02914/5.11, allocations: 12.08 MB / 1.178 GB, free: 81.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000463/5.11, allocations: 94.5 kB / 1.179 GB, free: 81.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.0995/5.21, allocations: 27.49 MB / 1.205 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004618/5.21, allocations: 148.8 kB / 1.206 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009181/5.211, allocations: 328.8 kB / 1.206 GB, free: 72.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/5.224, allocations: 2.405 MB / 1.208 GB, free: 72.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02999/5.254, allocations: 4.282 MB / 1.212 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/5.285, allocations: 14.37 MB / 1.226 GB, free: 59.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02266/5.307, allocations: 1.099 MB / 1.227 GB, free: 58.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005068/5.312, allocations: 1 MB / 1.228 GB, free: 57.63 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1510 * Number of states: 0 () * Number of discrete variables: 90 (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.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 (2205): * Single equations (assignments): 2188 * 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.008663/5.321, allocations: 1.41 MB / 1.23 GB, free: 56.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004225/5.325, allocations: 1.018 MB / 1.231 GB, free: 55.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05087/5.376, allocations: 15.8 MB / 1.246 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004541/5.377, allocations: 163.3 kB / 1.246 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.862e-05/5.377, allocations: 12 kB / 1.246 GB, free: 41.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002561/5.377, allocations: 36.62 kB / 1.246 GB, free: 41.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5748/5.952, allocations: 34.76 MB / 1.28 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001144/5.952, allocations: 6.406 kB / 1.28 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01484/5.967, allocations: 1.399 MB / 1.282 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/5.978, allocations: 1.774 MB / 1.283 GB, free: 90.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002147/5.98, allocations: 130.8 kB / 1.284 GB, free: 90.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03095/6.011, allocations: 12.9 MB / 1.296 GB, free: 88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/6.011, allocations: 10.38 kB / 1.296 GB, free: 88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06708/6.078, allocations: 26.46 MB / 1.322 GB, free: 85.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009837/6.088, allocations: 2.253 MB / 1.324 GB, free: 85.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004991/6.093, allocations: 130.2 kB / 1.324 GB, free: 85.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/6.106, allocations: 0.5273 MB / 1.325 GB, free: 85.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003189/6.109, allocations: 452 kB / 1.325 GB, free: 85.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002115/6.111, allocations: 188.9 kB / 1.326 GB, free: 85.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02019/6.131, allocations: 6.405 MB / 1.332 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.123e-06/6.132, allocations: 0 / 1.332 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02514/6.157, allocations: 3.436 MB / 1.335 GB, free: 84.74 MB / 0.5417 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.09332/6.25, allocations: 27.92 MB / 1.362 GB, free: 77.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05563/6.306, allocations: 19.52 MB / 1.381 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/6.306, allocations: 3.75 kB / 1.381 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01994/6.326, allocations: 7.635 MB / 1.389 GB, free: 68.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/6.338, allocations: 1.264 MB / 1.39 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/6.45, allocations: 34.25 MB / 1.424 GB, free: 42.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02857/6.478, allocations: 10.57 MB / 1.434 GB, free: 35.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03091/6.509, allocations: 6.66 MB / 1.44 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02033/6.53, allocations: 7.44 MB / 1.448 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.904e-06/6.53, allocations: 0 / 1.448 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.019/7.549, allocations: 238.4 MB / 1.68 GB, free: 4.676 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004029/7.549, allocations: 187.3 kB / 1.681 GB, free: 4.453 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/20.99, allocations: 0 / 1.681 GB, free: 4.453 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat