Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.284e-05, allocations: 4 kB / 299.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4091, allocations: 54.87 MB / 354.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.6043, allocations: 100.1 MB / 454.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6046, allocations: 79.95 kB / 454.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8598/1.464, allocations: 128 MB / 0.569 GB, free: 58.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.464, allocations: 0 / 0.569 GB, free: 58.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004139/1.465, allocations: 132 kB / 0.5691 GB, free: 58.23 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.0277/1.493, allocations: 6.356 MB / 0.5753 GB, free: 51.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.493, allocations: 8.031 kB / 0.5753 GB, free: 51.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0583/1.551, allocations: 7.101 MB / 0.5823 GB, free: 44.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/1.577, allocations: 7.243 MB / 0.5893 GB, free: 37.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/1.578, allocations: 219.9 kB / 0.5895 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003463/1.581, allocations: 395.8 kB / 0.5899 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02384/1.605, allocations: 9.633 MB / 0.5993 GB, free: 27.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0366/1.642, allocations: 14.14 MB / 0.6131 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004068/1.642, allocations: 75.34 kB / 0.6132 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/1.645, allocations: 36 kB / 0.6132 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003394/1.648, allocations: 1.581 MB / 0.6148 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5177/2.166, allocations: 63.9 MB / 0.6772 GB, free: 72.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/2.179, allocations: 5.925 MB / 0.683 GB, free: 71.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008189/2.188, allocations: 4.062 MB / 0.6869 GB, free: 71.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/2.189, allocations: 0.5616 MB / 0.6875 GB, free: 70.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/2.189, allocations: 77.12 kB / 0.6876 GB, free: 70.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=315): time 6.923e-06/2.189, allocations: 0 / 0.6876 GB, free: 70.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=359): time 0.1079/2.297, allocations: 28.65 MB / 0.7155 GB, free: 67.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.297, allocations: 226.5 kB / 0.7158 GB, free: 66.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009508/2.306, allocations: 3.888 MB / 0.7196 GB, free: 65.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001155/2.308, allocations: 29.11 kB / 0.7196 GB, free: 65.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004514/2.312, allocations: 4.456 MB / 0.7239 GB, free: 62.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002749/2.315, allocations: 1.279 MB / 0.7252 GB, free: 61.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/2.317, allocations: 0 / 0.7252 GB, free: 61.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00111/2.318, allocations: 0.6631 MB / 0.7258 GB, free: 60.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009318/2.327, allocations: 3.508 MB / 0.7293 GB, free: 59.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/2.34, allocations: 8.143 MB / 0.7372 GB, free: 52.19 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.353, allocations: 5.287 MB / 0.7424 GB, free: 50.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/2.353, allocations: 51 kB / 0.7424 GB, free: 50.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03686/2.39, allocations: 12.21 MB / 0.7544 GB, free: 42.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/2.39, allocations: 72 kB / 0.7544 GB, free: 42.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002487/2.39, allocations: 164 kB / 0.7546 GB, free: 42.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007541/2.398, allocations: 1.713 MB / 0.7562 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/2.413, allocations: 2.019 MB / 0.7582 GB, free: 39.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/2.436, allocations: 10.9 MB / 0.7689 GB, free: 29.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.446, allocations: 349.2 kB / 0.7692 GB, free: 29.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/2.448, allocations: 0.4936 MB / 0.7697 GB, free: 29.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1046): * Single equations (assignments): 1041 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/2.451, allocations: 0.5227 MB / 0.7702 GB, free: 28.58 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02142/2.472, allocations: 7.144 MB / 0.7772 GB, free: 22.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001976/2.474, allocations: 469.6 kB / 0.7776 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02275/2.497, allocations: 7.188 MB / 0.7846 GB, free: 16.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/2.497, allocations: 40 kB / 0.7847 GB, free: 16.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/2.497, allocations: 8 kB / 0.7847 GB, free: 16.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/2.497, allocations: 21.11 kB / 0.7847 GB, free: 16.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04959/2.547, allocations: 15.02 MB / 0.7994 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/2.547, allocations: 4.969 kB / 0.7994 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007143/2.554, allocations: 0.6194 MB / 0.8 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007013/2.561, allocations: 1.405 MB / 0.8013 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009928/2.562, allocations: 18.62 kB / 0.8014 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/2.584, allocations: 9.893 MB / 0.811 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.584, allocations: 0 / 0.811 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03322/2.617, allocations: 11.88 MB / 0.8226 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004642/2.622, allocations: 1.044 MB / 0.8237 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001914/2.624, allocations: 4 kB / 0.8237 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005966/2.63, allocations: 206.1 kB / 0.8239 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/2.632, allocations: 198.1 kB / 0.824 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005151/2.632, allocations: 95.92 kB / 0.8241 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006938/2.639, allocations: 2.609 MB / 0.8267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.22e-07/2.639, allocations: 0 / 0.8267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01135/2.65, allocations: 1.398 MB / 0.828 GB, free: 9.523 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 300 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03457/2.685, allocations: 12.84 MB / 0.8406 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02519/2.71, allocations: 8.869 MB / 0.8492 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/2.71, allocations: 0 / 0.8492 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/2.722, allocations: 3.687 MB / 0.8528 GB, free: 32 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005094/2.727, allocations: 477.8 kB / 0.8533 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05396/2.781, allocations: 14.79 MB / 0.8677 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3711/3.152, allocations: 4.931 MB / 0.8726 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01525/3.167, allocations: 2.729 MB / 0.8752 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008684/3.176, allocations: 3.06 MB / 0.8782 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/3.176, allocations: 1.375 kB / 0.8782 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3087/3.485, allocations: 113.8 MB / 0.9893 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002855/3.485, allocations: 149.1 kB / 0.9895 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.022/10.51, allocations: 4.031 kB / 0.9895 GB, free: 91.65 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat