Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.328e-05, allocations: 7.984 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5529/0.6936, allocations: 109.8 MB / 0.508 GB, free: 10.19 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6939, allocations: 80.73 kB / 0.508 GB, free: 10.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4749/1.169, allocations: 104.5 MB / 0.6101 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/1.169, allocations: 0 / 0.6101 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004061/1.169, allocations: 100 kB / 0.6102 GB, free: 1.02 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.3779/1.547, allocations: 5.1 MB / 0.6152 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/1.547, allocations: 10.62 kB / 0.6152 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004518/1.552, allocations: 0.8944 MB / 0.6161 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05432/1.606, allocations: 6.899 MB / 0.6228 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/1.632, allocations: 6.492 MB / 0.6291 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006214/1.633, allocations: 390.3 kB / 0.6295 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/1.636, allocations: 0.5195 MB / 0.63 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04015/1.676, allocations: 12.15 MB / 0.6419 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003541/1.676, allocations: 66.38 kB / 0.6419 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.678, allocations: 255.1 kB / 0.6422 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/1.681, allocations: 1.072 MB / 0.6432 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03061/1.711, allocations: 9.674 MB / 0.6527 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0796/1.791, allocations: 55.57 MB / 0.7069 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/1.808, allocations: 4.126 MB / 0.711 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/1.812, allocations: 2.216 MB / 0.7131 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/1.835, allocations: 9.367 MB / 0.7223 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.835, allocations: 53.59 kB / 0.7223 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 5.781e-06/1.835, allocations: 0 / 0.7223 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197): time 0.0702/1.905, allocations: 15.08 MB / 0.7371 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/1.905, allocations: 197.2 kB / 0.7373 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009701/1.915, allocations: 4.108 MB / 0.7413 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000471/1.916, allocations: 53.7 kB / 0.7413 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003086/1.919, allocations: 3.654 MB / 0.7449 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.92, allocations: 0.7608 MB / 0.7456 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007215/1.921, allocations: 124 kB / 0.7457 GB, free: 41.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003678/1.921, allocations: 0.571 MB / 0.7463 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/1.926, allocations: 2.031 MB / 0.7483 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/1.933, allocations: 5.834 MB / 0.754 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007406/1.94, allocations: 3.442 MB / 0.7573 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/1.94, allocations: 40 kB / 0.7574 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02201/1.962, allocations: 8.009 MB / 0.7652 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.963, allocations: 74.5 kB / 0.7653 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/1.963, allocations: 136 kB / 0.7654 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/1.967, allocations: 0.9261 MB / 0.7663 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008608/1.976, allocations: 1.429 MB / 0.7677 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.989, allocations: 7.408 MB / 0.7749 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006923/1.996, allocations: 342.1 kB / 0.7753 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.997, allocations: 393.8 kB / 0.7756 GB, free: 11.75 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.001853/1.999, allocations: 0.6001 MB / 0.7762 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/2, allocations: 410.7 kB / 0.7766 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/2.01, allocations: 3.174 MB / 0.7797 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/2.01, allocations: 20 kB / 0.7797 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/2.01, allocations: 8 kB / 0.7797 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.424e-05/2.01, allocations: 9.234 kB / 0.7798 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/2.036, allocations: 8.523 MB / 0.7881 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/2.036, allocations: 7.938 kB / 0.7881 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/2.039, allocations: 303.6 kB / 0.7884 GB, free: 292 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004025/2.044, allocations: 0.6835 MB / 0.789 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/2.044, allocations: 39.98 kB / 0.7891 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/2.057, allocations: 6.539 MB / 0.7955 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/2.057, allocations: 4 kB / 0.7955 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/2.072, allocations: 5.693 MB / 0.801 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/2.074, allocations: 455.6 kB / 0.8015 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/2.076, allocations: 32 kB / 0.8015 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005448/2.082, allocations: 103.8 kB / 0.8016 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/2.083, allocations: 125.1 kB / 0.8017 GB, free: 2.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/2.083, allocations: 51.83 kB / 0.8018 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01201/2.095, allocations: 2.888 MB / 0.8046 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.663e-06/2.095, allocations: 0 / 0.8046 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01639/2.112, allocations: 1.133 MB / 0.8057 GB, free: 14.22 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.02143/2.133, allocations: 6.544 MB / 0.8121 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01793/2.151, allocations: 5.049 MB / 0.817 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.151, allocations: 0 / 0.817 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006308/2.158, allocations: 1.741 MB / 0.8187 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/2.164, allocations: 0.5208 MB / 0.8192 GB, free: 336 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4382/2.602, allocations: 10.45 MB / 0.8294 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/2.614, allocations: 3.974 MB / 0.8333 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01027/2.625, allocations: 1.999 MB / 0.8353 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00569/2.63, allocations: 2.364 MB / 0.8376 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of SimCode: time 3.206e-06/2.63, allocations: 2.5 kB / 0.8376 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/2.838, allocations: 88.38 MB / 0.9239 GB, free: 95.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/2.839, allocations: 183.9 kB / 0.9241 GB, free: 94.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.12/8.958, allocations: 0 / 0.9241 GB, free: 94.84 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat does not exist to compare? outputFormat=mat