Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 270 MB / 283.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.877e-05, allocations: 4 kB / 348.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3945, allocations: 61.87 MB / 410.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.6157, allocations: 109.8 MB / 0.508 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.6161, allocations: 83.95 kB / 0.5081 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7438/1.36, allocations: 104 MB / 0.6096 GB, free: 32.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.115e-06/1.36, allocations: 0 / 0.6096 GB, free: 32.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003872/1.36, allocations: 108 kB / 0.6097 GB, free: 32.22 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.02081/1.381, allocations: 5.093 MB / 0.6147 GB, free: 27.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.381, allocations: 12.03 kB / 0.6147 GB, free: 27.05 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004404/1.386, allocations: 0.8896 MB / 0.6155 GB, free: 26.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05033/1.436, allocations: 6.865 MB / 0.6223 GB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02545/1.462, allocations: 6.469 MB / 0.6286 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/1.462, allocations: 386.2 kB / 0.6289 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/1.465, allocations: 0.5036 MB / 0.6294 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03664/1.502, allocations: 11.78 MB / 0.6409 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004825/1.502, allocations: 79.23 kB / 0.641 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00269/1.505, allocations: 247.9 kB / 0.6412 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/1.508, allocations: 1.062 MB / 0.6423 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03199/1.54, allocations: 9.193 MB / 0.6513 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09933/1.639, allocations: 55.12 MB / 0.7051 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.657, allocations: 3.879 MB / 0.7089 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.663, allocations: 2.101 MB / 0.7109 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4175/2.08, allocations: 8.874 MB / 0.7196 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/2.08, allocations: 59 kB / 0.7196 GB, free: 121 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 7.073e-06/2.08, allocations: 0 / 0.7196 GB, free: 121 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.07149/2.152, allocations: 14.72 MB / 0.734 GB, free: 118 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/2.152, allocations: 203.2 kB / 0.7342 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/2.163, allocations: 4.106 MB / 0.7382 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004931/2.163, allocations: 52.39 kB / 0.7383 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003728/2.167, allocations: 3.659 MB / 0.7419 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/2.168, allocations: 0.7392 MB / 0.7426 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008624/2.169, allocations: 122 kB / 0.7427 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005092/2.17, allocations: 0.5727 MB / 0.7432 GB, free: 115 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00523/2.175, allocations: 2.004 MB / 0.7452 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008237/2.183, allocations: 5.799 MB / 0.7509 GB, free: 110 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/2.193, allocations: 3.417 MB / 0.7542 GB, free: 110 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000228/2.193, allocations: 35.97 kB / 0.7542 GB, free: 110 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02706/2.22, allocations: 7.939 MB / 0.762 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/2.221, allocations: 64.12 kB / 0.7621 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/2.221, allocations: 137.1 kB / 0.7622 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/2.226, allocations: 0.9168 MB / 0.7631 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009236/2.235, allocations: 1.427 MB / 0.7645 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/2.248, allocations: 7.219 MB / 0.7715 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007169/2.255, allocations: 331.9 kB / 0.7718 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/2.257, allocations: 387.8 kB / 0.7722 GB, free: 104.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (754): * Single equations (assignments): 749 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001231/2.258, allocations: 0.5984 MB / 0.7728 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/2.259, allocations: 409.8 kB / 0.7732 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/2.268, allocations: 3.112 MB / 0.7762 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/2.268, allocations: 25.95 kB / 0.7763 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/2.268, allocations: 9.281 kB / 0.7763 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/2.268, allocations: 14.44 kB / 0.7763 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/2.293, allocations: 8.369 MB / 0.7844 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/2.293, allocations: 0 / 0.7844 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/2.296, allocations: 286.6 kB / 0.7847 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003915/2.3, allocations: 0.6851 MB / 0.7854 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004009/2.3, allocations: 39.55 kB / 0.7854 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/2.312, allocations: 6.541 MB / 0.7918 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.312, allocations: 0 / 0.7918 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/2.325, allocations: 5.571 MB / 0.7973 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/2.327, allocations: 453.3 kB / 0.7977 GB, free: 88.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/2.328, allocations: 35.14 kB / 0.7977 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/2.332, allocations: 95.89 kB / 0.7978 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/2.332, allocations: 119.7 kB / 0.7979 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/2.332, allocations: 56.56 kB / 0.798 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007418/2.34, allocations: 2.892 MB / 0.8008 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.72e-07/2.34, allocations: 0 / 0.8008 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008357/2.348, allocations: 1.131 MB / 0.8019 GB, free: 84.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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.01358/2.362, allocations: 6.375 MB / 0.8081 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01197/2.374, allocations: 4.968 MB / 0.813 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/2.374, allocations: 3.938 kB / 0.813 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004352/2.378, allocations: 1.719 MB / 0.8147 GB, free: 73.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/2.383, allocations: 0.5117 MB / 0.8152 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/2.418, allocations: 10.42 MB / 0.8253 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008662/2.426, allocations: 3.957 MB / 0.8292 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008885/2.435, allocations: 2.005 MB / 0.8312 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005245/2.441, allocations: 2.341 MB / 0.8335 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/2.441, allocations: 4 kB / 0.8335 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5903/3.031, allocations: 87.96 MB / 0.9194 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/3.031, allocations: 175 kB / 0.9195 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.96/8.991, allocations: 0 / 0.9195 GB, free: 124.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat