Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.7/2.7, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.338e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2748/0.6925, allocations: 109 MB / 491.3 MB, free: 15.35 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.693, allocations: 71.97 kB / 491.4 MB, free: 15.28 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.889/1.582, allocations: 139 MB / 0.6156 GB, free: 59 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.924e-06/1.582, allocations: 0 / 0.6156 GB, free: 59 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.00043/1.582, allocations: 136 kB / 0.6158 GB, free: 58.87 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02782/1.61, allocations: 6.803 MB / 0.6224 GB, free: 51.99 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.61, allocations: 16.02 kB / 0.6224 GB, free: 51.97 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00616/1.617, allocations: 1.232 MB / 0.6236 GB, free: 50.73 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05332/1.67, allocations: 7.186 MB / 0.6307 GB, free: 43.52 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/1.697, allocations: 7.555 MB / 0.638 GB, free: 35.88 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000638/1.697, allocations: 0.5135 MB / 0.6385 GB, free: 35.37 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00377/1.701, allocations: 0.6872 MB / 0.6392 GB, free: 34.68 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05263/1.754, allocations: 17.04 MB / 0.6558 GB, free: 16.26 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004685/1.754, allocations: 87.17 kB / 0.6559 GB, free: 16.18 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002978/1.757, allocations: 331.8 kB / 0.6562 GB, free: 15.85 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003425/1.761, allocations: 1.628 MB / 0.6578 GB, free: 14.21 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04409/1.805, allocations: 13.9 MB / 0.6714 GB, free: 296 kB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.586/2.391, allocations: 72.37 MB / 0.7421 GB, free: 62.81 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/2.421, allocations: 7.081 MB / 0.749 GB, free: 62.11 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008191/2.429, allocations: 3.92 MB / 0.7528 GB, free: 62.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02531/2.454, allocations: 9.476 MB / 0.7621 GB, free: 60.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/2.455, allocations: 64.34 kB / 0.7621 GB, free: 60.67 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=297): time 7.835e-06/2.455, allocations: 0 / 0.7621 GB, free: 60.67 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.1251/2.58, allocations: 27.71 MB / 0.7892 GB, free: 55.26 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/2.58, allocations: 242.2 kB / 0.7894 GB, free: 55 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/2.594, allocations: 5.91 MB / 0.7952 GB, free: 53.14 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009546/2.595, allocations: 77.11 kB / 0.7953 GB, free: 53.07 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/2.599, allocations: 4.826 MB / 0.8 GB, free: 49.36 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/2.601, allocations: 1.263 MB / 0.8012 GB, free: 48.44 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/2.603, allocations: 182.7 kB / 0.8014 GB, free: 48.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007444/2.604, allocations: 0.6881 MB / 0.8021 GB, free: 47.83 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009211/2.613, allocations: 3.655 MB / 0.8056 GB, free: 46.56 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01507/2.628, allocations: 8.647 MB / 0.8141 GB, free: 38.57 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/2.646, allocations: 5.577 MB / 0.8195 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002894/2.647, allocations: 52.94 kB / 0.8196 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.05332/2.7, allocations: 13.19 MB / 0.8325 GB, free: 27.15 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/2.7, allocations: 88.25 kB / 0.8326 GB, free: 27.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004189/2.701, allocations: 176 kB / 0.8327 GB, free: 26.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/2.711, allocations: 1.691 MB / 0.8344 GB, free: 25.62 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0202/2.731, allocations: 2.122 MB / 0.8364 GB, free: 23.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/2.754, allocations: 11.39 MB / 0.8476 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.765, allocations: 0.524 MB / 0.8481 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002496/2.768, allocations: 0.5188 MB / 0.8486 GB, free: 12.63 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1087 * 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.003836/2.772, allocations: 0.7835 MB / 0.8493 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/2.774, allocations: 0.5862 MB / 0.8499 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/2.796, allocations: 7.438 MB / 0.8572 GB, free: 5.211 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.904e-05/2.796, allocations: 36 kB / 0.8572 GB, free: 5.176 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/2.796, allocations: 11.12 kB / 0.8572 GB, free: 5.168 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-05/2.796, allocations: 21.91 kB / 0.8573 GB, free: 5.164 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05222/2.848, allocations: 16 MB / 0.8729 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.586e-05/2.849, allocations: 8.031 kB / 0.8729 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007007/2.856, allocations: 0.6308 MB / 0.8735 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007111/2.863, allocations: 1.428 MB / 0.8749 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/2.864, allocations: 63.66 kB / 0.875 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/2.889, allocations: 10.6 MB / 0.8853 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/2.889, allocations: 4 kB / 0.8853 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03422/2.923, allocations: 12.59 MB / 0.8976 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00535/2.929, allocations: 1.196 MB / 0.8988 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002408/2.931, allocations: 58.66 kB / 0.8988 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006576/2.938, allocations: 235.7 kB / 0.899 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.939, allocations: 201.9 kB / 0.8992 GB, free: 14 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005479/2.94, allocations: 87.98 kB / 0.8993 GB, free: 13.92 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01309/2.953, allocations: 4.235 MB / 0.9035 GB, free: 9.695 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.61e-07/2.953, allocations: 4 kB / 0.9035 GB, free: 9.691 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01338/2.966, allocations: 1.705 MB / 0.9051 GB, free: 7.992 MB / 0.5418 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.03683/3.003, allocations: 13.99 MB / 0.9188 GB, free: 9.797 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02444/3.028, allocations: 8.76 MB / 0.9273 GB, free: 1.055 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/3.028, allocations: 4 kB / 0.9273 GB, free: 1.051 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.3826/3.41, allocations: 3.607 MB / 0.9309 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006732/3.417, allocations: 0.7039 MB / 0.9316 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05413/3.471, allocations: 16 MB / 0.9472 GB, free: 165.4 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/3.484, allocations: 5.182 MB / 0.9522 GB, free: 164.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01435/3.498, allocations: 2.98 MB / 0.9552 GB, free: 164.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008404/3.507, allocations: 3.283 MB / 0.9584 GB, free: 164.4 MB / 0.5574 GB Notification: Performance of SimCode: time 2.244e-06/3.507, allocations: 3.188 kB / 0.9584 GB, free: 164.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/3.797, allocations: 133.2 MB / 1.088 GB, free: 66.8 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/3.797, allocations: 187.6 kB / 1.089 GB, free: 66.57 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/12.51, allocations: 0 / 1.089 GB, free: 66.57 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat