Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.506e-05, allocations: 0 / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3611, allocations: 54.86 MB / 354.3 MB, free: 120 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5337, allocations: 95.16 MB / 449.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.534, allocations: 75.95 kB / 449.6 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5134/1.047, allocations: 53.83 MB / 0.4916 GB, free: 97.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.048, allocations: 0 / 0.4916 GB, free: 97.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001187/1.048, allocations: 51.31 kB / 0.4917 GB, free: 97.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009064/1.057, allocations: 2.617 MB / 0.4942 GB, free: 96.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.057, allocations: 14.25 kB / 0.4942 GB, free: 96.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/1.07, allocations: 1.823 MB / 0.496 GB, free: 96.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/1.076, allocations: 1.699 MB / 0.4977 GB, free: 95.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.076, allocations: 90.97 kB / 0.4977 GB, free: 95.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.078, allocations: 163.8 kB / 0.4979 GB, free: 95.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01011/1.088, allocations: 4.376 MB / 0.5022 GB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/1.102, allocations: 6.059 MB / 0.5081 GB, free: 86.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.771e-05/1.102, allocations: 19.81 kB / 0.5081 GB, free: 86.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004972/1.102, allocations: 12 kB / 0.5081 GB, free: 86.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/1.104, allocations: 0.6768 MB / 0.5088 GB, free: 85.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/1.141, allocations: 22.35 MB / 0.5306 GB, free: 63.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/1.144, allocations: 1.558 MB / 0.5321 GB, free: 61.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.145, allocations: 0.5742 MB / 0.5327 GB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/1.145, allocations: 24.8 kB / 0.5327 GB, free: 60.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/1.145, allocations: 39.28 kB / 0.5328 GB, free: 60.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.469e-06/1.145, allocations: 0 / 0.5328 GB, free: 60.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.005393/1.151, allocations: 1.553 MB / 0.5343 GB, free: 59.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.151, allocations: 64.14 kB / 0.5343 GB, free: 59.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/1.154, allocations: 1.584 MB / 0.5359 GB, free: 57.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.154, allocations: 25.7 kB / 0.5359 GB, free: 57.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.155, allocations: 1.972 MB / 0.5378 GB, free: 55.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/1.155, allocations: 402.7 kB / 0.5382 GB, free: 55.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.156, allocations: 0 / 0.5382 GB, free: 55.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000283/1.156, allocations: 0.4903 MB / 0.5387 GB, free: 54.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.158, allocations: 0.9007 MB / 0.5396 GB, free: 53.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/1.161, allocations: 2.945 MB / 0.5425 GB, free: 49.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/1.164, allocations: 1.674 MB / 0.5441 GB, free: 48.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/1.164, allocations: 24 kB / 0.5441 GB, free: 48.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.008612/1.173, allocations: 3.413 MB / 0.5474 GB, free: 44.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/1.173, allocations: 39.59 kB / 0.5475 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/1.173, allocations: 76 kB / 0.5476 GB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/1.173, allocations: 104 kB / 0.5477 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/1.177, allocations: 0.7602 MB / 0.5484 GB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/1.177, allocations: 151.4 kB / 0.5485 GB, free: 43.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.181, allocations: 383.5 kB / 0.5489 GB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005689/1.181, allocations: 212 kB / 0.5491 GB, free: 42.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (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.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (416): * Single equations (assignments): 413 * 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.0005311/1.182, allocations: 281.4 kB / 0.5494 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002395/1.184, allocations: 1.179 MB / 0.5505 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/1.185, allocations: 165.8 kB / 0.5507 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/1.188, allocations: 1.338 MB / 0.552 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/1.188, allocations: 15.83 kB / 0.552 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.188, allocations: 7.891 kB / 0.552 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.188, allocations: 7.969 kB / 0.552 GB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/1.199, allocations: 4.898 MB / 0.5568 GB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.199, allocations: 11.95 kB / 0.5568 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.201, allocations: 159.7 kB / 0.557 GB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-05/1.201, allocations: 16.72 kB / 0.557 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/1.201, allocations: 16 kB / 0.557 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/1.201, allocations: 27.92 kB / 0.557 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.435e-05/1.201, allocations: 15.94 kB / 0.557 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.204, allocations: 2.391 MB / 0.5594 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/1.204, allocations: 258.6 kB / 0.5596 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/1.205, allocations: 19.98 kB / 0.5596 GB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.206, allocations: 23.97 kB / 0.5597 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.206, allocations: 91.45 kB / 0.5598 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.206, allocations: 40 kB / 0.5598 GB, free: 31.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001991/1.208, allocations: 1.05 MB / 0.5608 GB, free: 30.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.208, allocations: 0 / 0.5608 GB, free: 30.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004132/1.212, allocations: 0.6995 MB / 0.5615 GB, free: 29.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.003926/1.216, allocations: 6.05 MB / 0.5674 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004512/1.221, allocations: 2.148 MB / 0.5695 GB, free: 20.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.221, allocations: 4 kB / 0.5695 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.222, allocations: 0.6009 MB / 0.5701 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.223, allocations: 174 kB / 0.5703 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.239, allocations: 5.506 MB / 0.5756 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/1.242, allocations: 2.464 MB / 0.578 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00529/1.247, allocations: 1.124 MB / 0.5791 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002735/1.25, allocations: 1.128 MB / 0.5802 GB, free: 9.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/1.25, allocations: 0 / 0.5802 GB, free: 9.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.364, allocations: 36.06 MB / 0.6155 GB, free: 5.668 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/1.365, allocations: 130.8 kB / 0.6156 GB, free: 5.477 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/4.93, allocations: 0 / 0.6156 GB, free: 5.477 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat