Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.754e-05/4.762e-05, allocations: 11.88 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4382, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.6311, allocations: 107.4 MB / 0.5042 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6315, allocations: 71.97 kB / 0.5043 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8042/1.436, allocations: 120.1 MB / 0.6215 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.436, allocations: 0 / 0.6215 GB, free: 18.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003867/1.436, allocations: 116 kB / 0.6216 GB, free: 18.12 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02423/1.46, allocations: 5.867 MB / 0.6274 GB, free: 12.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/1.46, allocations: 11.97 kB / 0.6274 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004833/1.465, allocations: 1.059 MB / 0.6284 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0505/1.516, allocations: 6.97 MB / 0.6352 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02609/1.542, allocations: 6.667 MB / 0.6417 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/1.543, allocations: 447.9 kB / 0.6422 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/1.546, allocations: 0.5934 MB / 0.6427 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05366/1.6, allocations: 14.86 MB / 0.6573 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004922/1.601, allocations: 67.41 kB / 0.6573 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003188/1.604, allocations: 283.9 kB / 0.6576 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/1.607, allocations: 1.369 MB / 0.6589 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04483/1.652, allocations: 12.29 MB / 0.6709 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5633/2.216, allocations: 60.83 MB / 0.7303 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02805/2.244, allocations: 6.07 MB / 0.7363 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006742/2.251, allocations: 3.559 MB / 0.7397 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03616/2.287, allocations: 12.85 MB / 0.7523 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/2.287, allocations: 63.91 kB / 0.7523 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 8.336e-06/2.287, allocations: 0 / 0.7523 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.1245/2.411, allocations: 23.11 MB / 0.7749 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/2.412, allocations: 213 kB / 0.7751 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/2.422, allocations: 4.395 MB / 0.7794 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008111/2.423, allocations: 60.73 kB / 0.7795 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003435/2.427, allocations: 3.894 MB / 0.7833 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/2.428, allocations: 1.006 MB / 0.7843 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/2.429, allocations: 141.6 kB / 0.7844 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006872/2.43, allocations: 0.6159 MB / 0.785 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007585/2.438, allocations: 2.95 MB / 0.7879 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/2.449, allocations: 7.022 MB / 0.7947 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.459, allocations: 4.525 MB / 0.7991 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/2.459, allocations: 46.7 kB / 0.7992 GB, free: 53.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03167/2.491, allocations: 10.74 MB / 0.8097 GB, free: 49.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/2.491, allocations: 68.81 kB / 0.8097 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002256/2.491, allocations: 147.5 kB / 0.8099 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007058/2.498, allocations: 1.653 MB / 0.8115 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/2.509, allocations: 1.663 MB / 0.8131 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/2.53, allocations: 11.31 MB / 0.8242 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009293/2.54, allocations: 434 kB / 0.8246 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/2.542, allocations: 439.1 kB / 0.825 GB, free: 35.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 862 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002276/2.544, allocations: 0.6622 MB / 0.8256 GB, free: 35.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/2.545, allocations: 470 kB / 0.8261 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/2.564, allocations: 6.023 MB / 0.832 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.871e-05/2.564, allocations: 31.14 kB / 0.832 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/2.564, allocations: 8 kB / 0.832 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.178e-05/2.564, allocations: 12.41 kB / 0.832 GB, free: 29.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04071/2.605, allocations: 13.45 MB / 0.8452 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/2.605, allocations: 0 / 0.8452 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004612/2.609, allocations: 442.7 kB / 0.8456 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006477/2.616, allocations: 1.41 MB / 0.847 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000804/2.617, allocations: 49.77 kB / 0.847 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/2.638, allocations: 10.59 MB / 0.8574 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.638, allocations: 4 kB / 0.8574 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/2.665, allocations: 9.943 MB / 0.8671 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/2.667, allocations: 0.4996 MB / 0.8676 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/2.669, allocations: 51.59 kB / 0.8676 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005163/2.675, allocations: 203.8 kB / 0.8678 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/2.676, allocations: 153.5 kB / 0.8679 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/2.676, allocations: 68 kB / 0.868 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008922/2.685, allocations: 3.078 MB / 0.871 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/2.685, allocations: 3.938 kB / 0.871 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01017/2.695, allocations: 1.412 MB / 0.8724 GB, free: 10.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02935/2.725, allocations: 10.64 MB / 0.8828 GB, free: 84 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01961/2.744, allocations: 7.196 MB / 0.8898 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.745, allocations: 0 / 0.8898 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.755, allocations: 3.073 MB / 0.8928 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/2.76, allocations: 0.6129 MB / 0.8934 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/2.809, allocations: 13.95 MB / 0.907 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/2.821, allocations: 4.496 MB / 0.9114 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008641/2.83, allocations: 2.784 MB / 0.9141 GB, free: 52 kB / 0.5573 GB Notification: Performance of SimCode: time 1.663e-06/2.83, allocations: 0 / 0.9141 GB, free: 52 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.34/8.17, allocations: 160.4 MB / 1.071 GB, free: 74.94 MB / 0.573 GB