Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.602e-05/4.624e-05, allocations: 4 kB / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4038, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.6008, allocations: 110.2 MB / 0.5084 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.6011, allocations: 75.95 kB / 0.5085 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6778/1.279, allocations: 83.81 MB / 0.5903 GB, free: 51.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.279, allocations: 0 / 0.5903 GB, free: 51.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002564/1.279, allocations: 84.12 kB / 0.5904 GB, free: 51.8 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.01398/1.293, allocations: 3.806 MB / 0.5941 GB, free: 47.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.293, allocations: 8.031 kB / 0.5941 GB, free: 47.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003171/1.297, allocations: 0.7493 MB / 0.5949 GB, free: 47.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/1.328, allocations: 4.347 MB / 0.5991 GB, free: 42.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/1.344, allocations: 4.386 MB / 0.6034 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/1.344, allocations: 320.2 kB / 0.6037 GB, free: 38.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002089/1.347, allocations: 415.8 kB / 0.6041 GB, free: 37.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/1.37, allocations: 9.463 MB / 0.6133 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.371, allocations: 55.47 kB / 0.6134 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001527/1.372, allocations: 203.9 kB / 0.6136 GB, free: 26.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/1.374, allocations: 0.8462 MB / 0.6144 GB, free: 26.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/1.393, allocations: 7.317 MB / 0.6215 GB, free: 18.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/1.455, allocations: 43.2 MB / 0.6637 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/1.464, allocations: 2.338 MB / 0.666 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/1.466, allocations: 1.145 MB / 0.6671 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/1.467, allocations: 323.7 kB / 0.6674 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.467, allocations: 55.11 kB / 0.6675 GB, free: 2.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 5.421e-06/1.467, allocations: 0 / 0.6675 GB, free: 2.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=140): time 0.03441/1.502, allocations: 8.659 MB / 0.6759 GB, free: 9.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.502, allocations: 200.6 kB / 0.6761 GB, free: 8.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008395/1.51, allocations: 3.177 MB / 0.6792 GB, free: 5.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000339/1.511, allocations: 41.7 kB / 0.6793 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003435/1.514, allocations: 2.977 MB / 0.6822 GB, free: 2.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.515, allocations: 0.5556 MB / 0.6827 GB, free: 2.184 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/1.516, allocations: 104 kB / 0.6828 GB, free: 2.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005705/1.516, allocations: 0.5253 MB / 0.6833 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004693/1.521, allocations: 1.58 MB / 0.6849 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007879/1.529, allocations: 4.967 MB / 0.6897 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/1.536, allocations: 2.813 MB / 0.6925 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.536, allocations: 36 kB / 0.6925 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01913/1.556, allocations: 6.156 MB / 0.6985 GB, free: 260 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/1.556, allocations: 56 kB / 0.6986 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000223/1.556, allocations: 120 kB / 0.6987 GB, free: 84 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/1.558, allocations: 373 kB / 0.6991 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007947/1.566, allocations: 1.244 MB / 0.7003 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/1.572, allocations: 2.987 MB / 0.7032 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/1.577, allocations: 295.7 kB / 0.7035 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.579, allocations: 340 kB / 0.7038 GB, free: 10.73 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.00151/1.58, allocations: 0.5214 MB / 0.7043 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009187/1.581, allocations: 308 kB / 0.7046 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005671/1.587, allocations: 1.655 MB / 0.7062 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.295e-05/1.587, allocations: 16 kB / 0.7062 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.587, allocations: 7.938 kB / 0.7062 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.587, allocations: 7.984 kB / 0.7062 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.606, allocations: 5.642 MB / 0.7118 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.607, allocations: 0 / 0.7118 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/1.609, allocations: 228.1 kB / 0.712 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009692/1.61, allocations: 180.6 kB / 0.7121 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/1.61, allocations: 27.98 kB / 0.7122 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3806/1.991, allocations: 2.541 MB / 0.7147 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.991, allocations: 1.188 kB / 0.7147 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/2.005, allocations: 3.676 MB / 0.7182 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/2.006, allocations: 355.1 kB / 0.7186 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/2.007, allocations: 22.72 kB / 0.7186 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/2.011, allocations: 83.61 kB / 0.7187 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006399/2.012, allocations: 100.5 kB / 0.7188 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/2.012, allocations: 41.56 kB / 0.7188 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007764/2.02, allocations: 2.198 MB / 0.721 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.764e-06/2.02, allocations: 0 / 0.721 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009534/2.029, allocations: 0.8577 MB / 0.7218 GB, free: 127.4 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.01203/2.041, allocations: 4.487 MB / 0.7262 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01266/2.054, allocations: 3.71 MB / 0.7298 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.054, allocations: 0 / 0.7298 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/2.057, allocations: 1.057 MB / 0.7308 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/2.061, allocations: 391.3 kB / 0.7312 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/2.087, allocations: 7.864 MB / 0.7389 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006833/2.094, allocations: 3.246 MB / 0.7421 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008315/2.102, allocations: 1.727 MB / 0.7437 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004559/2.107, allocations: 1.753 MB / 0.7455 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.933e-06/2.107, allocations: 0 / 0.7455 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2312/2.338, allocations: 64.97 MB / 0.8089 GB, free: 84.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/2.339, allocations: 182.2 kB / 0.8091 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.24/7.579, allocations: 0 / 0.8091 GB, free: 84.44 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat