Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270.1 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.407e-05/4.415e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6418, allocations: 102.7 MB / 0.5011 GB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.6422, allocations: 80.95 kB / 0.5012 GB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2183/0.8605, allocations: 53.72 MB / 0.5536 GB, free: 11.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.8606, allocations: 4 kB / 0.5536 GB, free: 11.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001448/0.8607, allocations: 52 kB / 0.5537 GB, free: 11.04 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.009743/0.8705, allocations: 2.515 MB / 0.5561 GB, free: 8.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.8706, allocations: 12.03 kB / 0.5561 GB, free: 8.461 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00255/0.8731, allocations: 0.5231 MB / 0.5566 GB, free: 7.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/0.8874, allocations: 1.79 MB / 0.5584 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.8934, allocations: 1.676 MB / 0.56 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.8937, allocations: 213.5 kB / 0.5602 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.8951, allocations: 271.9 kB / 0.5605 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.9145, allocations: 6.234 MB / 0.5666 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.9146, allocations: 11.88 kB / 0.5666 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009066/0.9155, allocations: 123.9 kB / 0.5667 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.917, allocations: 0.6372 MB / 0.5673 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.9347, allocations: 5.344 MB / 0.5726 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/0.982, allocations: 22.13 MB / 0.5942 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.9893, allocations: 2.058 MB / 0.5962 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.991, allocations: 0.676 MB / 0.5968 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/1.001, allocations: 3.527 MB / 0.6003 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.001, allocations: 39 kB / 0.6003 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.339e-06/1.001, allocations: 0 / 0.6003 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.008356/1.01, allocations: 1.585 MB / 0.6019 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.01, allocations: 55.84 kB / 0.6019 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/1.014, allocations: 1.726 MB / 0.6036 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/1.014, allocations: 33.7 kB / 0.6036 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/1.016, allocations: 1.883 MB / 0.6055 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/1.017, allocations: 316 kB / 0.6058 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/1.017, allocations: 56 kB / 0.6058 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004379/1.017, allocations: 497 kB / 0.6063 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.019, allocations: 0.8296 MB / 0.6071 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3741/1.394, allocations: 2.666 MB / 0.6097 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/1.398, allocations: 1.521 MB / 0.6112 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.803e-05/1.398, allocations: 22.88 kB / 0.6112 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01092/1.409, allocations: 3.225 MB / 0.6144 GB, free: 141 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/1.409, allocations: 34.09 kB / 0.6144 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.409, allocations: 66.98 kB / 0.6145 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/1.409, allocations: 97.94 kB / 0.6146 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004065/1.413, allocations: 0.6591 MB / 0.6152 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001623/1.414, allocations: 130.2 kB / 0.6153 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.417, allocations: 415 kB / 0.6157 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005413/1.417, allocations: 184.5 kB / 0.6159 GB, free: 140.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000585/1.418, allocations: 340.8 kB / 0.6162 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/1.418, allocations: 156.2 kB / 0.6164 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/1.419, allocations: 203.1 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.419, allocations: 8.734 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.419, allocations: 1.797 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.419, allocations: 3.094 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.43, allocations: 4.135 MB / 0.6206 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.43, allocations: 5.156 kB / 0.6206 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/1.431, allocations: 99.64 kB / 0.6207 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/1.431, allocations: 11.45 kB / 0.6207 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/1.431, allocations: 18.42 kB / 0.6207 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/1.431, allocations: 12.58 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.431, allocations: 10.19 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/1.434, allocations: 1.645 MB / 0.6224 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/1.434, allocations: 262.1 kB / 0.6226 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/1.435, allocations: 18.95 kB / 0.6226 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/1.436, allocations: 31.86 kB / 0.6227 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.436, allocations: 56.48 kB / 0.6227 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/1.436, allocations: 27.98 kB / 0.6228 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003108/1.439, allocations: 1.254 MB / 0.624 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.92e-07/1.439, allocations: 0 / 0.624 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004119/1.443, allocations: 0.7139 MB / 0.6247 GB, free: 138.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003412/1.447, allocations: 3.773 MB / 0.6284 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005034/1.452, allocations: 1.865 MB / 0.6302 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.452, allocations: 1.281 kB / 0.6302 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009939/1.453, allocations: 450 kB / 0.6306 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.455, allocations: 220.8 kB / 0.6308 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.471, allocations: 4.99 MB / 0.6357 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004332/1.475, allocations: 2.376 MB / 0.638 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003989/1.479, allocations: 0.9605 MB / 0.639 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/1.482, allocations: 1.058 MB / 0.64 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.075e-06/1.482, allocations: 0 / 0.64 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.585, allocations: 36.83 MB / 0.676 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.585, allocations: 156.9 kB / 0.6761 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/5.054, allocations: 0 / 0.6761 GB, free: 124.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat