Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.562/2.562, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.974e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3998, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.603, allocations: 107.6 MB / 489.9 MB, free: 0.7969 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.6034, allocations: 75.95 kB / 489.9 MB, free: 0.7227 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9316/1.535, allocations: 129.4 MB / 0.6049 GB, free: 70.07 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.355e-06/1.535, allocations: 3.938 kB / 0.6049 GB, free: 70.07 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005265/1.536, allocations: 135.9 kB / 0.605 GB, free: 69.93 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.03041/1.566, allocations: 6.559 MB / 0.6114 GB, free: 63.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.566, allocations: 8.031 kB / 0.6114 GB, free: 63.29 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005008/1.571, allocations: 1.166 MB / 0.6126 GB, free: 62.11 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05256/1.624, allocations: 7.124 MB / 0.6195 GB, free: 54.97 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02557/1.649, allocations: 7.399 MB / 0.6267 GB, free: 47.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006233/1.65, allocations: 493 kB / 0.6272 GB, free: 47 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/1.653, allocations: 0.6442 MB / 0.6278 GB, free: 46.36 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0486/1.702, allocations: 16.11 MB / 0.6436 GB, free: 28.79 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004048/1.703, allocations: 91.12 kB / 0.6437 GB, free: 28.7 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/1.705, allocations: 311.8 kB / 0.6439 GB, free: 28.39 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003188/1.708, allocations: 1.561 MB / 0.6455 GB, free: 26.82 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04093/1.749, allocations: 12.89 MB / 0.6581 GB, free: 13.91 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5465/2.296, allocations: 72.6 MB / 0.729 GB, free: 67.71 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05175/2.348, allocations: 7.405 MB / 0.7362 GB, free: 67.03 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0117/2.359, allocations: 3.808 MB / 0.7399 GB, free: 66.98 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03023/2.39, allocations: 9.671 MB / 0.7494 GB, free: 65.49 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/2.39, allocations: 66.38 kB / 0.7494 GB, free: 65.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=273): time 7.323e-06/2.39, allocations: 0 / 0.7494 GB, free: 65.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=315): time 0.1287/2.518, allocations: 27.64 MB / 0.7764 GB, free: 60.27 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/2.519, allocations: 242.9 kB / 0.7766 GB, free: 60.01 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01553/2.534, allocations: 6.039 MB / 0.7825 GB, free: 58.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008957/2.535, allocations: 69.53 kB / 0.7826 GB, free: 58.64 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004787/2.54, allocations: 4.713 MB / 0.7872 GB, free: 55.01 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002074/2.542, allocations: 1.185 MB / 0.7884 GB, free: 54.14 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/2.543, allocations: 177.6 kB / 0.7885 GB, free: 54.01 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000568/2.544, allocations: 0.6829 MB / 0.7892 GB, free: 53.54 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008302/2.552, allocations: 3.482 MB / 0.7926 GB, free: 52.35 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0129/2.565, allocations: 8.577 MB / 0.801 GB, free: 44.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/2.578, allocations: 5.428 MB / 0.8063 GB, free: 42.37 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002131/2.578, allocations: 52 kB / 0.8063 GB, free: 42.32 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03709/2.615, allocations: 12.88 MB / 0.8189 GB, free: 32.15 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/2.616, allocations: 84 kB / 0.819 GB, free: 32.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003209/2.616, allocations: 183.8 kB / 0.8192 GB, free: 31.89 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00732/2.623, allocations: 1.677 MB / 0.8208 GB, free: 30.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.637, allocations: 2.118 MB / 0.8229 GB, free: 28.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/2.658, allocations: 11.22 MB / 0.8338 GB, free: 18.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/2.67, allocations: 0.5326 MB / 0.8343 GB, free: 18.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/2.672, allocations: 0.5165 MB / 0.8348 GB, free: 17.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 63 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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.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 (1087): * Single equations (assignments): 1082 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003839/2.676, allocations: 0.7953 MB / 0.8356 GB, free: 17.02 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/2.678, allocations: 0.59 MB / 0.8362 GB, free: 16.42 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/2.699, allocations: 6.732 MB / 0.8428 GB, free: 10.96 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/2.7, allocations: 36 kB / 0.8428 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/2.7, allocations: 8 kB / 0.8428 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/2.7, allocations: 14.3 kB / 0.8428 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04922/2.749, allocations: 15.27 MB / 0.8577 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-05/2.749, allocations: 4 kB / 0.8577 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006517/2.756, allocations: 0.5889 MB / 0.8583 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007247/2.763, allocations: 1.403 MB / 0.8597 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009908/2.764, allocations: 55.98 kB / 0.8597 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/2.789, allocations: 10.43 MB / 0.8699 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/2.789, allocations: 11.94 kB / 0.8699 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/2.824, allocations: 11.81 MB / 0.8815 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005169/2.829, allocations: 1.149 MB / 0.8826 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/2.831, allocations: 52 kB / 0.8826 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006552/2.838, allocations: 219.7 kB / 0.8828 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/2.839, allocations: 190 kB / 0.883 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/2.84, allocations: 83.98 kB / 0.8831 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01348/2.854, allocations: 4.303 MB / 0.8873 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.593e-06/2.854, allocations: 0 / 0.8873 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01433/2.868, allocations: 1.644 MB / 0.8889 GB, free: 14.33 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03623/2.904, allocations: 13.2 MB / 0.9018 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02296/2.927, allocations: 8.352 MB / 0.91 GB, free: 8.559 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.927, allocations: 0 / 0.91 GB, free: 8.559 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/2.938, allocations: 3.378 MB / 0.9133 GB, free: 5.16 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/2.945, allocations: 0.6928 MB / 0.9139 GB, free: 4.492 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05485/3, allocations: 15.2 MB / 0.9288 GB, free: 5.223 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/3.013, allocations: 4.937 MB / 0.9336 GB, free: 288 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.3898/3.403, allocations: 2.949 MB / 0.9365 GB, free: 181.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008755/3.412, allocations: 3.174 MB / 0.9396 GB, free: 181.1 MB / 0.573 GB Notification: Performance of SimCode: time 2.405e-06/3.412, allocations: 1.156 kB / 0.9396 GB, free: 181.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3127/3.724, allocations: 130 MB / 1.067 GB, free: 102 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/3.725, allocations: 174.5 kB / 1.067 GB, free: 101.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/12.04, allocations: 3.938 kB / 1.067 GB, free: 101.7 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat