Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.241e-05/5.246e-05, allocations: 4 kB / 348.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 61.9 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5236/0.7055, allocations: 102.8 MB / 0.5011 GB, free: 1.227 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.7059, allocations: 75.95 kB / 0.5012 GB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2516/0.9575, allocations: 53.72 MB / 0.5536 GB, free: 11.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.9575, allocations: 0 / 0.5536 GB, free: 11.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.9577, allocations: 63.98 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.008903/0.9666, allocations: 2.515 MB / 0.5561 GB, free: 8.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.9667, allocations: 8.031 kB / 0.5562 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/0.9688, allocations: 0.5231 MB / 0.5567 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.9826, allocations: 1.798 MB / 0.5584 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/0.9889, allocations: 1.676 MB / 0.5601 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.9893, allocations: 205.5 kB / 0.5603 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.991, allocations: 271.9 kB / 0.5605 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/1.012, allocations: 6.231 MB / 0.5666 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.399e-05/1.013, allocations: 19.81 kB / 0.5666 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008927/1.014, allocations: 119.9 kB / 0.5667 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/1.016, allocations: 0.6372 MB / 0.5674 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/1.043, allocations: 5.341 MB / 0.5726 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05231/1.095, allocations: 22.13 MB / 0.5942 GB, free: 456 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/1.102, allocations: 2.065 MB / 0.5962 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/1.104, allocations: 0.6799 MB / 0.5969 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/1.114, allocations: 3.53 MB / 0.6003 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.114, allocations: 39 kB / 0.6003 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.959e-06/1.115, allocations: 0 / 0.6003 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.008629/1.123, allocations: 1.577 MB / 0.6019 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.123, allocations: 59.84 kB / 0.6019 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/1.127, allocations: 1.719 MB / 0.6036 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/1.127, allocations: 37.7 kB / 0.6037 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.129, allocations: 1.875 MB / 0.6055 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/1.13, allocations: 320 kB / 0.6058 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/1.13, allocations: 60 kB / 0.6058 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000447/1.131, allocations: 497 kB / 0.6063 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.133, allocations: 0.8296 MB / 0.6071 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.354/1.487, allocations: 2.663 MB / 0.6097 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/1.491, allocations: 1.525 MB / 0.6112 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.492, allocations: 23.25 kB / 0.6112 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01049/1.502, allocations: 3.223 MB / 0.6144 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.608e-05/1.502, allocations: 33.56 kB / 0.6144 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/1.502, allocations: 67.47 kB / 0.6145 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001731/1.503, allocations: 100.9 kB / 0.6146 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.507, allocations: 0.6597 MB / 0.6152 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002116/1.507, allocations: 130.8 kB / 0.6154 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/1.511, allocations: 410.4 kB / 0.6157 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008618/1.512, allocations: 183.6 kB / 0.6159 GB, free: 141 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.0007829/1.512, allocations: 341.4 kB / 0.6162 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005039/1.513, allocations: 156.2 kB / 0.6164 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/1.514, allocations: 204.8 kB / 0.6166 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/1.514, allocations: 9.984 kB / 0.6166 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.514, allocations: 0.8594 kB / 0.6166 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.514, allocations: 3.797 kB / 0.6166 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/1.526, allocations: 4.128 MB / 0.6206 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.526, allocations: 6.562 kB / 0.6206 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/1.526, allocations: 99.34 kB / 0.6207 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.391e-05/1.527, allocations: 12.34 kB / 0.6207 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/1.527, allocations: 22.34 kB / 0.6208 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-05/1.527, allocations: 14.36 kB / 0.6208 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.527, allocations: 10.75 kB / 0.6208 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/1.529, allocations: 1.644 MB / 0.6224 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/1.53, allocations: 263.8 kB / 0.6227 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/1.53, allocations: 21.22 kB / 0.6227 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/1.531, allocations: 29.42 kB / 0.6227 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.531, allocations: 49.58 kB / 0.6227 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/1.531, allocations: 33.75 kB / 0.6228 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002969/1.534, allocations: 1.256 MB / 0.624 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/1.534, allocations: 0 / 0.624 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004137/1.539, allocations: 0.709 MB / 0.6247 GB, free: 138.7 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.003671/1.542, allocations: 3.774 MB / 0.6284 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005202/1.548, allocations: 1.866 MB / 0.6302 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.548, allocations: 0 / 0.6302 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.549, allocations: 450.1 kB / 0.6306 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.551, allocations: 227.3 kB / 0.6309 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.57, allocations: 4.994 MB / 0.6357 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005109/1.575, allocations: 2.371 MB / 0.638 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004288/1.579, allocations: 0.9675 MB / 0.639 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/1.581, allocations: 1.053 MB / 0.64 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/1.582, allocations: 0 / 0.64 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09831/1.68, allocations: 36.82 MB / 0.676 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.68, allocations: 157 kB / 0.6761 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/5.391, allocations: 4 kB / 0.6761 GB, free: 124.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat does not exist to compare? outputFormat=mat