Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.596/2.596, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.254e-05, allocations: 0 / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.422, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.6299, allocations: 109.8 MB / 0.508 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6303, allocations: 75.95 kB / 0.5081 GB, free: 12.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7538/1.384, allocations: 104 MB / 0.6096 GB, free: 32.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.384, allocations: 0 / 0.6096 GB, free: 32.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004787/1.385, allocations: 104 kB / 0.6097 GB, free: 31.93 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.01984/1.404, allocations: 5.093 MB / 0.6147 GB, free: 26.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.405, allocations: 12.03 kB / 0.6147 GB, free: 26.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00373/1.408, allocations: 0.8896 MB / 0.6155 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04949/1.458, allocations: 6.857 MB / 0.6222 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.481, allocations: 6.472 MB / 0.6286 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/1.481, allocations: 390.2 kB / 0.6289 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/1.484, allocations: 0.5075 MB / 0.6294 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/1.518, allocations: 11.79 MB / 0.6409 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004441/1.519, allocations: 71.3 kB / 0.641 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002576/1.521, allocations: 247.9 kB / 0.6412 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/1.524, allocations: 1.07 MB / 0.6423 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/1.556, allocations: 9.193 MB / 0.6513 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09811/1.654, allocations: 55.11 MB / 0.7051 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/1.672, allocations: 3.879 MB / 0.7089 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005156/1.678, allocations: 2.097 MB / 0.7109 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4538/2.131, allocations: 8.877 MB / 0.7196 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/2.132, allocations: 52.25 kB / 0.7196 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 5.731e-06/2.132, allocations: 0 / 0.7196 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.06813/2.2, allocations: 14.74 MB / 0.734 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/2.2, allocations: 196 kB / 0.7342 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00994/2.21, allocations: 4.099 MB / 0.7382 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/2.21, allocations: 54.02 kB / 0.7383 GB, free: 116 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003381/2.214, allocations: 3.663 MB / 0.7418 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/2.215, allocations: 0.7392 MB / 0.7426 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007813/2.216, allocations: 122.3 kB / 0.7427 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004953/2.216, allocations: 0.5762 MB / 0.7432 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005016/2.221, allocations: 2.001 MB / 0.7452 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/2.231, allocations: 5.805 MB / 0.7509 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/2.243, allocations: 3.408 MB / 0.7542 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/2.243, allocations: 38.75 kB / 0.7542 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.03235/2.275, allocations: 7.947 MB / 0.762 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/2.275, allocations: 66.34 kB / 0.7621 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000269/2.276, allocations: 136.7 kB / 0.7622 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006263/2.282, allocations: 0.9135 MB / 0.7631 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/2.294, allocations: 1.425 MB / 0.7645 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/2.313, allocations: 7.21 MB / 0.7715 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/2.324, allocations: 342.5 kB / 0.7718 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.326, allocations: 380.4 kB / 0.7722 GB, free: 102.9 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.002907/2.329, allocations: 0.6037 MB / 0.7728 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/2.33, allocations: 412 kB / 0.7732 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/2.344, allocations: 3.1 MB / 0.7762 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.585e-05/2.344, allocations: 24.5 kB / 0.7762 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/2.344, allocations: 6.062 kB / 0.7762 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.257e-05/2.344, allocations: 14.2 kB / 0.7763 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/2.369, allocations: 8.379 MB / 0.7844 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/2.369, allocations: 0 / 0.7844 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/2.372, allocations: 286.5 kB / 0.7847 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/2.376, allocations: 0.6866 MB / 0.7854 GB, free: 97.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/2.376, allocations: 31.03 kB / 0.7854 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/2.389, allocations: 6.543 MB / 0.7918 GB, free: 92.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.389, allocations: 3.953 kB / 0.7918 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/2.401, allocations: 5.566 MB / 0.7972 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/2.403, allocations: 454.5 kB / 0.7977 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009934/2.404, allocations: 32.64 kB / 0.7977 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/2.407, allocations: 101.6 kB / 0.7978 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/2.407, allocations: 113 kB / 0.7979 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/2.408, allocations: 52.55 kB / 0.798 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006838/2.415, allocations: 2.89 MB / 0.8008 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.61e-07/2.415, allocations: 0 / 0.8008 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007798/2.422, allocations: 1.124 MB / 0.8019 GB, free: 83.24 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.01353/2.436, allocations: 6.383 MB / 0.8081 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01181/2.448, allocations: 4.976 MB / 0.813 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/2.448, allocations: 7.828 kB / 0.813 GB, free: 73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004474/2.452, allocations: 1.702 MB / 0.8146 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/2.457, allocations: 0.5267 MB / 0.8152 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/2.49, allocations: 10.41 MB / 0.8253 GB, free: 62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008366/2.499, allocations: 3.965 MB / 0.8292 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008783/2.508, allocations: 2 MB / 0.8311 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004937/2.513, allocations: 2.344 MB / 0.8334 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/2.513, allocations: 1.531 kB / 0.8334 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6581/3.171, allocations: 87.98 MB / 0.9194 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/3.171, allocations: 169.5 kB / 0.9195 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.97/9.142, allocations: 0 / 0.9195 GB, free: 121.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat