Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.975/1.975, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.393e-05, allocations: 3.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5395, allocations: 96.03 MB / 417.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5398, allocations: 75.91 kB / 418 MB, free: 9.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8981/1.438, allocations: 138.2 MB / 0.5432 GB, free: 88.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.438, allocations: 0 / 0.5432 GB, free: 88.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004387/1.438, allocations: 135.2 kB / 0.5433 GB, free: 88.99 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02802/1.466, allocations: 6.793 MB / 0.5499 GB, free: 86.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.466, allocations: 10.72 kB / 0.55 GB, free: 86.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00574/1.472, allocations: 1.229 MB / 0.5512 GB, free: 86.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05978/1.532, allocations: 7.178 MB / 0.5582 GB, free: 85.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03534/1.567, allocations: 7.533 MB / 0.5655 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008507/1.568, allocations: 0.5191 MB / 0.566 GB, free: 82.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004643/1.573, allocations: 0.6831 MB / 0.5667 GB, free: 82.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05638/1.629, allocations: 17.01 MB / 0.5833 GB, free: 70.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00038/1.63, allocations: 79.27 kB / 0.5834 GB, free: 70.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.633, allocations: 331.8 kB / 0.5837 GB, free: 70.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/1.636, allocations: 1.628 MB / 0.5853 GB, free: 68.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/1.679, allocations: 13.88 MB / 0.5988 GB, free: 54.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4729/2.152, allocations: 72.24 MB / 0.6694 GB, free: 35.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0322/2.185, allocations: 7.083 MB / 0.6763 GB, free: 34.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008939/2.194, allocations: 3.929 MB / 0.6801 GB, free: 34.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02666/2.22, allocations: 9.469 MB / 0.6894 GB, free: 33.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.109e-05/2.22, allocations: 71.28 kB / 0.6895 GB, free: 33.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 7.564e-06/2.22, allocations: 0 / 0.6895 GB, free: 33.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1269/2.347, allocations: 27.69 MB / 0.7165 GB, free: 26.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/2.347, allocations: 243.5 kB / 0.7167 GB, free: 26.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01637/2.364, allocations: 5.886 MB / 0.7225 GB, free: 24.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001032/2.365, allocations: 73.14 kB / 0.7225 GB, free: 24.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004866/2.37, allocations: 4.809 MB / 0.7272 GB, free: 20.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002296/2.372, allocations: 1.267 MB / 0.7285 GB, free: 19.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/2.374, allocations: 177.6 kB / 0.7287 GB, free: 19.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00085/2.375, allocations: 0.6775 MB / 0.7293 GB, free: 18.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009665/2.384, allocations: 3.651 MB / 0.7329 GB, free: 17.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/2.398, allocations: 8.623 MB / 0.7413 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.412, allocations: 5.568 MB / 0.7467 GB, free: 7.945 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/2.412, allocations: 55.91 kB / 0.7468 GB, free: 7.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03798/2.45, allocations: 13.17 MB / 0.7597 GB, free: 2.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/2.45, allocations: 80 kB / 0.7597 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002518/2.45, allocations: 180.9 kB / 0.7599 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/2.458, allocations: 1.699 MB / 0.7616 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/2.473, allocations: 2.12 MB / 0.7636 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/2.498, allocations: 11.38 MB / 0.7747 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/2.51, allocations: 0.5264 MB / 0.7753 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002587/2.513, allocations: 0.5256 MB / 0.7758 GB, free: 3.496 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1089): * Single equations (assignments): 1084 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003855/2.517, allocations: 0.7777 MB / 0.7765 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.519, allocations: 0.59 MB / 0.7771 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02425/2.543, allocations: 7.448 MB / 0.7844 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-05/2.543, allocations: 37.17 kB / 0.7844 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.35e-05/2.543, allocations: 11.56 kB / 0.7844 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.001e-05/2.543, allocations: 20.92 kB / 0.7844 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05271/2.596, allocations: 16 MB / 0.8001 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/2.596, allocations: 4 kB / 0.8001 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006949/2.603, allocations: 0.6284 MB / 0.8007 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00694/2.61, allocations: 1.419 MB / 0.8021 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009376/2.611, allocations: 63.98 kB / 0.8021 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02463/2.636, allocations: 10.6 MB / 0.8125 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/2.636, allocations: 11.75 kB / 0.8125 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/2.67, allocations: 12.58 MB / 0.8248 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005312/2.675, allocations: 1.204 MB / 0.826 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002367/2.678, allocations: 59.95 kB / 0.826 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006699/2.684, allocations: 231.7 kB / 0.8262 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/2.686, allocations: 201.9 kB / 0.8264 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005262/2.686, allocations: 91.98 kB / 0.8265 GB, free: 3.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.013/2.699, allocations: 4.222 MB / 0.8306 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.32e-07/2.699, allocations: 0 / 0.8306 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01374/2.713, allocations: 1.695 MB / 0.8323 GB, free: 13.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.368/3.081, allocations: 13.97 MB / 0.8459 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02392/3.105, allocations: 8.754 MB / 0.8545 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/3.105, allocations: 1.094 kB / 0.8545 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/3.116, allocations: 3.609 MB / 0.858 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006849/3.123, allocations: 0.7159 MB / 0.8587 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/3.177, allocations: 15.97 MB / 0.8743 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01229/3.189, allocations: 5.175 MB / 0.8794 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01491/3.204, allocations: 2.97 MB / 0.8823 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008727/3.213, allocations: 3.273 MB / 0.8855 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/3.213, allocations: 3.25 kB / 0.8855 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/3.608, allocations: 132.8 MB / 1.015 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/3.609, allocations: 179.5 kB / 1.015 GB, free: 43.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/12.03, allocations: 0 / 1.015 GB, free: 43.83 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat