Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.451e-05, allocations: 3.938 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4215, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.6524, allocations: 98.03 MB / 452.4 MB, free: 164 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.6528, allocations: 79.95 kB / 452.4 MB, free: 84 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9151/1.568, allocations: 155.4 MB / 0.5935 GB, free: 32.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.568, allocations: 0 / 0.5935 GB, free: 32.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004519/1.568, allocations: 156 kB / 0.5937 GB, free: 32.45 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.02979/1.598, allocations: 7.748 MB / 0.6013 GB, free: 24.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.598, allocations: 8.031 kB / 0.6013 GB, free: 24.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03108/1.629, allocations: 3.628 MB / 0.6048 GB, free: 20.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03186/1.661, allocations: 9.543 MB / 0.6141 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005648/1.662, allocations: 260 kB / 0.6144 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/1.666, allocations: 480.2 kB / 0.6148 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0284/1.695, allocations: 11.17 MB / 0.6257 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05558/1.75, allocations: 16.31 MB / 0.6417 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001011/1.751, allocations: 99.11 kB / 0.6418 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005113/1.757, allocations: 48 kB / 0.6418 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005625/1.762, allocations: 1.782 MB / 0.6435 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5319/2.294, allocations: 79.67 MB / 0.7213 GB, free: 42.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/2.301, allocations: 2.977 MB / 0.7243 GB, free: 41.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/2.305, allocations: 1.409 MB / 0.7256 GB, free: 41.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/2.305, allocations: 40.83 kB / 0.7257 GB, free: 41.47 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/2.305, allocations: 65.59 kB / 0.7257 GB, free: 41.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=232): time 6.542e-06/2.305, allocations: 0 / 0.7257 GB, free: 41.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.04189/2.347, allocations: 11.44 MB / 0.7369 GB, free: 36.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/2.347, allocations: 161.7 kB / 0.7371 GB, free: 36.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/2.36, allocations: 5.025 MB / 0.742 GB, free: 36.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005265/2.361, allocations: 29.05 kB / 0.742 GB, free: 36.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004979/2.366, allocations: 5.677 MB / 0.7475 GB, free: 33.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/2.367, allocations: 0.9285 MB / 0.7484 GB, free: 32.76 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/2.368, allocations: 0 / 0.7484 GB, free: 32.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008309/2.369, allocations: 0.6917 MB / 0.7491 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005859/2.375, allocations: 2.242 MB / 0.7513 GB, free: 32.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009822/2.385, allocations: 8.004 MB / 0.7591 GB, free: 24.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/2.394, allocations: 4.181 MB / 0.7632 GB, free: 24.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000261/2.395, allocations: 63.25 kB / 0.7633 GB, free: 24.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02472/2.419, allocations: 8.976 MB / 0.772 GB, free: 22.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/2.42, allocations: 94.62 kB / 0.7721 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003282/2.42, allocations: 205.5 kB / 0.7723 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/2.42, allocations: 305.3 kB / 0.7726 GB, free: 22.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/2.435, allocations: 2.23 MB / 0.7748 GB, free: 22.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003985/2.435, allocations: 412.6 kB / 0.7752 GB, free: 22.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01788/2.453, allocations: 456.9 kB / 0.7756 GB, free: 22.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003024/2.456, allocations: 0.5543 MB / 0.7762 GB, free: 22.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1158): * Single equations (assignments): 1155 * 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.004348/2.461, allocations: 0.6089 MB / 0.7768 GB, free: 21.62 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01077/2.471, allocations: 2.694 MB / 0.7794 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002313/2.474, allocations: 0.5307 MB / 0.7799 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/2.485, allocations: 2.409 MB / 0.7823 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/2.485, allocations: 29.78 kB / 0.7823 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/2.485, allocations: 6.828 kB / 0.7823 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/2.485, allocations: 13.72 kB / 0.7823 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07751/2.562, allocations: 22.98 MB / 0.8048 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001711/2.563, allocations: 51.84 kB / 0.8048 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005475/2.568, allocations: 0.4887 MB / 0.8053 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/2.568, allocations: 68 kB / 0.8053 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00063/2.569, allocations: 71.28 kB / 0.8054 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001058/2.569, allocations: 91.75 kB / 0.8055 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-05/2.569, allocations: 71.69 kB / 0.8056 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/2.587, allocations: 12.58 MB / 0.8179 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003297/2.59, allocations: 0.6162 MB / 0.8185 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002851/2.593, allocations: 77.78 kB / 0.8185 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008306/2.601, allocations: 159.3 kB / 0.8187 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.603, allocations: 315.8 kB / 0.819 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005543/2.603, allocations: 138.5 kB / 0.8191 GB, free: 7.141 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01479/2.618, allocations: 3.375 MB / 0.8224 GB, free: 4.219 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.164e-06/2.618, allocations: 0 / 0.8224 GB, free: 4.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01749/2.636, allocations: 1.266 MB / 0.8237 GB, free: 2.957 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01665/2.653, allocations: 22.66 MB / 0.8458 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.666, allocations: 5.285 MB / 0.8509 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.421e-05/2.667, allocations: 8.5 kB / 0.851 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003423/2.67, allocations: 1.292 MB / 0.8522 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006868/2.677, allocations: 0.7071 MB / 0.8529 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4045/3.082, allocations: 15.86 MB / 0.8684 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01559/3.097, allocations: 5.703 MB / 0.874 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01468/3.112, allocations: 2.837 MB / 0.8767 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008489/3.12, allocations: 3.649 MB / 0.8803 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.904e-06/3.12, allocations: 0 / 0.8803 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2606/3.381, allocations: 107.5 MB / 0.9853 GB, free: 66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/3.381, allocations: 132.3 kB / 0.9854 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/10.22, allocations: 0 / 0.9854 GB, free: 65.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat