Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.281e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4071, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.609, allocations: 105.7 MB / 465.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.6094, allocations: 75.95 kB / 465.7 MB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9796/1.589, allocations: 135.8 MB / 0.5874 GB, free: 97.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.589, allocations: 0 / 0.5874 GB, free: 97.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006116/1.59, allocations: 136.2 kB / 0.5875 GB, free: 97.89 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.03695/1.627, allocations: 7.044 MB / 0.5944 GB, free: 93.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.627, allocations: 14.31 kB / 0.5944 GB, free: 93.43 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006198/1.633, allocations: 1.144 MB / 0.5955 GB, free: 92.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05777/1.691, allocations: 7.559 MB / 0.6029 GB, free: 86.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03667/1.728, allocations: 9.804 MB / 0.6125 GB, free: 76.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006903/1.728, allocations: 491.8 kB / 0.6129 GB, free: 76.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/1.732, allocations: 0.6462 MB / 0.6136 GB, free: 75.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0547/1.787, allocations: 16.49 MB / 0.6297 GB, free: 57.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006612/1.788, allocations: 103 kB / 0.6298 GB, free: 57.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003794/1.792, allocations: 312.9 kB / 0.6301 GB, free: 57.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003855/1.796, allocations: 1.583 MB / 0.6316 GB, free: 55.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04577/1.841, allocations: 13.25 MB / 0.6445 GB, free: 42.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5449/2.386, allocations: 74.3 MB / 0.7171 GB, free: 58.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04082/2.427, allocations: 7.662 MB / 0.7246 GB, free: 57.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009341/2.437, allocations: 3.984 MB / 0.7285 GB, free: 57.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04594/2.483, allocations: 18.71 MB / 0.7467 GB, free: 53.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/2.483, allocations: 65.53 kB / 0.7468 GB, free: 53.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 7.514e-06/2.483, allocations: 3.5 kB / 0.7468 GB, free: 53.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.2413/2.724, allocations: 40.29 MB / 0.7862 GB, free: 42.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/2.724, allocations: 272.1 kB / 0.7864 GB, free: 42.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01886/2.743, allocations: 5.294 MB / 0.7916 GB, free: 38.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001406/2.745, allocations: 83.27 kB / 0.7917 GB, free: 38.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006409/2.751, allocations: 4.757 MB / 0.7963 GB, free: 34.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003152/2.754, allocations: 1.352 MB / 0.7976 GB, free: 32.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002253/2.757, allocations: 180 kB / 0.7978 GB, free: 32.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001278/2.758, allocations: 0.7044 MB / 0.7985 GB, free: 32.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01201/2.77, allocations: 3.689 MB / 0.8021 GB, free: 28.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/2.784, allocations: 8.817 MB / 0.8107 GB, free: 18.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.797, allocations: 5.606 MB / 0.8162 GB, free: 13.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002292/2.798, allocations: 52 kB / 0.8162 GB, free: 13.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05766/2.855, allocations: 15.9 MB / 0.8318 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/2.856, allocations: 83.95 kB / 0.8318 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002963/2.856, allocations: 184 kB / 0.832 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02444/2.88, allocations: 4.079 MB / 0.836 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/2.895, allocations: 2.043 MB / 0.838 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06132/2.956, allocations: 21.73 MB / 0.8592 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/2.969, allocations: 0.5617 MB / 0.8598 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/2.972, allocations: 0.535 MB / 0.8603 GB, free: 3.793 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004418/2.976, allocations: 0.8015 MB / 0.8611 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/2.978, allocations: 0.5669 MB / 0.8616 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04314/3.022, allocations: 9.676 MB / 0.8711 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.44e-05/3.022, allocations: 41.09 kB / 0.8711 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-05/3.022, allocations: 20 kB / 0.8711 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/3.022, allocations: 15.94 kB / 0.8711 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07676/3.099, allocations: 19.1 MB / 0.8898 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-05/3.099, allocations: 0 / 0.8898 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005629/3.104, allocations: 0.5032 MB / 0.8903 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02282/3.127, allocations: 3.559 MB / 0.8938 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/3.128, allocations: 67.92 kB / 0.8938 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4378/3.566, allocations: 18.71 MB / 0.9121 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/3.566, allocations: 1.188 kB / 0.9121 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05396/3.62, allocations: 14.13 MB / 0.9259 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005383/3.626, allocations: 1.118 MB / 0.927 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002954/3.629, allocations: 58.31 kB / 0.927 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007425/3.636, allocations: 229.7 kB / 0.9273 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001831/3.638, allocations: 220.6 kB / 0.9275 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000885/3.639, allocations: 91.58 kB / 0.9276 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0127/3.652, allocations: 3.706 MB / 0.9312 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.112e-06/3.652, allocations: 0 / 0.9312 GB, free: 166.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01474/3.667, allocations: 1.851 MB / 0.933 GB, free: 166.8 MB / 0.5417 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04971/3.716, allocations: 14.98 MB / 0.9476 GB, free: 164.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02451/3.741, allocations: 9.227 MB / 0.9566 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/3.741, allocations: 4.859 kB / 0.9566 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01014/3.751, allocations: 3.653 MB / 0.9602 GB, free: 160.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00751/3.759, allocations: 0.7145 MB / 0.9609 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05754/3.816, allocations: 15.3 MB / 0.9758 GB, free: 154.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01358/3.83, allocations: 5.017 MB / 0.9807 GB, free: 153.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01493/3.845, allocations: 2.799 MB / 0.9835 GB, free: 152.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008674/3.854, allocations: 3.265 MB / 0.9867 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.944e-06/3.854, allocations: 0 / 0.9867 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.747/4.601, allocations: 141 MB / 1.124 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/4.601, allocations: 181.5 kB / 1.124 GB, free: 149.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/12.84, allocations: 0 / 1.124 GB, free: 149.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat