Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.473e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.469/0.5782, allocations: 95.16 MB / 417 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/0.5786, allocations: 79.95 kB / 417.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7763/1.355, allocations: 106.3 MB / 0.5111 GB, free: 89.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.355, allocations: 0 / 0.5111 GB, free: 89.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005433/1.356, allocations: 111.7 kB / 0.5112 GB, free: 89.64 MB / 426.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.02519/1.381, allocations: 5.266 MB / 0.5164 GB, free: 87.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/1.381, allocations: 8.969 kB / 0.5164 GB, free: 87.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004561/1.385, allocations: 0.9349 MB / 0.5173 GB, free: 87.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05329/1.439, allocations: 6.898 MB / 0.524 GB, free: 87.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02528/1.464, allocations: 6.857 MB / 0.5307 GB, free: 86.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005619/1.465, allocations: 410.8 kB / 0.5311 GB, free: 86.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00342/1.468, allocations: 0.5266 MB / 0.5316 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/1.506, allocations: 12.23 MB / 0.5436 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003574/1.506, allocations: 79.72 kB / 0.5437 GB, free: 83.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002309/1.509, allocations: 256.3 kB / 0.5439 GB, free: 83.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/1.511, allocations: 1.13 MB / 0.545 GB, free: 83.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03025/1.541, allocations: 9.587 MB / 0.5544 GB, free: 80.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08547/1.627, allocations: 56.49 MB / 0.6095 GB, free: 36.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/1.643, allocations: 4.067 MB / 0.6135 GB, free: 32.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/1.648, allocations: 2.267 MB / 0.6157 GB, free: 30.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/1.671, allocations: 9.496 MB / 0.625 GB, free: 22.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.672, allocations: 59.81 kB / 0.6251 GB, free: 22.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 6.772e-06/1.672, allocations: 0 / 0.6251 GB, free: 22.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.07908/1.751, allocations: 16.48 MB / 0.6412 GB, free: 7.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/1.751, allocations: 205.2 kB / 0.6413 GB, free: 7.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.761, allocations: 4.188 MB / 0.6454 GB, free: 3.082 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005309/1.762, allocations: 61.69 kB / 0.6455 GB, free: 3.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003678/1.766, allocations: 3.764 MB / 0.6492 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.767, allocations: 0.836 MB / 0.65 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008802/1.768, allocations: 128 kB / 0.6501 GB, free: 14.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005984/1.769, allocations: 0.579 MB / 0.6507 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006454/1.775, allocations: 2.176 MB / 0.6528 GB, free: 11.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.787, allocations: 6.074 MB / 0.6587 GB, free: 3.488 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3363/2.123, allocations: 3.628 MB / 0.6623 GB, free: 94.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001859/2.123, allocations: 40 kB / 0.6623 GB, free: 94.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02939/2.153, allocations: 8.405 MB / 0.6705 GB, free: 93.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/2.153, allocations: 65.62 kB / 0.6706 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003263/2.153, allocations: 138.8 kB / 0.6707 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/2.158, allocations: 0.934 MB / 0.6716 GB, free: 93.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/2.169, allocations: 1.51 MB / 0.6731 GB, free: 93.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/2.187, allocations: 7.409 MB / 0.6803 GB, free: 91.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.199, allocations: 354.2 kB / 0.6807 GB, free: 91.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.201, allocations: 398.7 kB / 0.6811 GB, free: 91.09 MB / 442.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.003256/2.204, allocations: 0.6229 MB / 0.6817 GB, free: 90.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/2.206, allocations: 429.5 kB / 0.6821 GB, free: 90.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/2.221, allocations: 3.512 MB / 0.6855 GB, free: 90.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.888e-05/2.221, allocations: 24.02 kB / 0.6855 GB, free: 90.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.75e-05/2.221, allocations: 6.281 kB / 0.6855 GB, free: 90.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-05/2.221, allocations: 18 kB / 0.6856 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0387/2.26, allocations: 9.188 MB / 0.6945 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.882e-05/2.26, allocations: 0 / 0.6945 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/2.264, allocations: 345.8 kB / 0.6949 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004046/2.268, allocations: 0.6819 MB / 0.6955 GB, free: 90.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005728/2.268, allocations: 41.81 kB / 0.6956 GB, free: 90.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/2.281, allocations: 6.563 MB / 0.702 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/2.281, allocations: 0 / 0.702 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/2.297, allocations: 6.221 MB / 0.708 GB, free: 83.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003063/2.3, allocations: 0.7402 MB / 0.7088 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/2.302, allocations: 39.34 kB / 0.7088 GB, free: 83.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004216/2.306, allocations: 114.2 kB / 0.7089 GB, free: 83.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008752/2.307, allocations: 133.4 kB / 0.709 GB, free: 83.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/2.307, allocations: 57.25 kB / 0.7091 GB, free: 83.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00838/2.316, allocations: 2.96 MB / 0.712 GB, free: 82.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.316, allocations: 0 / 0.712 GB, free: 82.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009483/2.325, allocations: 1.183 MB / 0.7131 GB, free: 82.04 MB / 442.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.01639/2.342, allocations: 7.083 MB / 0.7201 GB, free: 78.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01436/2.356, allocations: 5.377 MB / 0.7253 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.356, allocations: 0 / 0.7253 GB, free: 76.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/2.361, allocations: 1.916 MB / 0.7272 GB, free: 75.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/2.367, allocations: 0.5312 MB / 0.7277 GB, free: 75.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05354/2.42, allocations: 10.99 MB / 0.7384 GB, free: 71.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.015/2.435, allocations: 4.108 MB / 0.7424 GB, free: 69.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01502/2.45, allocations: 2.1 MB / 0.7445 GB, free: 68.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006225/2.457, allocations: 2.464 MB / 0.7469 GB, free: 66.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/2.457, allocations: 0 / 0.7469 GB, free: 66.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5505/3.007, allocations: 91.68 MB / 0.8364 GB, free: 85.72 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/3.008, allocations: 173.4 kB / 0.8366 GB, free: 85.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.263/9.271, allocations: 0 / 0.8366 GB, free: 85.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat