Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.22e-05, allocations: 8 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4138, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.6049, allocations: 104 MB / 463.9 MB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6052, allocations: 73 kB / 463.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9695/1.575, allocations: 148.7 MB / 0.5983 GB, free: 89.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.716e-06/1.575, allocations: 0 / 0.5983 GB, free: 89.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004711/1.575, allocations: 147.3 kB / 0.5984 GB, free: 89.92 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.0307/1.606, allocations: 7.385 MB / 0.6057 GB, free: 83.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.359e-05/1.606, allocations: 12.03 kB / 0.6057 GB, free: 83.58 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006712/1.613, allocations: 1.373 MB / 0.607 GB, free: 82.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05481/1.668, allocations: 7.314 MB / 0.6141 GB, free: 74.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02815/1.696, allocations: 7.896 MB / 0.6219 GB, free: 66.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007468/1.697, allocations: 0.5777 MB / 0.6224 GB, free: 66.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0045/1.701, allocations: 0.7692 MB / 0.6232 GB, free: 65.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0603/1.762, allocations: 18.76 MB / 0.6415 GB, free: 45.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005752/1.762, allocations: 91.12 kB / 0.6416 GB, free: 45.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004016/1.766, allocations: 367.8 kB / 0.6419 GB, free: 44.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004204/1.77, allocations: 1.833 MB / 0.6437 GB, free: 42.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04929/1.82, allocations: 15.07 MB / 0.6584 GB, free: 27.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5775/2.397, allocations: 81.72 MB / 0.7382 GB, free: 45.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04052/2.438, allocations: 8.62 MB / 0.7467 GB, free: 44.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01244/2.45, allocations: 4.614 MB / 0.7512 GB, free: 44.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0422/2.493, allocations: 11.71 MB / 0.7626 GB, free: 42.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.292e-05/2.493, allocations: 66.34 kB / 0.7627 GB, free: 42.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=347): time 1.149e-05/2.493, allocations: 0 / 0.7627 GB, free: 42.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1504/2.643, allocations: 31.51 MB / 0.7934 GB, free: 33.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/2.643, allocations: 249.6 kB / 0.7937 GB, free: 33.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01757/2.661, allocations: 6.482 MB / 0.8 GB, free: 30.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001181/2.662, allocations: 84.39 kB / 0.8001 GB, free: 30.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005225/2.668, allocations: 5.288 MB / 0.8052 GB, free: 26.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002742/2.67, allocations: 1.438 MB / 0.8067 GB, free: 25.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/2.672, allocations: 198.9 kB / 0.8068 GB, free: 25.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009896/2.673, allocations: 0.7263 MB / 0.8076 GB, free: 24.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/2.684, allocations: 4.019 MB / 0.8115 GB, free: 23.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/2.699, allocations: 9.533 MB / 0.8208 GB, free: 14.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/2.713, allocations: 6.149 MB / 0.8268 GB, free: 9.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002203/2.713, allocations: 56 kB / 0.8268 GB, free: 9.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.04503/2.758, allocations: 14.51 MB / 0.841 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/2.759, allocations: 92 kB / 0.8411 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003919/2.759, allocations: 192 kB / 0.8413 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008283/2.767, allocations: 1.724 MB / 0.843 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01787/2.785, allocations: 2.423 MB / 0.8453 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02739/2.813, allocations: 11.47 MB / 0.8565 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/2.826, allocations: 0.5804 MB / 0.8571 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002818/2.829, allocations: 0.5739 MB / 0.8577 GB, free: 14.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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.004221/2.833, allocations: 0.8557 MB / 0.8585 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002118/2.835, allocations: 0.644 MB / 0.8591 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/2.863, allocations: 8.128 MB / 0.8671 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.439e-05/2.863, allocations: 43.94 kB / 0.8671 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.484e-05/2.863, allocations: 15.56 kB / 0.8671 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/2.863, allocations: 19.92 kB / 0.8671 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06331/2.927, allocations: 18.19 MB / 0.8849 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.125e-05/2.927, allocations: 8 kB / 0.8849 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008375/2.935, allocations: 0.7684 MB / 0.8857 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007234/2.942, allocations: 1.42 MB / 0.887 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/2.944, allocations: 79.98 kB / 0.8871 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02519/2.969, allocations: 10.6 MB / 0.8975 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/2.969, allocations: 8 kB / 0.8975 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4098/3.379, allocations: 14.36 MB / 0.9115 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005716/3.385, allocations: 1.317 MB / 0.9128 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002904/3.388, allocations: 72.2 kB / 0.9129 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007529/3.395, allocations: 261.8 kB / 0.9131 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/3.397, allocations: 248.6 kB / 0.9134 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006084/3.397, allocations: 102 kB / 0.9134 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01485/3.412, allocations: 4.647 MB / 0.918 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.92e-07/3.412, allocations: 0 / 0.918 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01452/3.427, allocations: 1.876 MB / 0.9198 GB, free: 145.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.03445/3.461, allocations: 16.1 MB / 0.9355 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02297/3.484, allocations: 9.624 MB / 0.9449 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/3.484, allocations: 0 / 0.9449 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01134/3.496, allocations: 3.921 MB / 0.9488 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007652/3.503, allocations: 0.7706 MB / 0.9495 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05724/3.561, allocations: 17.65 MB / 0.9668 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01386/3.575, allocations: 5.641 MB / 0.9723 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01666/3.591, allocations: 3.328 MB / 0.9755 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009568/3.601, allocations: 3.689 MB / 0.9791 GB, free: 127 MB / 0.5261 GB Notification: Performance of SimCode: time 1.773e-06/3.601, allocations: 0 / 0.9791 GB, free: 127 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7153/4.316, allocations: 145.6 MB / 1.121 GB, free: 131 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/4.317, allocations: 171.6 kB / 1.121 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/12.7, allocations: 0 / 1.121 GB, free: 130.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat