Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.482e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4628, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.661, allocations: 110.7 MB / 0.5074 GB, free: 11.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.6614, allocations: 75.95 kB / 0.5075 GB, free: 11.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199/1.86, allocations: 205.4 MB / 0.7081 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/1.86, allocations: 0 / 0.7081 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009185/1.861, allocations: 220 kB / 0.7083 GB, free: 9.223 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.8442/2.706, allocations: 10.56 MB / 0.7186 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.236e-05/2.706, allocations: 9.5 kB / 0.7186 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01208/2.718, allocations: 1.868 MB / 0.7204 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1355/2.853, allocations: 12.44 MB / 0.7326 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0391/2.892, allocations: 11.47 MB / 0.7438 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009827/2.894, allocations: 0.8168 MB / 0.7446 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005242/2.899, allocations: 1.094 MB / 0.7456 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0798/2.979, allocations: 25.59 MB / 0.7706 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007408/2.979, allocations: 132.9 kB / 0.7708 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004427/2.984, allocations: 0.5052 MB / 0.7713 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004942/2.989, allocations: 2.355 MB / 0.7736 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07867/3.068, allocations: 20.62 MB / 0.7937 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/3.264, allocations: 108.6 MB / 0.8998 GB, free: 9.258 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06046/3.324, allocations: 12.36 MB / 0.9118 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01568/3.34, allocations: 6.959 MB / 0.9186 GB, free: 9.207 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004531/3.345, allocations: 2.327 MB / 0.9209 GB, free: 6.707 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/3.345, allocations: 82.5 kB / 0.921 GB, free: 6.617 MB / 0.573 GB Notification: Performance of pre-optimization done (n=443): time 9.177e-06/3.345, allocations: 0 / 0.921 GB, free: 6.617 MB / 0.573 GB Notification: Performance of matching and sorting (n=527): time 0.7735/4.118, allocations: 49.4 MB / 0.9692 GB, free: 105.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/4.119, allocations: 315.8 kB / 0.9695 GB, free: 105.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0221/4.141, allocations: 8.546 MB / 0.9779 GB, free: 104.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001582/4.142, allocations: 107.7 kB / 0.978 GB, free: 104.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006343/4.149, allocations: 6.714 MB / 0.9845 GB, free: 101.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003394/4.152, allocations: 1.949 MB / 0.9864 GB, free: 99.99 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002558/4.155, allocations: 257.8 kB / 0.9867 GB, free: 99.99 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00112/4.156, allocations: 0.8542 MB / 0.9875 GB, free: 99.65 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01416/4.17, allocations: 5.49 MB / 0.9929 GB, free: 99.62 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01905/4.189, allocations: 12.44 MB / 1.005 GB, free: 90.67 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/4.208, allocations: 8.224 MB / 1.013 GB, free: 90.56 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000328/4.209, allocations: 69.56 kB / 1.013 GB, free: 90.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.06423/4.273, allocations: 19.71 MB / 1.032 GB, free: 87.99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/4.273, allocations: 114.1 kB / 1.032 GB, free: 87.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006412/4.274, allocations: 246.9 kB / 1.033 GB, free: 87.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02035/4.294, allocations: 3.232 MB / 1.036 GB, free: 87.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03064/4.325, allocations: 3.094 MB / 1.039 GB, free: 87.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06359/4.389, allocations: 22.51 MB / 1.061 GB, free: 75.03 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02519/4.414, allocations: 0.7643 MB / 1.062 GB, free: 74.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004843/4.419, allocations: 0.7375 MB / 1.062 GB, free: 74.04 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[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],fixed3.color[3],fixed3.color[2],fixed3.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 (1542): * Single equations (assignments): 1535 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008584/4.427, allocations: 1.097 MB / 1.063 GB, free: 72.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005058/4.433, allocations: 0.8716 MB / 1.064 GB, free: 72.07 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04862/4.481, allocations: 12.27 MB / 1.076 GB, free: 62.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/4.481, allocations: 56 kB / 1.076 GB, free: 62.12 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-05/4.481, allocations: 16 kB / 1.076 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001565/4.482, allocations: 29.2 kB / 1.076 GB, free: 62.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08537/4.567, allocations: 27.17 MB / 1.103 GB, free: 40.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.764e-05/4.567, allocations: 4 kB / 1.103 GB, free: 40.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01036/4.578, allocations: 0.9822 MB / 1.104 GB, free: 39.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/4.591, allocations: 2.821 MB / 1.107 GB, free: 37.62 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001809/4.593, allocations: 91.84 kB / 1.107 GB, free: 37.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04201/4.635, allocations: 21.02 MB / 1.127 GB, free: 18.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/4.635, allocations: 4 kB / 1.127 GB, free: 18.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4898/5.125, allocations: 20.35 MB / 1.147 GB, free: 93.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/5.129, allocations: 0.9377 MB / 1.148 GB, free: 93.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004377/5.133, allocations: 91.66 kB / 1.148 GB, free: 93.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/5.144, allocations: 413.9 kB / 1.148 GB, free: 93.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002477/5.146, allocations: 324.7 kB / 1.149 GB, free: 93.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001909/5.148, allocations: 136.5 kB / 1.149 GB, free: 93.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01919/5.167, allocations: 6.101 MB / 1.155 GB, free: 93.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.002e-06/5.168, allocations: 0 / 1.155 GB, free: 93.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01863/5.186, allocations: 2.623 MB / 1.157 GB, free: 93.11 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (435): * Single equations (assignments): 428 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.05457/5.241, allocations: 21.53 MB / 1.178 GB, free: 89.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0332/5.274, allocations: 13.51 MB / 1.192 GB, free: 89.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/5.274, allocations: 0 / 1.192 GB, free: 89.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01765/5.292, allocations: 5.955 MB / 1.197 GB, free: 88.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/5.303, allocations: 1.163 MB / 1.199 GB, free: 88.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/5.418, allocations: 26.06 MB / 1.224 GB, free: 82.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02249/5.441, allocations: 7.586 MB / 1.231 GB, free: 80.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01484/5.456, allocations: 5.367 MB / 1.237 GB, free: 76.08 MB / 0.573 GB Notification: Performance of SimCode: time 1.773e-06/5.456, allocations: 0 / 1.237 GB, free: 76.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.031/13.49, allocations: 375 MB / 1.603 GB, free: 136.9 MB / 0.6355 GB