Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.32e-05/4.335e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4319, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.6275, allocations: 102.5 MB / 462.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6279, allocations: 71.97 kB / 462.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025/1.653, allocations: 151.9 MB / 0.6 GB, free: 88.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.653, allocations: 0 / 0.6 GB, free: 88.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005233/1.653, allocations: 148.5 kB / 0.6002 GB, free: 88.58 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.02976/1.683, allocations: 7.381 MB / 0.6074 GB, free: 81.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.683, allocations: 8.031 kB / 0.6074 GB, free: 81.48 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006155/1.69, allocations: 1.343 MB / 0.6087 GB, free: 80.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06935/1.759, allocations: 9.632 MB / 0.6181 GB, free: 70.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03953/1.798, allocations: 9.137 MB / 0.627 GB, free: 61.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006293/1.799, allocations: 0.5737 MB / 0.6276 GB, free: 60.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004285/1.803, allocations: 0.7691 MB / 0.6283 GB, free: 59.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05372/1.857, allocations: 17.93 MB / 0.6458 GB, free: 40.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005543/1.858, allocations: 107 kB / 0.6459 GB, free: 40.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003252/1.861, allocations: 371.8 kB / 0.6463 GB, free: 39.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003551/1.865, allocations: 1.691 MB / 0.6479 GB, free: 38.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04232/1.907, allocations: 14.1 MB / 0.6617 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5492/2.456, allocations: 80.8 MB / 0.7406 GB, free: 40.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0303/2.487, allocations: 7.109 MB / 0.7476 GB, free: 39.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008689/2.495, allocations: 4.061 MB / 0.7515 GB, free: 39.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/2.496, allocations: 59.2 kB / 0.7516 GB, free: 39.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/2.496, allocations: 75.09 kB / 0.7517 GB, free: 39.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 7.675e-06/2.496, allocations: 7.281 kB / 0.7517 GB, free: 39.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.1168/2.613, allocations: 27.34 MB / 0.7784 GB, free: 32.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/2.613, allocations: 296.9 kB / 0.7787 GB, free: 32.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/2.631, allocations: 6.511 MB / 0.785 GB, free: 31.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/2.632, allocations: 79.95 kB / 0.7851 GB, free: 31.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005573/2.637, allocations: 5.364 MB / 0.7903 GB, free: 27.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.64, allocations: 1.28 MB / 0.7916 GB, free: 26.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/2.641, allocations: 189.6 kB / 0.7918 GB, free: 26.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007623/2.642, allocations: 0.7119 MB / 0.7925 GB, free: 26.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009573/2.652, allocations: 3.601 MB / 0.796 GB, free: 24.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/2.665, allocations: 9.136 MB / 0.8049 GB, free: 16.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/2.678, allocations: 5.707 MB / 0.8105 GB, free: 14.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002255/2.678, allocations: 53.86 kB / 0.8105 GB, free: 14.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03797/2.716, allocations: 13.19 MB / 0.8234 GB, free: 8.918 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/2.716, allocations: 90.34 kB / 0.8235 GB, free: 8.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000305/2.717, allocations: 200 kB / 0.8237 GB, free: 8.637 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/2.722, allocations: 1.374 MB / 0.825 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/2.737, allocations: 2.237 MB / 0.8272 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/2.759, allocations: 11.27 MB / 0.8382 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.771, allocations: 0.5322 MB / 0.8387 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/2.774, allocations: 0.573 MB / 0.8393 GB, free: 10.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1172): * Single equations (assignments): 1166 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00439/2.779, allocations: 0.8347 MB / 0.8401 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00228/2.781, allocations: 0.6409 MB / 0.8407 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0234/2.804, allocations: 6.588 MB / 0.8472 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/2.804, allocations: 40.95 kB / 0.8472 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-05/2.804, allocations: 8 kB / 0.8472 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/2.805, allocations: 21.2 kB / 0.8472 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05514/2.86, allocations: 15.4 MB / 0.8623 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/2.86, allocations: 0 / 0.8623 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006432/2.866, allocations: 0.5788 MB / 0.8628 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005449/2.872, allocations: 1.052 MB / 0.8639 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/2.873, allocations: 62.89 kB / 0.8639 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/2.895, allocations: 10.26 MB / 0.8739 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.895, allocations: 3 kB / 0.8739 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03139/2.926, allocations: 11.13 MB / 0.8848 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005397/2.932, allocations: 1.203 MB / 0.886 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.934, allocations: 56 kB / 0.886 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006697/2.941, allocations: 203.7 kB / 0.8862 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/2.942, allocations: 194.6 kB / 0.8864 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004154/2.943, allocations: 83.98 kB / 0.8865 GB, free: 104 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01327/2.956, allocations: 4.624 MB / 0.891 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.172e-06/2.956, allocations: 0 / 0.891 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01387/2.97, allocations: 1.793 MB / 0.8928 GB, free: 9.727 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4182/3.388, allocations: 12.03 MB / 0.9045 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02582/3.414, allocations: 8.804 MB / 0.9131 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/3.414, allocations: 1.25 kB / 0.9131 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/3.425, allocations: 3.444 MB / 0.9165 GB, free: 145 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008279/3.433, allocations: 0.8152 MB / 0.9173 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05938/3.493, allocations: 16.81 MB / 0.9337 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01584/3.508, allocations: 5.606 MB / 0.9392 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0211/3.53, allocations: 3.167 MB / 0.9422 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01451/3.544, allocations: 3.663 MB / 0.9458 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.355e-06/3.544, allocations: 0 / 0.9458 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3304/3.875, allocations: 140.8 MB / 1.083 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/3.875, allocations: 168.8 kB / 1.084 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/12.42, allocations: 0 / 1.084 GB, free: 30.88 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat