Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.118e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 61.86 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2089/0.6209, allocations: 112.2 MB / 0.5089 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6213, allocations: 75.97 kB / 0.509 GB, free: 10.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662/2.284, allocations: 222.6 MB / 0.7264 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.847e-06/2.284, allocations: 0 / 0.7264 GB, free: 48.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001722/2.285, allocations: 242.2 kB / 0.7266 GB, free: 48.75 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.07504/2.361, allocations: 11.54 MB / 0.7379 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/2.361, allocations: 13.92 kB / 0.7379 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0124/2.373, allocations: 1.991 MB / 0.7398 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1127/2.486, allocations: 12.62 MB / 0.7522 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04535/2.531, allocations: 12.21 MB / 0.7641 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/2.532, allocations: 0.8687 MB / 0.7649 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006276/2.539, allocations: 1.169 MB / 0.7661 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09383/2.633, allocations: 27.82 MB / 0.7932 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001008/2.634, allocations: 146.5 kB / 0.7934 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006032/2.64, allocations: 0.5435 MB / 0.7939 GB, free: 36.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005925/2.646, allocations: 2.584 MB / 0.7964 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08276/2.729, allocations: 22.14 MB / 0.8181 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6441/3.373, allocations: 120.5 MB / 0.9357 GB, free: 95.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06553/3.438, allocations: 13.77 MB / 0.9492 GB, free: 95 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01387/3.452, allocations: 7.267 MB / 0.9562 GB, free: 94.94 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04488/3.497, allocations: 17.77 MB / 0.9736 GB, free: 92.15 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.399e-05/3.497, allocations: 89.66 kB / 0.9737 GB, free: 92.11 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 1.002e-05/3.497, allocations: 0 / 0.9737 GB, free: 92.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.2854/3.783, allocations: 56.49 MB / 1.029 GB, free: 80.27 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/3.783, allocations: 367.8 kB / 1.029 GB, free: 79.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0278/3.811, allocations: 10.12 MB / 1.039 GB, free: 79.14 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001647/3.812, allocations: 115.1 kB / 1.039 GB, free: 79.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007058/3.82, allocations: 7.321 MB / 1.046 GB, free: 74.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003563/3.823, allocations: 2.051 MB / 1.048 GB, free: 72.87 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/3.826, allocations: 280.2 kB / 1.049 GB, free: 72.65 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001461/3.828, allocations: 0.9031 MB / 1.049 GB, free: 72.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/3.843, allocations: 5.773 MB / 1.055 GB, free: 70.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02024/3.863, allocations: 13.52 MB / 1.068 GB, free: 55.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/3.883, allocations: 8.775 MB / 1.077 GB, free: 48.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002874/3.883, allocations: 79.28 kB / 1.077 GB, free: 48.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.05981/3.943, allocations: 20.9 MB / 1.097 GB, free: 32.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/3.944, allocations: 120 kB / 1.098 GB, free: 32.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004081/3.944, allocations: 283.8 kB / 1.098 GB, free: 31.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01366/3.958, allocations: 3.248 MB / 1.101 GB, free: 29.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02275/3.98, allocations: 3.367 MB / 1.104 GB, free: 26.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04132/4.022, allocations: 22.42 MB / 1.126 GB, free: 6.496 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/4.04, allocations: 0.8272 MB / 1.127 GB, free: 5.809 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003656/4.044, allocations: 0.8114 MB / 1.128 GB, free: 5.031 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1698): * Single equations (assignments): 1691 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006026/4.05, allocations: 1.192 MB / 1.129 GB, free: 3.844 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003485/4.053, allocations: 0.9982 MB / 1.13 GB, free: 2.836 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04507/4.099, allocations: 12.83 MB / 1.142 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/4.099, allocations: 56 kB / 1.142 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-05/4.099, allocations: 16 kB / 1.142 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001521/4.099, allocations: 31.8 kB / 1.142 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5527/4.652, allocations: 28.97 MB / 1.171 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/4.652, allocations: 17.31 kB / 1.171 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0114/4.663, allocations: 1.104 MB / 1.172 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01313/4.676, allocations: 2.814 MB / 1.175 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001736/4.678, allocations: 102.6 kB / 1.175 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04364/4.722, allocations: 21.01 MB / 1.195 GB, free: 95.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/4.722, allocations: 14.72 kB / 1.195 GB, free: 95.97 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05255/4.774, allocations: 22.74 MB / 1.217 GB, free: 91.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004106/4.779, allocations: 1.095 MB / 1.219 GB, free: 91.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00456/4.783, allocations: 101 kB / 1.219 GB, free: 91.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/4.794, allocations: 384.7 kB / 1.219 GB, free: 91.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00232/4.797, allocations: 361.8 kB / 1.219 GB, free: 91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009962/4.798, allocations: 141.4 kB / 1.219 GB, free: 91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02015/4.818, allocations: 7.29 MB / 1.227 GB, free: 89.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.41e-07/4.818, allocations: 5.594 kB / 1.227 GB, free: 89.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02071/4.839, allocations: 2.8 MB / 1.229 GB, free: 89.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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%) 17,(4,75.0%) 17,(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.05566/4.894, allocations: 23.93 MB / 1.253 GB, free: 77.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.046/4.94, allocations: 14.14 MB / 1.267 GB, free: 73.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.267e-05/4.94, allocations: 0 / 1.267 GB, free: 73.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02485/4.965, allocations: 6.153 MB / 1.273 GB, free: 70.72 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01682/4.982, allocations: 1.329 MB / 1.274 GB, free: 70.17 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/5.098, allocations: 28.25 MB / 1.301 GB, free: 46.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02206/5.12, allocations: 8.164 MB / 1.309 GB, free: 40.29 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01615/5.136, allocations: 5.89 MB / 1.315 GB, free: 34.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.314e-06/5.136, allocations: 2.438 kB / 1.315 GB, free: 34.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.919/14.06, allocations: 407.5 MB / 1.713 GB, free: 101.8 MB / 0.6355 GB