Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.471e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5291, allocations: 91.96 MB / 413.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5294, allocations: 83.02 kB / 413.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9475/1.477, allocations: 159.1 MB / 0.5595 GB, free: 87.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.477, allocations: 0 / 0.5595 GB, free: 87.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005038/1.478, allocations: 153.8 kB / 0.5597 GB, free: 87.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03178/1.509, allocations: 7.753 MB / 0.5673 GB, free: 83.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.509, allocations: 7.25 kB / 0.5673 GB, free: 83.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006845/1.516, allocations: 1.393 MB / 0.5686 GB, free: 82.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03135/1.548, allocations: 3.631 MB / 0.5722 GB, free: 80.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03142/1.579, allocations: 9.54 MB / 0.5815 GB, free: 74.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007914/1.58, allocations: 0.6026 MB / 0.5821 GB, free: 74.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006178/1.586, allocations: 0.7933 MB / 0.5828 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06587/1.652, allocations: 18.58 MB / 0.601 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006023/1.653, allocations: 91.2 kB / 0.6011 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004301/1.657, allocations: 385.7 kB / 0.6014 GB, free: 53.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/1.662, allocations: 1.777 MB / 0.6032 GB, free: 51.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04666/1.708, allocations: 14.2 MB / 0.617 GB, free: 37.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5146/2.223, allocations: 79 MB / 0.6942 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02951/2.253, allocations: 5.994 MB / 0.7 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005759/2.259, allocations: 2.387 MB / 0.7024 GB, free: 25.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03166/2.29, allocations: 11 MB / 0.7131 GB, free: 22.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/2.29, allocations: 59.28 kB / 0.7132 GB, free: 22.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=238): time 6.232e-06/2.29, allocations: 0 / 0.7132 GB, free: 22.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.06813/2.359, allocations: 14.74 MB / 0.7276 GB, free: 18.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/2.359, allocations: 156.1 kB / 0.7277 GB, free: 18.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/2.373, allocations: 5.735 MB / 0.7333 GB, free: 17.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005613/2.374, allocations: 68.75 kB / 0.7334 GB, free: 17.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004583/2.378, allocations: 5.34 MB / 0.7386 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00149/2.38, allocations: 1.017 MB / 0.7396 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/2.381, allocations: 175.7 kB / 0.7398 GB, free: 12.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006628/2.382, allocations: 0.6817 MB / 0.7404 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006324/2.388, allocations: 2.372 MB / 0.7427 GB, free: 11.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009832/2.398, allocations: 7.912 MB / 0.7505 GB, free: 2.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009514/2.407, allocations: 4.295 MB / 0.7547 GB, free: 1.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002092/2.408, allocations: 60.81 kB / 0.7547 GB, free: 1.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02653/2.434, allocations: 9.3 MB / 0.7638 GB, free: 15.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.434, allocations: 91.84 kB / 0.7639 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003212/2.435, allocations: 203.4 kB / 0.7641 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/2.435, allocations: 291.7 kB / 0.7644 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/2.45, allocations: 2.178 MB / 0.7665 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004384/2.45, allocations: 390.8 kB / 0.7669 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.462, allocations: 0.6103 MB / 0.7675 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/2.464, allocations: 0.5396 MB / 0.768 GB, free: 14.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1125 * 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.002393/2.466, allocations: 0.8075 MB / 0.7688 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/2.468, allocations: 0.5786 MB / 0.7693 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/2.475, allocations: 2.73 MB / 0.772 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-05/2.475, allocations: 31.03 kB / 0.772 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/2.475, allocations: 1.125 kB / 0.772 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/2.475, allocations: 17.8 kB / 0.7721 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06598/2.541, allocations: 26.27 MB / 0.7977 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001444/2.542, allocations: 52 kB / 0.7978 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/2.546, allocations: 0.5182 MB / 0.7983 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/2.546, allocations: 76 kB / 0.7983 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005616/2.546, allocations: 117.9 kB / 0.7985 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001077/2.547, allocations: 101.8 kB / 0.7985 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.866e-05/2.547, allocations: 82.92 kB / 0.7986 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/2.561, allocations: 14.54 MB / 0.8128 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/2.564, allocations: 0.6823 MB / 0.8135 GB, free: 6.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/2.566, allocations: 124 kB / 0.8136 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005654/2.571, allocations: 201.3 kB / 0.8138 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008896/2.572, allocations: 348.4 kB / 0.8141 GB, free: 5.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003613/2.573, allocations: 149.7 kB / 0.8143 GB, free: 5.723 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01138/2.584, allocations: 4.016 MB / 0.8182 GB, free: 2.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.584, allocations: 3.844 kB / 0.8182 GB, free: 2.199 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01249/2.597, allocations: 1.491 MB / 0.8197 GB, free: 0.7148 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.3477/2.944, allocations: 25.06 MB / 0.8441 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01462/2.959, allocations: 5.417 MB / 0.8494 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.677e-05/2.959, allocations: 7.219 kB / 0.8494 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003854/2.963, allocations: 1.386 MB / 0.8508 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007822/2.971, allocations: 0.8532 MB / 0.8516 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05825/3.029, allocations: 17.32 MB / 0.8685 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01417/3.044, allocations: 5.741 MB / 0.8741 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008574/3.052, allocations: 3.73 MB / 0.8778 GB, free: 116.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/3.052, allocations: 0 / 0.8778 GB, free: 116.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.306/8.358, allocations: 137.6 MB / 1.012 GB, free: 103 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat