Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.67/2.67, allocations: 249.5 MB / 261.6 MB, free: 2.18 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.205e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.6301, allocations: 112.7 MB / 495 MB, free: 11.75 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6304, allocations: 79.95 kB / 495.1 MB, free: 11.67 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9494/1.58, allocations: 136.4 MB / 0.6167 GB, free: 58.59 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.255e-06/1.58, allocations: 0 / 0.6167 GB, free: 58.59 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005153/1.58, allocations: 136 kB / 0.6168 GB, free: 58.46 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.0305/1.611, allocations: 7.043 MB / 0.6237 GB, free: 51.34 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/1.611, allocations: 16.03 kB / 0.6237 GB, free: 51.32 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005607/1.617, allocations: 1.15 MB / 0.6249 GB, free: 50.16 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05777/1.674, allocations: 7.565 MB / 0.6322 GB, free: 42.58 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03648/1.711, allocations: 9.81 MB / 0.6418 GB, free: 32.68 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006895/1.712, allocations: 488.9 kB / 0.6423 GB, free: 32.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003978/1.716, allocations: 0.6558 MB / 0.6429 GB, free: 31.55 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05543/1.771, allocations: 16.51 MB / 0.6591 GB, free: 13.59 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006647/1.772, allocations: 99.17 kB / 0.6591 GB, free: 13.49 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003714/1.776, allocations: 315.8 kB / 0.6594 GB, free: 13.18 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003823/1.78, allocations: 1.584 MB / 0.661 GB, free: 11.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04655/1.826, allocations: 13.25 MB / 0.6739 GB, free: 14.32 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5835/2.41, allocations: 74.41 MB / 0.7466 GB, free: 63.81 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03959/2.449, allocations: 7.653 MB / 0.7541 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008997/2.458, allocations: 3.984 MB / 0.758 GB, free: 63.08 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04891/2.507, allocations: 18.7 MB / 0.7762 GB, free: 58.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/2.508, allocations: 64.72 kB / 0.7763 GB, free: 58.46 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=287): time 7.073e-06/2.508, allocations: 0 / 0.7763 GB, free: 58.46 MB / 0.4949 GB Notification: Performance of matching and sorting (n=370): time 0.2268/2.734, allocations: 38.93 MB / 0.8143 GB, free: 48.64 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/2.735, allocations: 270.8 kB / 0.8146 GB, free: 48.36 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01433/2.749, allocations: 5.327 MB / 0.8198 GB, free: 44.77 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/2.75, allocations: 81.7 kB / 0.8198 GB, free: 44.69 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004693/2.755, allocations: 4.767 MB / 0.8245 GB, free: 40.43 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002405/2.757, allocations: 1.359 MB / 0.8258 GB, free: 39.22 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/2.759, allocations: 190.8 kB / 0.826 GB, free: 39.04 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009021/2.76, allocations: 0.695 MB / 0.8267 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009879/2.77, allocations: 3.669 MB / 0.8303 GB, free: 35.14 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/2.783, allocations: 8.817 MB / 0.8389 GB, free: 24.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/2.797, allocations: 5.592 MB / 0.8443 GB, free: 20.03 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002174/2.797, allocations: 52 kB / 0.8444 GB, free: 19.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05401/2.851, allocations: 15.37 MB / 0.8594 GB, free: 7.867 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.851, allocations: 80 kB / 0.8595 GB, free: 7.789 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003137/2.851, allocations: 184 kB / 0.8597 GB, free: 7.609 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0227/2.874, allocations: 4.012 MB / 0.8636 GB, free: 4.824 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01373/2.888, allocations: 2.051 MB / 0.8656 GB, free: 3.035 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06296/2.951, allocations: 20.94 MB / 0.886 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/2.964, allocations: 0.5422 MB / 0.8866 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002816/2.966, allocations: 0.5376 MB / 0.8871 GB, free: 14.86 MB / 0.5261 GB 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.004564/2.971, allocations: 0.7968 MB / 0.8879 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002671/2.974, allocations: 0.5746 MB / 0.8884 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04313/3.017, allocations: 9.45 MB / 0.8977 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-05/3.017, allocations: 36 kB / 0.8977 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.881e-05/3.017, allocations: 16 kB / 0.8977 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/3.017, allocations: 27.86 kB / 0.8977 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07802/3.095, allocations: 18.95 MB / 0.9162 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/3.095, allocations: 0 / 0.9162 GB, free: 0.8398 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005711/3.101, allocations: 0.507 MB / 0.9167 GB, free: 340 kB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02365/3.125, allocations: 3.575 MB / 0.9202 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/3.126, allocations: 60 kB / 0.9203 GB, free: 12.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4712/3.597, allocations: 18.72 MB / 0.9386 GB, free: 160.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/3.597, allocations: 0 / 0.9386 GB, free: 160.2 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/3.642, allocations: 13.95 MB / 0.9522 GB, free: 159.5 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004347/3.646, allocations: 1.129 MB / 0.9533 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/3.648, allocations: 58.2 kB / 0.9533 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006558/3.655, allocations: 222 kB / 0.9535 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/3.656, allocations: 224.8 kB / 0.9538 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/3.657, allocations: 91.16 kB / 0.9538 GB, free: 159.4 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.009393/3.666, allocations: 3.717 MB / 0.9575 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.273e-06/3.666, allocations: 3.531 kB / 0.9575 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01242/3.679, allocations: 1.847 MB / 0.9593 GB, free: 159.2 MB / 0.5574 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.04459/3.723, allocations: 14.81 MB / 0.9738 GB, free: 157.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02284/3.746, allocations: 9.203 MB / 0.9827 GB, free: 154.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/3.746, allocations: 0 / 0.9827 GB, free: 154.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.009697/3.756, allocations: 3.669 MB / 0.9863 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00663/3.763, allocations: 0.7263 MB / 0.987 GB, free: 152.4 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05202/3.815, allocations: 15.36 MB / 1.002 GB, free: 147.2 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/3.827, allocations: 5.021 MB / 1.007 GB, free: 145.2 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01404/3.841, allocations: 2.806 MB / 1.01 GB, free: 143.6 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007676/3.848, allocations: 3.273 MB / 1.013 GB, free: 140.6 MB / 0.5574 GB Notification: Performance of SimCode: time 2.124e-06/3.849, allocations: 4 kB / 1.013 GB, free: 140.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7715/4.62, allocations: 140.5 MB / 1.15 GB, free: 144.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/4.62, allocations: 180 kB / 1.15 GB, free: 143.9 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/13.49, allocations: 0 / 1.15 GB, free: 143.9 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat