Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.699/2.699, allocations: 235.1 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.816e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4111, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.6225, allocations: 100.1 MB / 454.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.6229, allocations: 83.89 kB / 454.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684/2.307, allocations: 195.8 MB / 0.6353 GB, free: 45.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/2.307, allocations: 0 / 0.6353 GB, free: 45.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005928/2.308, allocations: 200.5 kB / 0.6355 GB, free: 45.65 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04159/2.349, allocations: 9.41 MB / 0.6447 GB, free: 42.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/2.349, allocations: 14.06 kB / 0.6447 GB, free: 42.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04094/2.39, allocations: 4.032 MB / 0.6486 GB, free: 41.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0403/2.431, allocations: 10.56 MB / 0.6589 GB, free: 40.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008834/2.432, allocations: 344.3 kB / 0.6592 GB, free: 40.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006128/2.438, allocations: 0.6054 MB / 0.6598 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0423/2.48, allocations: 14.55 MB / 0.674 GB, free: 40.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0643/2.544, allocations: 20.73 MB / 0.6943 GB, free: 35.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008328/2.545, allocations: 105.5 kB / 0.6944 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005638/2.551, allocations: 49.72 kB / 0.6944 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006566/2.558, allocations: 2.277 MB / 0.6967 GB, free: 35.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.196/2.754, allocations: 93.8 MB / 0.7883 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/2.765, allocations: 4.142 MB / 0.7923 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005399/2.771, allocations: 1.927 MB / 0.7942 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/2.771, allocations: 66.09 kB / 0.7942 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/2.771, allocations: 72.69 kB / 0.7943 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 8.607e-06/2.771, allocations: 3.281 kB / 0.7943 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.4703/3.242, allocations: 14.88 MB / 0.8088 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/3.242, allocations: 163.5 kB / 0.809 GB, free: 84.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01718/3.259, allocations: 5.663 MB / 0.8145 GB, free: 84.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008289/3.26, allocations: 32.39 kB / 0.8146 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006628/3.267, allocations: 6.969 MB / 0.8214 GB, free: 81.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002202/3.269, allocations: 1.268 MB / 0.8226 GB, free: 80.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/3.27, allocations: 0 / 0.8226 GB, free: 80.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009612/3.271, allocations: 0.767 MB / 0.8234 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008792/3.28, allocations: 2.865 MB / 0.8262 GB, free: 80.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/3.294, allocations: 9.631 MB / 0.8356 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/3.308, allocations: 5.157 MB / 0.8406 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002876/3.308, allocations: 72.09 kB / 0.8407 GB, free: 71.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.0346/3.343, allocations: 11.05 MB / 0.8515 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/3.343, allocations: 110.6 kB / 0.8516 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003994/3.343, allocations: 244.7 kB / 0.8518 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/3.344, allocations: 355.4 kB / 0.8521 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02051/3.364, allocations: 2.709 MB / 0.8548 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005351/3.365, allocations: 488.3 kB / 0.8552 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01571/3.381, allocations: 0.4934 MB / 0.8557 GB, free: 70.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002874/3.384, allocations: 0.6611 MB / 0.8564 GB, free: 70.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1420): * Single equations (assignments): 1417 * 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.004127/3.388, allocations: 0.7095 MB / 0.8571 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01123/3.399, allocations: 3.709 MB / 0.8607 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/3.402, allocations: 0.6159 MB / 0.8613 GB, free: 69.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/3.415, allocations: 3.568 MB / 0.8648 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-05/3.415, allocations: 36.7 kB / 0.8648 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/3.415, allocations: 0 / 0.8648 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.022e-05/3.415, allocations: 13.94 kB / 0.8648 GB, free: 68.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1074/3.522, allocations: 45.72 MB / 0.9095 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001625/3.522, allocations: 66 kB / 0.9095 GB, free: 59.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006369/3.529, allocations: 0.7008 MB / 0.9102 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/3.529, allocations: 94 kB / 0.9103 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007162/3.53, allocations: 113.7 kB / 0.9104 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001152/3.53, allocations: 132.5 kB / 0.9105 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.181e-05/3.53, allocations: 105.4 kB / 0.9106 GB, free: 59.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/3.545, allocations: 18.98 MB / 0.9292 GB, free: 39.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/3.548, allocations: 0.7258 MB / 0.9299 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003001/3.551, allocations: 105.5 kB / 0.93 GB, free: 38.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008137/3.56, allocations: 210.1 kB / 0.9302 GB, free: 38.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/3.561, allocations: 462.3 kB / 0.9306 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009091/3.562, allocations: 202.2 kB / 0.9308 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01109/3.573, allocations: 3.773 MB / 0.9345 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.072e-06/3.573, allocations: 0 / 0.9345 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01706/3.59, allocations: 1.601 MB / 0.9361 GB, free: 33.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.0205/3.611, allocations: 31.89 MB / 0.9672 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02091/3.632, allocations: 6.796 MB / 0.9738 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.27e-05/3.632, allocations: 8 kB / 0.9739 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/3.638, allocations: 1.877 MB / 0.9757 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009644/3.648, allocations: 0.8075 MB / 0.9765 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5409/4.189, allocations: 20.64 MB / 0.9966 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02419/4.213, allocations: 7.097 MB / 1.004 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01956/4.233, allocations: 3.389 MB / 1.007 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0118/4.245, allocations: 4.693 MB / 1.011 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/4.245, allocations: 0 / 1.011 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3445/4.589, allocations: 131.3 MB / 1.14 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003203/4.589, allocations: 149.5 kB / 1.14 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.715/13.3, allocations: 4.031 kB / 1.14 GB, free: 43.93 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat