Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 270 MB / 282.6 MB, free: 1.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.803e-05, allocations: 4 kB / 347.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4048, allocations: 61.87 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.6178, allocations: 110.2 MB / 0.507 GB, free: 12.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.6182, allocations: 79.97 kB / 0.5071 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7078/1.326, allocations: 83.8 MB / 0.5889 GB, free: 52.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.326, allocations: 0 / 0.5889 GB, free: 52.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003378/1.326, allocations: 76 kB / 0.589 GB, free: 52.14 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.02/1.346, allocations: 3.814 MB / 0.5927 GB, free: 48.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/1.347, allocations: 11.97 kB / 0.5927 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004473/1.351, allocations: 0.7415 MB / 0.5934 GB, free: 47.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03184/1.383, allocations: 4.351 MB / 0.5977 GB, free: 43.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/1.403, allocations: 4.386 MB / 0.602 GB, free: 38.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004088/1.403, allocations: 312.3 kB / 0.6023 GB, free: 38.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/1.406, allocations: 419.8 kB / 0.6027 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/1.43, allocations: 9.463 MB / 0.6119 GB, free: 27.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/1.43, allocations: 63.45 kB / 0.612 GB, free: 27.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.431, allocations: 199.9 kB / 0.6122 GB, free: 27.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/1.433, allocations: 0.854 MB / 0.613 GB, free: 26.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/1.453, allocations: 7.305 MB / 0.6201 GB, free: 19.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06338/1.516, allocations: 43.21 MB / 0.6623 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008262/1.525, allocations: 2.322 MB / 0.6646 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/1.528, allocations: 1.156 MB / 0.6657 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/1.528, allocations: 327.7 kB / 0.666 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.528, allocations: 47.12 kB / 0.6661 GB, free: 2.344 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 4.97e-06/1.528, allocations: 0 / 0.6661 GB, free: 2.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=140): time 0.03318/1.561, allocations: 8.659 MB / 0.6745 GB, free: 9.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.562, allocations: 204.5 kB / 0.6747 GB, free: 9.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/1.57, allocations: 3.173 MB / 0.6778 GB, free: 6.145 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.57, allocations: 45.7 kB / 0.6779 GB, free: 6.094 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.573, allocations: 2.923 MB / 0.6807 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009687/1.574, allocations: 0.5517 MB / 0.6813 GB, free: 2.574 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/1.575, allocations: 104 kB / 0.6814 GB, free: 2.473 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000472/1.575, allocations: 0.5261 MB / 0.6819 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/1.58, allocations: 1.584 MB / 0.6834 GB, free: 356 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/1.587, allocations: 4.959 MB / 0.6883 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006693/1.594, allocations: 2.806 MB / 0.691 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.075e-05/1.594, allocations: 36 kB / 0.691 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01864/1.613, allocations: 6.06 MB / 0.697 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.613, allocations: 60.12 kB / 0.697 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002008/1.613, allocations: 128 kB / 0.6971 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.614, allocations: 374.3 kB / 0.6975 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008071/1.622, allocations: 1.24 MB / 0.6987 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/1.628, allocations: 2.986 MB / 0.7016 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/1.634, allocations: 299.7 kB / 0.7019 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.635, allocations: 336 kB / 0.7022 GB, free: 11.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (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],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (655): * Single equations (assignments): 651 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001375/1.637, allocations: 0.5217 MB / 0.7027 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/1.638, allocations: 304 kB / 0.703 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/1.643, allocations: 1.659 MB / 0.7047 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/1.643, allocations: 16 kB / 0.7047 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.643, allocations: 7.938 kB / 0.7047 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.643, allocations: 7.969 kB / 0.7047 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.662, allocations: 5.635 MB / 0.7102 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.662, allocations: 0 / 0.7102 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.664, allocations: 231.6 kB / 0.7104 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009739/1.665, allocations: 180.7 kB / 0.7106 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/1.665, allocations: 19.98 kB / 0.7106 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3808/2.046, allocations: 2.549 MB / 0.7131 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.046, allocations: 0 / 0.7131 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009434/2.056, allocations: 3.666 MB / 0.7167 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/2.057, allocations: 358.5 kB / 0.717 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006643/2.057, allocations: 25.48 kB / 0.717 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/2.06, allocations: 85.7 kB / 0.7171 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/2.06, allocations: 99.16 kB / 0.7172 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/2.06, allocations: 37.16 kB / 0.7172 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005197/2.065, allocations: 2.2 MB / 0.7194 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.82e-07/2.065, allocations: 0 / 0.7194 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0063/2.072, allocations: 0.8599 MB / 0.7202 GB, free: 128.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008295/2.08, allocations: 4.482 MB / 0.7246 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008793/2.089, allocations: 3.718 MB / 0.7282 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/2.089, allocations: 3.062 kB / 0.7282 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002274/2.091, allocations: 1.053 MB / 0.7293 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/2.094, allocations: 384 kB / 0.7296 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/2.121, allocations: 8.338 MB / 0.7378 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006763/2.128, allocations: 3.243 MB / 0.7409 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004224/2.132, allocations: 1.793 MB / 0.7427 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.883e-06/2.132, allocations: 0 / 0.7427 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.066/6.198, allocations: 90.1 MB / 0.8307 GB, free: 61.34 MB / 0.5105 GB