Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.588/2.588, allocations: 270 MB / 282.6 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.825e-05, allocations: 7.938 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4109, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.6389, allocations: 109.5 MB / 0.5063 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6392, allocations: 71.95 kB / 0.5064 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8428/1.482, allocations: 127.6 MB / 0.6309 GB, free: 8.707 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.482, allocations: 0 / 0.6309 GB, free: 8.707 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005395/1.483, allocations: 124 kB / 0.6311 GB, free: 8.586 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.03292/1.516, allocations: 6.299 MB / 0.6372 GB, free: 2.207 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/1.516, allocations: 12.03 kB / 0.6372 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006021/1.522, allocations: 1.104 MB / 0.6383 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06784/1.59, allocations: 7.066 MB / 0.6452 GB, free: 9.988 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03855/1.628, allocations: 6.937 MB / 0.652 GB, free: 2.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.629, allocations: 480.5 kB / 0.6524 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004584/1.634, allocations: 0.6169 MB / 0.653 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07658/1.711, allocations: 15.52 MB / 0.6682 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006633/1.711, allocations: 87.19 kB / 0.6683 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004252/1.716, allocations: 303.8 kB / 0.6686 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005007/1.721, allocations: 1.428 MB / 0.67 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04913/1.77, allocations: 12.52 MB / 0.6822 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5587/2.329, allocations: 66.91 MB / 0.7475 GB, free: 60.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03941/2.368, allocations: 6.33 MB / 0.7537 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009134/2.377, allocations: 3.352 MB / 0.757 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03015/2.407, allocations: 7.978 MB / 0.7648 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/2.408, allocations: 58.81 kB / 0.7648 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 9.719e-06/2.408, allocations: 3.469 kB / 0.7648 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.1624/2.57, allocations: 24.82 MB / 0.7891 GB, free: 53.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/2.57, allocations: 232.1 kB / 0.7893 GB, free: 52.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01846/2.589, allocations: 5.638 MB / 0.7948 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007857/2.59, allocations: 63.2 kB / 0.7949 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003956/2.594, allocations: 4.197 MB / 0.799 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/2.595, allocations: 1.026 MB / 0.8 GB, free: 49.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/2.597, allocations: 156 kB / 0.8001 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006295/2.597, allocations: 0.6478 MB / 0.8007 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007898/2.605, allocations: 3.066 MB / 0.8037 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/2.616, allocations: 7.705 MB / 0.8113 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/2.627, allocations: 4.818 MB / 0.816 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/2.628, allocations: 49.16 kB / 0.816 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.03289/2.661, allocations: 11.39 MB / 0.8271 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/2.661, allocations: 76 kB / 0.8272 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/2.661, allocations: 164 kB / 0.8274 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007082/2.668, allocations: 1.678 MB / 0.829 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/2.68, allocations: 1.85 MB / 0.8308 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/2.702, allocations: 11.37 MB / 0.8419 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/2.712, allocations: 470.8 kB / 0.8424 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00206/2.714, allocations: 482.1 kB / 0.8428 GB, free: 21.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (960): * Single equations (assignments): 955 * 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.003038/2.717, allocations: 0.7204 MB / 0.8435 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.718, allocations: 0.5424 MB / 0.844 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/2.736, allocations: 6.017 MB / 0.8499 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/2.736, allocations: 32 kB / 0.85 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/2.736, allocations: 8 kB / 0.85 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/2.736, allocations: 10.64 kB / 0.85 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04166/2.778, allocations: 13.62 MB / 0.8633 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.663e-05/2.778, allocations: 4 kB / 0.8633 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005136/2.783, allocations: 491 kB / 0.8637 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006636/2.79, allocations: 1.416 MB / 0.8651 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008231/2.791, allocations: 48 kB / 0.8652 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/2.816, allocations: 10.68 MB / 0.8756 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/2.816, allocations: 4 kB / 0.8756 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02849/2.845, allocations: 10.31 MB / 0.8857 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/2.847, allocations: 0.6159 MB / 0.8863 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002305/2.85, allocations: 47.78 kB / 0.8863 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005547/2.855, allocations: 179.8 kB / 0.8865 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/2.857, allocations: 162.9 kB / 0.8866 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004535/2.857, allocations: 75.75 kB / 0.8867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01255/2.87, allocations: 4.024 MB / 0.8906 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.082e-06/2.87, allocations: 0 / 0.8906 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01202/2.882, allocations: 1.505 MB / 0.8921 GB, free: 10.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.03106/2.913, allocations: 11.51 MB / 0.9034 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02102/2.934, allocations: 7.419 MB / 0.9106 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/2.934, allocations: 4 kB / 0.9106 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/2.944, allocations: 3.033 MB / 0.9136 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006575/2.951, allocations: 0.7041 MB / 0.9143 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05744/3.008, allocations: 14.83 MB / 0.9287 GB, free: 5.531 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01292/3.021, allocations: 4.744 MB / 0.9334 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4229/3.444, allocations: 3.018 MB / 0.9363 GB, free: 155 MB / 0.573 GB Notification: Performance of SimCode: time 1.813e-06/3.444, allocations: 0 / 0.9363 GB, free: 155 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.321/8.765, allocations: 173.6 MB / 1.106 GB, free: 44.27 MB / 0.573 GB