Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.802/2.802, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.534e-05, allocations: 7.984 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4268, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.6294, allocations: 107 MB / 0.5038 GB, free: 15.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6298, allocations: 75.95 kB / 0.5039 GB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.851/1.481, allocations: 132.9 MB / 0.6336 GB, free: 5.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.126e-06/1.481, allocations: 0 / 0.6336 GB, free: 5.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004907/1.481, allocations: 131.9 kB / 0.6337 GB, free: 5.555 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.02613/1.508, allocations: 6.371 MB / 0.64 GB, free: 15.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.508, allocations: 12.03 kB / 0.64 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005696/1.513, allocations: 1.112 MB / 0.6411 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07556/1.589, allocations: 9.426 MB / 0.6503 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04338/1.632, allocations: 8.123 MB / 0.6582 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/1.633, allocations: 488.9 kB / 0.6587 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/1.638, allocations: 0.6403 MB / 0.6593 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05647/1.695, allocations: 15.05 MB / 0.674 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005759/1.695, allocations: 95.12 kB / 0.6741 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003295/1.699, allocations: 319.8 kB / 0.6744 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/1.702, allocations: 1.346 MB / 0.6757 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0409/1.743, allocations: 11.6 MB / 0.687 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4991/2.242, allocations: 67.63 MB / 0.7531 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/2.263, allocations: 5.171 MB / 0.7581 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/2.268, allocations: 2.579 MB / 0.7606 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/2.269, allocations: 33.64 kB / 0.7607 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/2.269, allocations: 63 kB / 0.7607 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 5.841e-06/2.269, allocations: 0 / 0.7607 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.07695/2.346, allocations: 16.8 MB / 0.7771 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/2.346, allocations: 256 kB / 0.7774 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/2.362, allocations: 5.877 MB / 0.7831 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005259/2.362, allocations: 61.86 kB / 0.7832 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004256/2.367, allocations: 4.453 MB / 0.7875 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/2.368, allocations: 0.816 MB / 0.7883 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/2.369, allocations: 153.9 kB / 0.7885 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007953/2.37, allocations: 0.6425 MB / 0.7891 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006399/2.376, allocations: 2.393 MB / 0.7914 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009762/2.386, allocations: 7.288 MB / 0.7985 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009123/2.395, allocations: 4.163 MB / 0.8026 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/2.396, allocations: 51.84 kB / 0.8027 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02601/2.422, allocations: 9.291 MB / 0.8117 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.422, allocations: 80.16 kB / 0.8118 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002972/2.422, allocations: 180.6 kB / 0.812 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/2.426, allocations: 0.8138 MB / 0.8128 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.436, allocations: 1.774 MB / 0.8145 GB, free: 38.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/2.45, allocations: 8.466 MB / 0.8228 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009439/2.46, allocations: 420.6 kB / 0.8232 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001854/2.461, allocations: 484 kB / 0.8236 GB, free: 32.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (945): * Single equations (assignments): 939 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003271/2.465, allocations: 0.7165 MB / 0.8243 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/2.467, allocations: 0.5597 MB / 0.8249 GB, free: 31.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/2.477, allocations: 3.365 MB / 0.8282 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.37e-05/2.477, allocations: 24.66 kB / 0.8282 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.082e-05/2.477, allocations: 10.67 kB / 0.8282 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.846e-05/2.477, allocations: 9.281 kB / 0.8282 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02955/2.507, allocations: 9.532 MB / 0.8375 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/2.507, allocations: 0 / 0.8375 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003118/2.51, allocations: 311.3 kB / 0.8378 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/2.512, allocations: 0.5175 MB / 0.8383 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004947/2.513, allocations: 31.83 kB / 0.8384 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/2.525, allocations: 7.585 MB / 0.8458 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/2.525, allocations: 4.031 kB / 0.8458 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/2.539, allocations: 6.158 MB / 0.8518 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.542, allocations: 0.608 MB / 0.8524 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/2.544, allocations: 32 kB / 0.8524 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004735/2.548, allocations: 110.7 kB / 0.8525 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000794/2.549, allocations: 131.2 kB / 0.8526 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002659/2.55, allocations: 54.91 kB / 0.8527 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01087/2.56, allocations: 4.176 MB / 0.8568 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/2.56, allocations: 0 / 0.8568 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0103/2.571, allocations: 1.4 MB / 0.8581 GB, free: 6.406 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 147 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/2.586, allocations: 6.997 MB / 0.865 GB, free: 80 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.602, allocations: 5.969 MB / 0.8708 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/2.602, allocations: 4 kB / 0.8708 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004957/2.607, allocations: 1.903 MB / 0.8727 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006789/2.614, allocations: 0.7508 MB / 0.8734 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04925/2.664, allocations: 13.75 MB / 0.8868 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01253/2.676, allocations: 4.794 MB / 0.8915 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008242/2.684, allocations: 3.103 MB / 0.8945 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of SimCode: time 1.854e-06/2.684, allocations: 0 / 0.8945 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.93/8.614, allocations: 198.9 MB / 1.089 GB, free: 25.41 MB / 0.5573 GB