Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.019e-05, allocations: 8 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/0.7081, allocations: 109.8 MB / 0.5079 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.7085, allocations: 83.95 kB / 0.508 GB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/1.162, allocations: 104.5 MB / 0.6101 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/1.162, allocations: 0 / 0.6101 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004174/1.163, allocations: 104 kB / 0.6102 GB, free: 1.078 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.4234/1.586, allocations: 5.1 MB / 0.6152 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.586, allocations: 9.578 kB / 0.6152 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005143/1.591, allocations: 0.8924 MB / 0.616 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05557/1.647, allocations: 6.903 MB / 0.6228 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02746/1.674, allocations: 6.485 MB / 0.6291 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007479/1.675, allocations: 390.4 kB / 0.6295 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003633/1.679, allocations: 0.521 MB / 0.63 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/1.718, allocations: 12.15 MB / 0.6419 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000318/1.718, allocations: 70.56 kB / 0.6419 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/1.72, allocations: 248.4 kB / 0.6422 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/1.722, allocations: 1.068 MB / 0.6432 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03054/1.752, allocations: 9.675 MB / 0.6527 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08278/1.835, allocations: 55.58 MB / 0.7069 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/1.853, allocations: 4.13 MB / 0.711 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/1.857, allocations: 2.216 MB / 0.7131 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02162/1.879, allocations: 9.362 MB / 0.7223 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.879, allocations: 47.5 kB / 0.7223 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 6.201e-06/1.879, allocations: 0 / 0.7223 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197): time 0.06775/1.947, allocations: 15.08 MB / 0.7371 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/1.947, allocations: 209.1 kB / 0.7373 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008648/1.956, allocations: 4.1 MB / 0.7413 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004506/1.956, allocations: 53.7 kB / 0.7413 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.959, allocations: 3.657 MB / 0.7449 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.96, allocations: 0.7535 MB / 0.7456 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/1.961, allocations: 128 kB / 0.7457 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000367/1.961, allocations: 0.5714 MB / 0.7463 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/1.966, allocations: 2.031 MB / 0.7483 GB, free: 38.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006978/1.973, allocations: 5.834 MB / 0.754 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/1.98, allocations: 3.44 MB / 0.7573 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/1.981, allocations: 40 kB / 0.7574 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.03326/2.014, allocations: 8.011 MB / 0.7652 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/2.014, allocations: 63.94 kB / 0.7653 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/2.014, allocations: 139.9 kB / 0.7654 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006238/2.021, allocations: 0.9349 MB / 0.7663 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/2.033, allocations: 1.434 MB / 0.7677 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/2.051, allocations: 7.414 MB / 0.7749 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/2.058, allocations: 340.6 kB / 0.7753 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/2.059, allocations: 382.9 kB / 0.7756 GB, free: 11.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (760): * Single equations (assignments): 755 * 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.001197/2.061, allocations: 0.5986 MB / 0.7762 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/2.062, allocations: 414.7 kB / 0.7766 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/2.071, allocations: 3.169 MB / 0.7797 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/2.071, allocations: 24 kB / 0.7797 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/2.071, allocations: 4 kB / 0.7797 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/2.071, allocations: 10.56 kB / 0.7797 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/2.098, allocations: 8.526 MB / 0.7881 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/2.098, allocations: 0 / 0.7881 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/2.101, allocations: 303.5 kB / 0.7884 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/2.105, allocations: 0.6948 MB / 0.789 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/2.105, allocations: 32 kB / 0.7891 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/2.12, allocations: 6.542 MB / 0.7955 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.12, allocations: 0 / 0.7955 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/2.136, allocations: 5.693 MB / 0.801 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/2.138, allocations: 451.6 kB / 0.8015 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.14, allocations: 28 kB / 0.8015 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003854/2.144, allocations: 107.8 kB / 0.8016 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007684/2.144, allocations: 117.1 kB / 0.8017 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/2.145, allocations: 55.89 kB / 0.8017 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008908/2.154, allocations: 2.894 MB / 0.8046 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.152e-06/2.154, allocations: 0 / 0.8046 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008918/2.163, allocations: 1.13 MB / 0.8057 GB, free: 14.25 MB / 0.5417 GB 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 (147): * Single equations (assignments): 142 * 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.01716/2.18, allocations: 6.557 MB / 0.8121 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01452/2.194, allocations: 5.042 MB / 0.817 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/2.194, allocations: 3.938 kB / 0.817 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/2.2, allocations: 1.733 MB / 0.8187 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/2.205, allocations: 0.5235 MB / 0.8192 GB, free: 364 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4546/2.659, allocations: 10.46 MB / 0.8294 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/2.671, allocations: 3.969 MB / 0.8333 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01163/2.683, allocations: 2.001 MB / 0.8353 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006332/2.689, allocations: 2.364 MB / 0.8376 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.903e-06/2.689, allocations: 2.594 kB / 0.8376 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2156/2.905, allocations: 88.38 MB / 0.9239 GB, free: 95.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/2.905, allocations: 182.6 kB / 0.924 GB, free: 95.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.244/9.15, allocations: 3.938 kB / 0.9241 GB, free: 95.01 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat