Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.625/2.625, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.162e-05/4.167e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4315, allocations: 61.86 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.6322, allocations: 109 MB / 0.5057 GB, free: 13.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.6326, allocations: 79.95 kB / 0.5058 GB, free: 13.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8351/1.468, allocations: 126.3 MB / 0.6292 GB, free: 10.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.468, allocations: 8 kB / 0.6292 GB, free: 10.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004258/1.468, allocations: 128 kB / 0.6293 GB, free: 10.38 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02605/1.494, allocations: 6.362 MB / 0.6355 GB, free: 3.934 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.494, allocations: 8.031 kB / 0.6355 GB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005161/1.499, allocations: 1.112 MB / 0.6366 GB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05345/1.553, allocations: 7.074 MB / 0.6435 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.581, allocations: 6.957 MB / 0.6503 GB, free: 4.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007613/1.582, allocations: 480.5 kB / 0.6508 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003735/1.585, allocations: 0.6169 MB / 0.6514 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/1.639, allocations: 15.54 MB / 0.6666 GB, free: 2.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005189/1.64, allocations: 95.12 kB / 0.6667 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003294/1.643, allocations: 299.9 kB / 0.6669 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003814/1.647, allocations: 1.47 MB / 0.6684 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0456/1.693, allocations: 12.34 MB / 0.6804 GB, free: 4.371 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5246/2.217, allocations: 70.62 MB / 0.7494 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03155/2.249, allocations: 7.088 MB / 0.7563 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006938/2.256, allocations: 3.559 MB / 0.7598 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02228/2.278, allocations: 8.798 MB / 0.7684 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/2.278, allocations: 65.23 kB / 0.7684 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 7.504e-06/2.278, allocations: 0 / 0.7684 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.1236/2.402, allocations: 26.42 MB / 0.7942 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/2.402, allocations: 239 kB / 0.7945 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/2.418, allocations: 5.871 MB / 0.8002 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000868/2.419, allocations: 68.73 kB / 0.8003 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004187/2.423, allocations: 4.306 MB / 0.8045 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/2.425, allocations: 1.094 MB / 0.8055 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/2.426, allocations: 167.2 kB / 0.8057 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006506/2.427, allocations: 0.6697 MB / 0.8064 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008366/2.435, allocations: 3.223 MB / 0.8095 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/2.447, allocations: 8.172 MB / 0.8175 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/2.458, allocations: 5.099 MB / 0.8225 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/2.459, allocations: 48.53 kB / 0.8225 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.03466/2.493, allocations: 11.95 MB / 0.8342 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.493, allocations: 80 kB / 0.8342 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/2.494, allocations: 176 kB / 0.8344 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007255/2.501, allocations: 1.672 MB / 0.836 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.514, allocations: 2.003 MB / 0.838 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/2.536, allocations: 11.2 MB / 0.8489 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.547, allocations: 0.4917 MB / 0.8494 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/2.549, allocations: 0.5123 MB / 0.8499 GB, free: 15.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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 (1031): * Single equations (assignments): 1026 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003769/2.553, allocations: 0.7566 MB / 0.8507 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.554, allocations: 0.563 MB / 0.8512 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/2.574, allocations: 6.225 MB / 0.8573 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/2.574, allocations: 28 kB / 0.8573 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/2.574, allocations: 12 kB / 0.8573 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.406e-05/2.574, allocations: 10.55 kB / 0.8573 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04946/2.623, allocations: 14.44 MB / 0.8714 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.131e-05/2.623, allocations: 4 kB / 0.8715 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005641/2.629, allocations: 0.5307 MB / 0.872 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006901/2.636, allocations: 1.401 MB / 0.8733 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007762/2.637, allocations: 55.7 kB / 0.8734 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/2.661, allocations: 10.42 MB / 0.8836 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/2.661, allocations: 10.77 kB / 0.8836 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02991/2.691, allocations: 10.97 MB / 0.8943 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/2.693, allocations: 0.6419 MB / 0.8949 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/2.696, allocations: 48 kB / 0.895 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005901/2.702, allocations: 191.7 kB / 0.8951 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.703, allocations: 184.6 kB / 0.8953 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/2.703, allocations: 75.98 kB / 0.8954 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01609/2.72, allocations: 4.193 MB / 0.8995 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.854e-06/2.72, allocations: 0 / 0.8995 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01836/2.738, allocations: 1.548 MB / 0.901 GB, free: 2.176 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03916/2.777, allocations: 12.35 MB / 0.9131 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02121/2.799, allocations: 7.772 MB / 0.9206 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.799, allocations: 4 kB / 0.9206 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/2.809, allocations: 3.111 MB / 0.9237 GB, free: 10.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006497/2.815, allocations: 0.6997 MB / 0.9244 GB, free: 10.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4405/3.256, allocations: 15.18 MB / 0.9392 GB, free: 158.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/3.267, allocations: 4.758 MB / 0.9438 GB, free: 157.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008273/3.275, allocations: 3.082 MB / 0.9468 GB, free: 157.8 MB / 0.573 GB Notification: Performance of SimCode: time 2.044e-06/3.275, allocations: 0 / 0.9468 GB, free: 157.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.605/8.881, allocations: 176.3 MB / 1.119 GB, free: 37.71 MB / 0.573 GB