Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.889e-05, allocations: 6.469 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.613, allocations: 105.1 MB / 447.7 MB, free: 5.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.6134, allocations: 87.25 kB / 447.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8606/1.474, allocations: 137.9 MB / 0.5719 GB, free: 95.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.474, allocations: 0 / 0.5719 GB, free: 95.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004956/1.475, allocations: 136.5 kB / 0.5721 GB, free: 95.73 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03077/1.505, allocations: 7.036 MB / 0.579 GB, free: 93.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.505, allocations: 10.83 kB / 0.579 GB, free: 93.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005356/1.511, allocations: 1.141 MB / 0.5801 GB, free: 93.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05788/1.569, allocations: 7.564 MB / 0.5875 GB, free: 92.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03327/1.602, allocations: 9.089 MB / 0.5963 GB, free: 90.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005877/1.603, allocations: 490.6 kB / 0.5968 GB, free: 89.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003572/1.606, allocations: 0.6564 MB / 0.5974 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05084/1.657, allocations: 16.5 MB / 0.6136 GB, free: 74.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005237/1.658, allocations: 99.08 kB / 0.6137 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003434/1.661, allocations: 313.8 kB / 0.614 GB, free: 73.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003651/1.665, allocations: 1.587 MB / 0.6155 GB, free: 72.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04297/1.708, allocations: 13.25 MB / 0.6284 GB, free: 59.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4835/2.191, allocations: 74.32 MB / 0.701 GB, free: 41.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04151/2.233, allocations: 7.656 MB / 0.7085 GB, free: 40.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008881/2.242, allocations: 3.988 MB / 0.7124 GB, free: 40.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05584/2.298, allocations: 18.64 MB / 0.7306 GB, free: 36.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.695e-05/2.298, allocations: 75.48 kB / 0.7307 GB, free: 36.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 1.075e-05/2.298, allocations: 0 / 0.7307 GB, free: 36.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.2363/2.534, allocations: 38.73 MB / 0.7685 GB, free: 25.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/2.535, allocations: 267.2 kB / 0.7687 GB, free: 25.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/2.549, allocations: 5.268 MB / 0.7739 GB, free: 23.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/2.55, allocations: 82.33 kB / 0.774 GB, free: 23.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004653/2.554, allocations: 4.759 MB / 0.7786 GB, free: 20.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/2.557, allocations: 1.358 MB / 0.7799 GB, free: 19.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/2.558, allocations: 187.1 kB / 0.7801 GB, free: 18.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008945/2.559, allocations: 0.6944 MB / 0.7808 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009752/2.569, allocations: 3.672 MB / 0.7844 GB, free: 15.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01291/2.582, allocations: 8.813 MB / 0.793 GB, free: 4.504 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/2.595, allocations: 5.601 MB / 0.7985 GB, free: 0 / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006341/2.596, allocations: 78.23 kB / 0.7985 GB, free: 0 / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.06065/2.657, allocations: 15.41 MB / 0.8136 GB, free: 3.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/2.657, allocations: 88.03 kB / 0.8137 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003532/2.657, allocations: 184 kB / 0.8138 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02427/2.681, allocations: 4.011 MB / 0.8178 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/2.697, allocations: 2.056 MB / 0.8198 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06178/2.758, allocations: 20.79 MB / 0.8401 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/2.771, allocations: 0.5422 MB / 0.8406 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002741/2.774, allocations: 0.5285 MB / 0.8411 GB, free: 9.371 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1088): * Single equations (assignments): 1083 * 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%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004429/2.778, allocations: 0.8148 MB / 0.8419 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002485/2.781, allocations: 0.5746 MB / 0.8425 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04353/2.825, allocations: 9.449 MB / 0.8517 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-05/2.825, allocations: 38.58 kB / 0.8517 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/2.825, allocations: 20 kB / 0.8518 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.881e-05/2.825, allocations: 15.94 kB / 0.8518 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07916/2.904, allocations: 18.93 MB / 0.8703 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.868e-05/2.904, allocations: 0 / 0.8703 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005719/2.91, allocations: 0.5071 MB / 0.8708 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02393/2.934, allocations: 3.565 MB / 0.8742 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/2.935, allocations: 63.98 kB / 0.8743 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3982/3.334, allocations: 18.71 MB / 0.8926 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/3.334, allocations: 3.188 kB / 0.8926 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04576/3.379, allocations: 13.95 MB / 0.9062 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/3.381, allocations: 0.5809 MB / 0.9068 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002463/3.384, allocations: 63.77 kB / 0.9068 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006624/3.391, allocations: 219.1 kB / 0.907 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/3.392, allocations: 223 kB / 0.9072 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004984/3.393, allocations: 91.75 kB / 0.9073 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009778/3.403, allocations: 3.677 MB / 0.9109 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.183e-06/3.403, allocations: 0 / 0.9109 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01255/3.415, allocations: 1.853 MB / 0.9127 GB, free: 151.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * 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%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04636/3.462, allocations: 14.82 MB / 0.9272 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02341/3.485, allocations: 9.192 MB / 0.9362 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/3.485, allocations: 1.281 kB / 0.9362 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009642/3.495, allocations: 3.673 MB / 0.9398 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/3.501, allocations: 0.7211 MB / 0.9405 GB, free: 141 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06761/3.569, allocations: 15.3 MB / 0.9554 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01405/3.583, allocations: 5.005 MB / 0.9603 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01337/3.597, allocations: 2.804 MB / 0.963 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007485/3.604, allocations: 3.259 MB / 0.9662 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/3.604, allocations: 0 / 0.9662 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6338/4.238, allocations: 140.1 MB / 1.103 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/4.238, allocations: 193.9 kB / 1.103 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/12.4, allocations: 0 / 1.103 GB, free: 146.1 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat