Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.412e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3987, allocations: 61.86 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.6078, allocations: 109.8 MB / 0.5066 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.6082, allocations: 83.95 kB / 0.5066 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7778/1.386, allocations: 104 MB / 0.6082 GB, free: 32.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.386, allocations: 0 / 0.6082 GB, free: 32.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003697/1.386, allocations: 111.9 kB / 0.6083 GB, free: 32.16 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.02038/1.407, allocations: 5.093 MB / 0.6133 GB, free: 27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.407, allocations: 16.03 kB / 0.6133 GB, free: 26.98 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003947/1.411, allocations: 0.8935 MB / 0.6142 GB, free: 26.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04953/1.46, allocations: 6.857 MB / 0.6209 GB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0286/1.489, allocations: 6.461 MB / 0.6272 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/1.49, allocations: 390.2 kB / 0.6275 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/1.493, allocations: 0.5114 MB / 0.628 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04635/1.539, allocations: 11.78 MB / 0.6395 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000513/1.54, allocations: 79.25 kB / 0.6396 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00289/1.543, allocations: 247.9 kB / 0.6398 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/1.546, allocations: 1.066 MB / 0.6409 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/1.578, allocations: 9.189 MB / 0.6499 GB, free: 4.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/1.682, allocations: 55.11 MB / 0.7037 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02599/1.708, allocations: 3.895 MB / 0.7075 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006301/1.715, allocations: 2.091 MB / 0.7095 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4163/2.131, allocations: 8.876 MB / 0.7182 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/2.131, allocations: 53.22 kB / 0.7182 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 5.47e-06/2.131, allocations: 0.5938 kB / 0.7182 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.06924/2.2, allocations: 14.73 MB / 0.7326 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/2.2, allocations: 202 kB / 0.7328 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/2.21, allocations: 4.102 MB / 0.7368 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004581/2.211, allocations: 54.61 kB / 0.7369 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003234/2.214, allocations: 3.517 MB / 0.7403 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/2.215, allocations: 0.7426 MB / 0.741 GB, free: 114 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008163/2.216, allocations: 124.7 kB / 0.7412 GB, free: 114 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004819/2.217, allocations: 0.5713 MB / 0.7417 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/2.222, allocations: 2.007 MB / 0.7437 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007969/2.23, allocations: 5.798 MB / 0.7493 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/2.238, allocations: 3.415 MB / 0.7527 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/2.238, allocations: 38.81 kB / 0.7527 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02218/2.26, allocations: 7.773 MB / 0.7603 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/2.26, allocations: 61 kB / 0.7604 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/2.261, allocations: 135.7 kB / 0.7605 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/2.265, allocations: 0.9227 MB / 0.7614 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008777/2.274, allocations: 1.419 MB / 0.7628 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/2.287, allocations: 7.227 MB / 0.7698 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007333/2.295, allocations: 339.1 kB / 0.7702 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/2.296, allocations: 383 kB / 0.7705 GB, free: 103.3 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.002212/2.299, allocations: 0.5962 MB / 0.7711 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/2.3, allocations: 413.1 kB / 0.7715 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009657/2.309, allocations: 3.109 MB / 0.7745 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/2.309, allocations: 18.38 kB / 0.7745 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/2.309, allocations: 7.156 kB / 0.7746 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.495e-05/2.309, allocations: 7.031 kB / 0.7746 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/2.335, allocations: 8.378 MB / 0.7827 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/2.335, allocations: 0 / 0.7827 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/2.338, allocations: 292.8 kB / 0.783 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003966/2.342, allocations: 0.6849 MB / 0.7837 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004122/2.342, allocations: 37.03 kB / 0.7837 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/2.354, allocations: 6.547 MB / 0.7901 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.354, allocations: 0 / 0.7901 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/2.368, allocations: 5.56 MB / 0.7955 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/2.37, allocations: 456.2 kB / 0.796 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/2.371, allocations: 38.58 kB / 0.796 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/2.375, allocations: 91.69 kB / 0.7961 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006791/2.376, allocations: 124.1 kB / 0.7962 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/2.376, allocations: 44 kB / 0.7963 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007637/2.384, allocations: 2.894 MB / 0.7991 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.583e-06/2.384, allocations: 0 / 0.7991 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007947/2.392, allocations: 1.127 MB / 0.8002 GB, free: 83.82 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.01536/2.407, allocations: 6.379 MB / 0.8064 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01241/2.419, allocations: 4.98 MB / 0.8113 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/2.419, allocations: 0 / 0.8113 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/2.424, allocations: 1.715 MB / 0.813 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/2.428, allocations: 0.515 MB / 0.8135 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/2.46, allocations: 11.01 MB / 0.8242 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007205/2.467, allocations: 3.962 MB / 0.8281 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004746/2.472, allocations: 2.393 MB / 0.8304 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/2.472, allocations: 0 / 0.8304 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.001/7.474, allocations: 137.2 MB / 0.9644 GB, free: 134.9 MB / 0.5417 GB