Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.582e-05, allocations: 4 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4007, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.6307, allocations: 108.2 MB / 0.505 GB, free: 14.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6311, allocations: 75.97 kB / 0.505 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9607/1.592, allocations: 161.8 MB / 0.6631 GB, free: 7.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.295e-06/1.592, allocations: 3.938 kB / 0.6631 GB, free: 7.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005757/1.592, allocations: 168 kB / 0.6633 GB, free: 7.438 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.03523/1.628, allocations: 8.037 MB / 0.6711 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.628, allocations: 8.031 kB / 0.6711 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006702/1.634, allocations: 1.425 MB / 0.6725 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07379/1.708, allocations: 9.677 MB / 0.682 GB, free: 4.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03449/1.743, allocations: 8.955 MB / 0.6907 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009491/1.744, allocations: 0.6138 MB / 0.6913 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004689/1.749, allocations: 0.8238 MB / 0.6921 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06901/1.818, allocations: 19.79 MB / 0.7114 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006932/1.818, allocations: 107 kB / 0.7115 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004229/1.823, allocations: 395.8 kB / 0.7119 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/1.827, allocations: 1.778 MB / 0.7136 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5132/2.34, allocations: 16 MB / 0.7293 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1301/2.47, allocations: 83.35 MB / 0.8107 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03463/2.505, allocations: 8.08 MB / 0.8186 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008726/2.514, allocations: 4.724 MB / 0.8232 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/2.514, allocations: 67.11 kB / 0.8232 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.766e-05/2.514, allocations: 68.62 kB / 0.8233 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.224e-06/2.514, allocations: 0 / 0.8233 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.1563/2.671, allocations: 34.03 MB / 0.8565 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/2.671, allocations: 273.1 kB / 0.8568 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/2.689, allocations: 6.927 MB / 0.8636 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/2.69, allocations: 80.28 kB / 0.8636 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004899/2.695, allocations: 5.225 MB / 0.8687 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/2.697, allocations: 1.367 MB / 0.8701 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/2.699, allocations: 195.9 kB / 0.8703 GB, free: 392 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001001/2.7, allocations: 0.7201 MB / 0.871 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01203/2.712, allocations: 4.055 MB / 0.8749 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01761/2.73, allocations: 9.518 MB / 0.8842 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/2.747, allocations: 6.238 MB / 0.8903 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002188/2.747, allocations: 58.03 kB / 0.8904 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.04746/2.795, allocations: 14.82 MB / 0.9048 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/2.795, allocations: 88.19 kB / 0.9049 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003826/2.796, allocations: 199 kB / 0.9051 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/2.807, allocations: 2.441 MB / 0.9075 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01631/2.823, allocations: 2.276 MB / 0.9097 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4569/3.28, allocations: 16.96 MB / 0.9263 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/3.293, allocations: 0.5776 MB / 0.9268 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002645/3.295, allocations: 0.573 MB / 0.9274 GB, free: 117 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1167): * Single equations (assignments): 1161 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004032/3.3, allocations: 0.8525 MB / 0.9282 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/3.302, allocations: 0.6824 MB / 0.9289 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02753/3.329, allocations: 8.707 MB / 0.9374 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-05/3.329, allocations: 41.41 kB / 0.9374 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-05/3.33, allocations: 10.38 kB / 0.9375 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/3.33, allocations: 25.27 kB / 0.9375 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05902/3.389, allocations: 19 MB / 0.956 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/3.389, allocations: 0 / 0.956 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006713/3.396, allocations: 0.6424 MB / 0.9567 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/3.406, allocations: 2.117 MB / 0.9587 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/3.407, allocations: 67.5 kB / 0.9588 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03273/3.44, allocations: 15.68 MB / 0.9741 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/3.44, allocations: 3.75 kB / 0.9741 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03613/3.476, allocations: 13.8 MB / 0.9876 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002727/3.479, allocations: 0.7535 MB / 0.9883 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002978/3.482, allocations: 62.3 kB / 0.9884 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007374/3.489, allocations: 275.2 kB / 0.9886 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/3.491, allocations: 224.8 kB / 0.9889 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008502/3.492, allocations: 86.72 kB / 0.9889 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01352/3.505, allocations: 4.921 MB / 0.9937 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.383e-06/3.505, allocations: 0 / 0.9937 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01439/3.52, allocations: 1.969 MB / 0.9957 GB, free: 105.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.03936/3.559, allocations: 14.66 MB / 1.01 GB, free: 99.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02324/3.582, allocations: 9.935 MB / 1.02 GB, free: 95.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/3.582, allocations: 0 / 1.02 GB, free: 95.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01178/3.594, allocations: 4.251 MB / 1.024 GB, free: 91.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008046/3.602, allocations: 0.9144 MB / 1.025 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05889/3.661, allocations: 19.46 MB / 1.044 GB, free: 74.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01328/3.674, allocations: 5.93 MB / 1.05 GB, free: 69.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01035/3.685, allocations: 3.998 MB / 1.053 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of SimCode: time 2.435e-06/3.685, allocations: 0 / 1.053 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.2/9.885, allocations: 255.7 MB / 1.303 GB, free: 18.13 MB / 0.573 GB