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.428/2.428, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.711e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4376, allocations: 54.85 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.6531, allocations: 102.4 MB / 462.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/0.6536, allocations: 79.95 kB / 462.4 MB, free: 10.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8137/1.467, allocations: 106.6 MB / 0.5556 GB, free: 101.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.467, allocations: 2.719 kB / 0.5556 GB, free: 101.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004183/1.468, allocations: 113.4 kB / 0.5557 GB, free: 101.2 MB / 458.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.02283/1.491, allocations: 5.262 MB / 0.5609 GB, free: 99.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.491, allocations: 17.23 kB / 0.5609 GB, free: 99.04 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004854/1.496, allocations: 0.929 MB / 0.5618 GB, free: 98.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05139/1.547, allocations: 6.935 MB / 0.5685 GB, free: 98.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/1.574, allocations: 6.873 MB / 0.5753 GB, free: 97.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006092/1.575, allocations: 412 kB / 0.5757 GB, free: 97.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003562/1.578, allocations: 0.5335 MB / 0.5762 GB, free: 96.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04081/1.619, allocations: 12.6 MB / 0.5885 GB, free: 90.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005079/1.62, allocations: 75.44 kB / 0.5886 GB, free: 90.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003075/1.623, allocations: 258.3 kB / 0.5888 GB, free: 90.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002541/1.625, allocations: 1.124 MB / 0.5899 GB, free: 89.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03318/1.659, allocations: 10.08 MB / 0.5997 GB, free: 84.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09003/1.749, allocations: 57.08 MB / 0.6555 GB, free: 27.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/1.767, allocations: 4.354 MB / 0.6597 GB, free: 23.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/1.772, allocations: 2.374 MB / 0.6621 GB, free: 20.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02551/1.798, allocations: 9.975 MB / 0.6718 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.798, allocations: 51.88 kB / 0.6718 GB, free: 10.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=192): time 6.863e-06/1.798, allocations: 0 / 0.6718 GB, free: 10.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=218): time 0.07899/1.877, allocations: 16.17 MB / 0.6876 GB, free: 10.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/1.877, allocations: 213.1 kB / 0.6878 GB, free: 10.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/1.89, allocations: 4.191 MB / 0.6919 GB, free: 5.867 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006114/1.89, allocations: 57.7 kB / 0.692 GB, free: 5.805 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004926/1.895, allocations: 3.756 MB / 0.6957 GB, free: 2.047 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.897, allocations: 0.8289 MB / 0.6965 GB, free: 1.223 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009995/1.898, allocations: 135.9 kB / 0.6966 GB, free: 1.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007232/1.899, allocations: 0.579 MB / 0.6972 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3608/2.26, allocations: 2.181 MB / 0.6993 GB, free: 106.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009768/2.27, allocations: 6.086 MB / 0.7052 GB, free: 101.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009888/2.279, allocations: 3.641 MB / 0.7088 GB, free: 101.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002962/2.28, allocations: 40.06 kB / 0.7088 GB, free: 101.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.0291/2.309, allocations: 8.419 MB / 0.7171 GB, free: 101.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/2.309, allocations: 65.09 kB / 0.7171 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003159/2.31, allocations: 139.8 kB / 0.7172 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005283/2.315, allocations: 0.9368 MB / 0.7182 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.325, allocations: 1.508 MB / 0.7196 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/2.339, allocations: 7.418 MB / 0.7269 GB, free: 98.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008046/2.347, allocations: 356.7 kB / 0.7272 GB, free: 98.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.349, allocations: 399.9 kB / 0.7276 GB, free: 98.28 MB / 474.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.002597/2.351, allocations: 0.61 MB / 0.7282 GB, free: 97.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/2.352, allocations: 427.4 kB / 0.7286 GB, free: 97.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/2.363, allocations: 3.535 MB / 0.7321 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/2.363, allocations: 25.91 kB / 0.7321 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/2.363, allocations: 7.375 kB / 0.7321 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/2.363, allocations: 14.36 kB / 0.7321 GB, free: 96.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/2.391, allocations: 9.232 MB / 0.7411 GB, free: 93.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/2.391, allocations: 0 / 0.7411 GB, free: 93.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/2.394, allocations: 342.2 kB / 0.7414 GB, free: 93.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003895/2.398, allocations: 0.6862 MB / 0.7421 GB, free: 92.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/2.399, allocations: 38.3 kB / 0.7421 GB, free: 92.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/2.41, allocations: 6.555 MB / 0.7486 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.41, allocations: 0 / 0.7486 GB, free: 88.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/2.425, allocations: 6.251 MB / 0.7547 GB, free: 86.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002992/2.428, allocations: 0.7402 MB / 0.7554 GB, free: 85.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.43, allocations: 38.56 kB / 0.7554 GB, free: 85.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/2.433, allocations: 113.5 kB / 0.7555 GB, free: 85.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006457/2.434, allocations: 133.9 kB / 0.7557 GB, free: 85.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/2.434, allocations: 57.45 kB / 0.7557 GB, free: 85.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00756/2.442, allocations: 2.947 MB / 0.7586 GB, free: 84.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/2.442, allocations: 5.188 kB / 0.7586 GB, free: 84.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008901/2.451, allocations: 1.184 MB / 0.7597 GB, free: 84.47 MB / 474.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.01503/2.466, allocations: 7.117 MB / 0.7667 GB, free: 81.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.014/2.48, allocations: 5.425 MB / 0.772 GB, free: 78.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.48, allocations: 0 / 0.772 GB, free: 78.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005013/2.485, allocations: 1.919 MB / 0.7739 GB, free: 78.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/2.49, allocations: 0.5297 MB / 0.7744 GB, free: 77.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/2.527, allocations: 11.01 MB / 0.7851 GB, free: 69.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009626/2.537, allocations: 4.1 MB / 0.7891 GB, free: 66.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009479/2.546, allocations: 2.095 MB / 0.7912 GB, free: 64.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005497/2.552, allocations: 2.461 MB / 0.7936 GB, free: 62.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/2.552, allocations: 0 / 0.7936 GB, free: 62.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5855/3.137, allocations: 91.7 MB / 0.8831 GB, free: 89.59 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/3.138, allocations: 175.7 kB / 0.8833 GB, free: 89.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.241/9.378, allocations: 4.562 kB / 0.8833 GB, free: 89.37 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