Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.824e-05, allocations: 11.17 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5631/0.7005, allocations: 110.2 MB / 0.5084 GB, free: 9.699 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.7008, allocations: 79.94 kB / 0.5085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4014/1.102, allocations: 83.81 MB / 0.5903 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.04e-06/1.102, allocations: 4 kB / 0.5903 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002735/1.103, allocations: 72 kB / 0.5904 GB, free: 5.281 MB / 0.4948 GB 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.01617/1.119, allocations: 3.806 MB / 0.5941 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/1.119, allocations: 12.03 kB / 0.5941 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003556/1.122, allocations: 0.7415 MB / 0.5948 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03405/1.157, allocations: 4.347 MB / 0.5991 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/1.176, allocations: 4.398 MB / 0.6034 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004637/1.176, allocations: 308.3 kB / 0.6037 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/1.179, allocations: 415.8 kB / 0.6041 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3907/1.569, allocations: 9.46 MB / 0.6133 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006228/1.57, allocations: 62.72 kB / 0.6134 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003171/1.573, allocations: 203 kB / 0.6136 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/1.577, allocations: 0.8459 MB / 0.6144 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03598/1.613, allocations: 7.309 MB / 0.6215 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08713/1.7, allocations: 43.21 MB / 0.6637 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.71, allocations: 2.329 MB / 0.666 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/1.714, allocations: 1.146 MB / 0.6671 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/1.714, allocations: 327.8 kB / 0.6674 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/1.715, allocations: 50.56 kB / 0.6675 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 8.186e-06/1.715, allocations: 0 / 0.6675 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=140): time 0.0433/1.758, allocations: 8.654 MB / 0.6759 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.758, allocations: 200 kB / 0.6761 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0099/1.768, allocations: 3.179 MB / 0.6792 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.768, allocations: 48.47 kB / 0.6793 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/1.772, allocations: 2.973 MB / 0.6822 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.773, allocations: 0.5538 MB / 0.6827 GB, free: 80.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000886/1.774, allocations: 109.8 kB / 0.6828 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007151/1.775, allocations: 0.5247 MB / 0.6833 GB, free: 80.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/1.781, allocations: 1.582 MB / 0.6849 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008782/1.79, allocations: 4.96 MB / 0.6897 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008441/1.798, allocations: 2.805 MB / 0.6925 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/1.798, allocations: 33.84 kB / 0.6925 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.02342/1.822, allocations: 6.168 MB / 0.6985 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.822, allocations: 62.14 kB / 0.6986 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/1.822, allocations: 121.8 kB / 0.6987 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.824, allocations: 378.4 kB / 0.6991 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009737/1.834, allocations: 1.236 MB / 0.7003 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/1.841, allocations: 2.976 MB / 0.7032 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008725/1.85, allocations: 297.7 kB / 0.7035 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/1.851, allocations: 348.4 kB / 0.7038 GB, free: 69.36 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.002499/1.854, allocations: 0.5112 MB / 0.7043 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.855, allocations: 311.1 kB / 0.7046 GB, free: 68.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/1.862, allocations: 1.663 MB / 0.7062 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/1.862, allocations: 16.34 kB / 0.7062 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.862, allocations: 9.109 kB / 0.7062 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-05/1.862, allocations: 7.219 kB / 0.7062 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.887, allocations: 5.627 MB / 0.7117 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/1.887, allocations: 2.078 kB / 0.7117 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.89, allocations: 230 kB / 0.712 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/1.891, allocations: 178.4 kB / 0.7121 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.892, allocations: 26.77 kB / 0.7122 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/1.897, allocations: 2.546 MB / 0.7146 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.898, allocations: 3.953 kB / 0.7146 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.909, allocations: 3.673 MB / 0.7182 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/1.911, allocations: 362.1 kB / 0.7186 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.912, allocations: 19.81 kB / 0.7186 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/1.916, allocations: 77.41 kB / 0.7187 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007346/1.917, allocations: 98.81 kB / 0.7188 GB, free: 62.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002834/1.917, allocations: 43.5 kB / 0.7188 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008454/1.925, allocations: 2.195 MB / 0.7209 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.463e-06/1.925, allocations: 0 / 0.7209 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01026/1.936, allocations: 0.8582 MB / 0.7218 GB, free: 61.31 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.01043/1.946, allocations: 4.493 MB / 0.7262 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009164/1.955, allocations: 3.708 MB / 0.7298 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.956, allocations: 0 / 0.7298 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/1.958, allocations: 1.057 MB / 0.7308 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/1.962, allocations: 396.1 kB / 0.7312 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/1.989, allocations: 7.88 MB / 0.7389 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007322/1.996, allocations: 3.24 MB / 0.7421 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008514/2.005, allocations: 1.73 MB / 0.7438 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004297/2.009, allocations: 1.757 MB / 0.7455 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.515e-06/2.009, allocations: 0 / 0.7455 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6102/2.619, allocations: 64.95 MB / 0.8089 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/2.62, allocations: 182.9 kB / 0.8091 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/8.09, allocations: 0 / 0.8091 GB, free: 106.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat