Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.896e-05, allocations: 7.938 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 61.87 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.6231, allocations: 105.9 MB / 0.5041 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6235, allocations: 71.97 kB / 0.5042 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9779/1.601, allocations: 151.3 MB / 0.652 GB, free: 4.059 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.601, allocations: 4 kB / 0.652 GB, free: 4.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005555/1.602, allocations: 144 kB / 0.6521 GB, free: 3.914 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03317/1.635, allocations: 7.358 MB / 0.6593 GB, free: 12.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.635, allocations: 12.03 kB / 0.6593 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007012/1.642, allocations: 1.301 MB / 0.6606 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/1.675, allocations: 3.527 MB / 0.664 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/1.711, allocations: 8.759 MB / 0.6726 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/1.712, allocations: 0.5654 MB / 0.6732 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004783/1.717, allocations: 0.7457 MB / 0.6739 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06451/1.781, allocations: 17.42 MB / 0.6909 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000624/1.782, allocations: 83.22 kB / 0.691 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004127/1.786, allocations: 355.8 kB / 0.6913 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005156/1.791, allocations: 1.629 MB / 0.6929 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05166/1.843, allocations: 13.12 MB / 0.7057 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8724/2.715, allocations: 74.59 MB / 0.7786 GB, free: 41.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02643/2.742, allocations: 5.417 MB / 0.7838 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/2.747, allocations: 2.076 MB / 0.7859 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02829/2.775, allocations: 9.969 MB / 0.7956 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/2.776, allocations: 51.94 kB / 0.7957 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 6.151e-06/2.776, allocations: 2.406 kB / 0.7957 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.06255/2.838, allocations: 13.36 MB / 0.8087 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/2.838, allocations: 149.5 kB / 0.8088 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/2.859, allocations: 5.508 MB / 0.8142 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005484/2.859, allocations: 54.86 kB / 0.8143 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005845/2.865, allocations: 5.307 MB / 0.8195 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/2.866, allocations: 0.8193 MB / 0.8203 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009787/2.867, allocations: 160.9 kB / 0.8204 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007775/2.868, allocations: 0.6505 MB / 0.821 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/2.874, allocations: 2.087 MB / 0.8231 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/2.886, allocations: 7.363 MB / 0.8303 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/2.898, allocations: 3.889 MB / 0.8341 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002738/2.898, allocations: 56.03 kB / 0.8341 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.03156/2.93, allocations: 8.616 MB / 0.8425 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/2.93, allocations: 89.38 kB / 0.8426 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000332/2.93, allocations: 189.5 kB / 0.8428 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/2.931, allocations: 277.1 kB / 0.8431 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/2.946, allocations: 1.986 MB / 0.845 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/2.947, allocations: 378.7 kB / 0.8454 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/2.963, allocations: 0.5699 MB / 0.8459 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/2.965, allocations: 0.502 MB / 0.8464 GB, free: 16.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1031): * Single equations (assignments): 1028 * 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.00263/2.967, allocations: 0.7718 MB / 0.8472 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/2.969, allocations: 0.54 MB / 0.8477 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/2.972, allocations: 0.6481 MB / 0.8483 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-05/2.972, allocations: 21.91 kB / 0.8483 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/2.972, allocations: 2.344 kB / 0.8484 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/2.972, allocations: 10.36 kB / 0.8484 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0519/3.024, allocations: 16.54 MB / 0.8645 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001062/3.024, allocations: 39.89 kB / 0.8646 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/3.028, allocations: 382.2 kB / 0.8649 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/3.028, allocations: 52 kB / 0.865 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003903/3.028, allocations: 82.72 kB / 0.865 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-05/3.028, allocations: 74.5 kB / 0.8651 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-05/3.029, allocations: 55.75 kB / 0.8652 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/3.043, allocations: 10.37 MB / 0.8753 GB, free: 8.121 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/3.047, allocations: 0.62 MB / 0.8759 GB, free: 7.504 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/3.048, allocations: 90.88 kB / 0.876 GB, free: 7.426 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/3.052, allocations: 164.1 kB / 0.8761 GB, free: 7.301 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007442/3.053, allocations: 256.2 kB / 0.8764 GB, free: 7.098 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000252/3.053, allocations: 107.7 kB / 0.8765 GB, free: 6.996 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01111/3.065, allocations: 3.852 MB / 0.8803 GB, free: 3.609 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.143e-06/3.065, allocations: 0 / 0.8803 GB, free: 3.609 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01105/3.076, allocations: 1.365 MB / 0.8816 GB, free: 2.25 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.01694/3.093, allocations: 18.37 MB / 0.8995 GB, free: 15.39 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01314/3.106, allocations: 4.729 MB / 0.9041 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.571e-05/3.106, allocations: 4 kB / 0.9042 GB, free: 11.11 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/3.109, allocations: 1.057 MB / 0.9052 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006664/3.115, allocations: 0.8246 MB / 0.906 GB, free: 9.488 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05111/3.167, allocations: 14.75 MB / 0.9204 GB, free: 12.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01392/3.181, allocations: 5.387 MB / 0.9257 GB, free: 8.145 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01278/3.193, allocations: 2.568 MB / 0.9282 GB, free: 6.539 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008306/3.202, allocations: 3.415 MB / 0.9315 GB, free: 3.363 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/3.202, allocations: 0 / 0.9315 GB, free: 3.363 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6924/3.894, allocations: 108.1 MB / 1.037 GB, free: 108.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/3.894, allocations: 148.1 kB / 1.037 GB, free: 108.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/10.76, allocations: 0 / 1.037 GB, free: 108.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat