Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",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.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.987e-05, allocations: 3.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1397, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/0.6703, allocations: 102.8 MB / 0.5011 GB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6706, allocations: 77.34 kB / 0.5012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.224/0.8946, allocations: 53.73 MB / 0.5536 GB, free: 11.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.8947, allocations: 0 / 0.5536 GB, free: 11.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001517/0.8949, allocations: 56 kB / 0.5537 GB, free: 11 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.009077/0.9039, allocations: 2.523 MB / 0.5562 GB, free: 8.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.904, allocations: 12.03 kB / 0.5562 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/0.9066, allocations: 0.5153 MB / 0.5567 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.9207, allocations: 1.798 MB / 0.5584 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.927, allocations: 1.68 MB / 0.5601 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.9275, allocations: 205.5 kB / 0.5603 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/0.9292, allocations: 267.9 kB / 0.5605 GB, free: 3.895 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.949, allocations: 6.227 MB / 0.5666 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.9491, allocations: 23.81 kB / 0.5666 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.9502, allocations: 127.9 kB / 0.5667 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/0.9517, allocations: 0.6372 MB / 0.5674 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.9693, allocations: 5.337 MB / 0.5726 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04684/1.016, allocations: 22.13 MB / 0.5942 GB, free: 412 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007428/1.024, allocations: 2.062 MB / 0.5962 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/1.026, allocations: 0.676 MB / 0.5969 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/1.036, allocations: 3.523 MB / 0.6003 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.036, allocations: 43 kB / 0.6004 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 7.223e-06/1.036, allocations: 0 / 0.6004 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.0086/1.045, allocations: 1.585 MB / 0.6019 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.045, allocations: 55.84 kB / 0.602 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/1.049, allocations: 1.722 MB / 0.6036 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/1.049, allocations: 37.69 kB / 0.6037 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/1.051, allocations: 1.883 MB / 0.6055 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/1.052, allocations: 308.1 kB / 0.6058 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/1.052, allocations: 55.98 kB / 0.6059 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00049/1.052, allocations: 0.4892 MB / 0.6063 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/1.055, allocations: 0.8374 MB / 0.6072 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3598/1.414, allocations: 2.659 MB / 0.6097 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/1.419, allocations: 1.528 MB / 0.6112 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.941e-05/1.419, allocations: 18.88 kB / 0.6113 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.009833/1.429, allocations: 3.23 MB / 0.6144 GB, free: 141 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/1.429, allocations: 34.11 kB / 0.6144 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.429, allocations: 66.5 kB / 0.6145 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/1.429, allocations: 99.53 kB / 0.6146 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.433, allocations: 0.6587 MB / 0.6152 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001755/1.433, allocations: 129.5 kB / 0.6154 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/1.437, allocations: 406.9 kB / 0.6158 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007268/1.437, allocations: 184.6 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.0006122/1.438, allocations: 340.7 kB / 0.6163 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/1.438, allocations: 158.9 kB / 0.6164 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/1.439, allocations: 204.6 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/1.439, allocations: 12.77 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.439, allocations: 1.953 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.439, allocations: 2.812 kB / 0.6166 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/1.451, allocations: 4.132 MB / 0.6207 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.451, allocations: 6.219 kB / 0.6207 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/1.452, allocations: 103.1 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/1.452, allocations: 9.828 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/1.452, allocations: 17.34 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/1.452, allocations: 14.55 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.452, allocations: 10.28 kB / 0.6208 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/1.454, allocations: 1.644 MB / 0.6224 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/1.455, allocations: 256.1 kB / 0.6227 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/1.455, allocations: 26.03 kB / 0.6227 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/1.456, allocations: 26.83 kB / 0.6227 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.457, allocations: 54.42 kB / 0.6228 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/1.457, allocations: 28.42 kB / 0.6228 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003274/1.46, allocations: 1.253 MB / 0.624 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.143e-06/1.46, allocations: 1.156 kB / 0.624 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004158/1.464, allocations: 0.7121 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.003391/1.468, allocations: 3.773 MB / 0.6284 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004874/1.473, allocations: 1.863 MB / 0.6302 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.473, allocations: 1.219 kB / 0.6302 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.474, allocations: 449.6 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.00201/1.476, allocations: 225.6 kB / 0.6309 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.493, allocations: 4.991 MB / 0.6357 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/1.498, allocations: 2.375 MB / 0.6381 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004447/1.503, allocations: 0.9644 MB / 0.639 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/1.506, allocations: 1.052 MB / 0.64 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.734e-06/1.506, allocations: 0 / 0.64 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/1.623, allocations: 36.83 MB / 0.676 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/1.623, allocations: 153.1 kB / 0.6761 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/5.131, 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.CutForce3_res.mat does not exist to compare? outputFormat=mat