Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.087e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5834, allocations: 95.71 MB / 417.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5838, allocations: 71.97 kB / 417.6 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9482/1.532, allocations: 151.7 MB / 0.556 GB, free: 87.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.532, allocations: 0 / 0.556 GB, free: 87.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005399/1.533, allocations: 155.8 kB / 0.5562 GB, free: 87.53 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03135/1.564, allocations: 7.377 MB / 0.5634 GB, free: 84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.564, allocations: 14.28 kB / 0.5634 GB, free: 83.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006226/1.57, allocations: 1.346 MB / 0.5647 GB, free: 83.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07095/1.641, allocations: 9.635 MB / 0.5741 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03401/1.675, allocations: 9.104 MB / 0.583 GB, free: 72.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008229/1.676, allocations: 0.5745 MB / 0.5836 GB, free: 72.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005005/1.681, allocations: 0.7631 MB / 0.5843 GB, free: 71.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05806/1.739, allocations: 18.02 MB / 0.6019 GB, free: 52.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006553/1.74, allocations: 103.1 kB / 0.602 GB, free: 52.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004471/1.745, allocations: 376.9 kB / 0.6024 GB, free: 51.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/1.749, allocations: 1.691 MB / 0.604 GB, free: 50.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04596/1.795, allocations: 14.39 MB / 0.6181 GB, free: 35.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5047/2.3, allocations: 80.77 MB / 0.6969 GB, free: 23.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04031/2.34, allocations: 7.139 MB / 0.7039 GB, free: 23.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009436/2.349, allocations: 4.062 MB / 0.7079 GB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004789/2.35, allocations: 59.33 kB / 0.7079 GB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/2.35, allocations: 74.73 kB / 0.708 GB, free: 23.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 8.616e-06/2.35, allocations: 0 / 0.708 GB, free: 23.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.143/2.493, allocations: 27.37 MB / 0.7347 GB, free: 16.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/2.493, allocations: 295.3 kB / 0.735 GB, free: 15.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01922/2.513, allocations: 6.516 MB / 0.7414 GB, free: 14.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001108/2.514, allocations: 80.84 kB / 0.7415 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00597/2.52, allocations: 5.355 MB / 0.7467 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002613/2.522, allocations: 1.283 MB / 0.7479 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/2.524, allocations: 192.6 kB / 0.7481 GB, free: 8.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001386/2.526, allocations: 0.7117 MB / 0.7488 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01309/2.539, allocations: 3.601 MB / 0.7523 GB, free: 7.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03211/2.571, allocations: 9.188 MB / 0.7613 GB, free: 14.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03216/2.603, allocations: 5.704 MB / 0.7669 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003477/2.604, allocations: 59.14 kB / 0.7669 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04704/2.651, allocations: 13.74 MB / 0.7804 GB, free: 6.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/2.651, allocations: 95.23 kB / 0.7804 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004716/2.652, allocations: 200 kB / 0.7806 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006487/2.658, allocations: 1.373 MB / 0.782 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01671/2.675, allocations: 2.235 MB / 0.7842 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03665/2.712, allocations: 11.35 MB / 0.7953 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/2.728, allocations: 0.5325 MB / 0.7958 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/2.731, allocations: 0.5623 MB / 0.7963 GB, free: 8.508 MB / 458.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.004794/2.736, allocations: 0.8492 MB / 0.7971 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002857/2.739, allocations: 0.6363 MB / 0.7978 GB, free: 7.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02449/2.764, allocations: 6.597 MB / 0.8042 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/2.764, allocations: 36 kB / 0.8042 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/2.764, allocations: 12 kB / 0.8043 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/2.764, allocations: 16.64 kB / 0.8043 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0579/2.822, allocations: 15.4 MB / 0.8193 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/2.822, allocations: 1.922 kB / 0.8193 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006728/2.829, allocations: 0.5817 MB / 0.8199 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005548/2.834, allocations: 1.049 MB / 0.8209 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/2.836, allocations: 67.31 kB / 0.821 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.394/3.23, allocations: 10.23 MB / 0.831 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/3.23, allocations: 4.219 kB / 0.831 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03351/3.263, allocations: 11.13 MB / 0.8418 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005799/3.269, allocations: 1.207 MB / 0.843 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003168/3.272, allocations: 57.12 kB / 0.8431 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007339/3.28, allocations: 200.4 kB / 0.8433 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/3.281, allocations: 204.9 kB / 0.8435 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007676/3.282, allocations: 87.12 kB / 0.8435 GB, free: 113.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01529/3.297, allocations: 4.633 MB / 0.8481 GB, free: 112.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.12e-07/3.298, allocations: 0 / 0.8481 GB, free: 112.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01452/3.312, allocations: 1.786 MB / 0.8498 GB, free: 112.9 MB / 474.7 MB 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.03049/3.343, allocations: 12.02 MB / 0.8615 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02164/3.364, allocations: 9.116 MB / 0.8705 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/3.364, allocations: 5.719 kB / 0.8705 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009588/3.374, allocations: 3.486 MB / 0.8739 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008016/3.382, allocations: 0.8145 MB / 0.8747 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05596/3.438, allocations: 16.81 MB / 0.8911 GB, free: 99.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01436/3.453, allocations: 5.602 MB / 0.8965 GB, free: 97.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01536/3.468, allocations: 3.173 MB / 0.8996 GB, free: 97.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/3.478, allocations: 3.647 MB / 0.9032 GB, free: 94.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/3.478, allocations: 0 / 0.9032 GB, free: 94.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6743/4.153, allocations: 141.8 MB / 1.042 GB, free: 111.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/4.153, allocations: 184.6 kB / 1.042 GB, free: 111.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/13.08, allocations: 4 kB / 1.042 GB, free: 111.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat