Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.799e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.5779, allocations: 103.1 MB / 420.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5783, allocations: 86.02 kB / 420.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8709/1.449, allocations: 136.4 MB / 0.5436 GB, free: 85.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.449, allocations: 0 / 0.5436 GB, free: 85.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005014/1.45, allocations: 137.1 kB / 0.5437 GB, free: 85.29 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.03047/1.48, allocations: 7.06 MB / 0.5506 GB, free: 82.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.48, allocations: 7.469 kB / 0.5506 GB, free: 82.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005633/1.486, allocations: 1.148 MB / 0.5517 GB, free: 82.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06177/1.548, allocations: 7.568 MB / 0.5591 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03571/1.584, allocations: 9.697 MB / 0.5686 GB, free: 81.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006966/1.584, allocations: 488.5 kB / 0.569 GB, free: 81.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003903/1.588, allocations: 0.6572 MB / 0.5697 GB, free: 81.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05175/1.64, allocations: 16.5 MB / 0.5858 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004788/1.641, allocations: 102.3 kB / 0.5859 GB, free: 75.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/1.644, allocations: 313.8 kB / 0.5862 GB, free: 75.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003761/1.647, allocations: 1.582 MB / 0.5877 GB, free: 75.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04414/1.691, allocations: 13.25 MB / 0.6007 GB, free: 65.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5135/2.205, allocations: 74.4 MB / 0.6733 GB, free: 33.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04924/2.254, allocations: 7.662 MB / 0.6808 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008462/2.263, allocations: 3.991 MB / 0.6847 GB, free: 32.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04643/2.309, allocations: 18.7 MB / 0.703 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/2.309, allocations: 68.03 kB / 0.703 GB, free: 28.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 6.974e-06/2.309, allocations: 0 / 0.703 GB, free: 28.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=370): time 0.2175/2.527, allocations: 38.94 MB / 0.7411 GB, free: 21.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.527, allocations: 271.6 kB / 0.7413 GB, free: 21.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/2.54, allocations: 5.317 MB / 0.7465 GB, free: 19.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009877/2.541, allocations: 87.28 kB / 0.7466 GB, free: 19.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004395/2.545, allocations: 4.768 MB / 0.7513 GB, free: 15.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002187/2.548, allocations: 1.364 MB / 0.7526 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/2.549, allocations: 188.4 kB / 0.7528 GB, free: 14.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006183/2.549, allocations: 0.6935 MB / 0.7534 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009416/2.559, allocations: 3.667 MB / 0.757 GB, free: 12.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/2.572, allocations: 8.818 MB / 0.7656 GB, free: 2.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01425/2.586, allocations: 5.625 MB / 0.7711 GB, free: 13.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/2.586, allocations: 52 kB / 0.7712 GB, free: 13.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.0616/2.648, allocations: 15.36 MB / 0.7862 GB, free: 1.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/2.648, allocations: 86.03 kB / 0.7863 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003252/2.648, allocations: 183.7 kB / 0.7864 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0238/2.672, allocations: 4.02 MB / 0.7904 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/2.686, allocations: 2.05 MB / 0.7924 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05565/2.742, allocations: 20.83 MB / 0.8127 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/2.753, allocations: 0.5435 MB / 0.8132 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.755, allocations: 0.5312 MB / 0.8138 GB, free: 9.461 MB / 474.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.002298/2.758, allocations: 0.8024 MB / 0.8145 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/2.76, allocations: 0.5824 MB / 0.8151 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03788/2.797, allocations: 9.458 MB / 0.8243 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.806e-05/2.798, allocations: 39.19 kB / 0.8244 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-05/2.798, allocations: 16 kB / 0.8244 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.482e-05/2.798, allocations: 19.94 kB / 0.8244 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07206/2.87, allocations: 18.94 MB / 0.8429 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-05/2.87, allocations: 4 kB / 0.8429 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005451/2.875, allocations: 0.5032 MB / 0.8434 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02305/2.898, allocations: 3.563 MB / 0.8469 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009316/2.899, allocations: 60 kB / 0.8469 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.36/3.259, allocations: 18.72 MB / 0.8652 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/3.259, allocations: 1.312 kB / 0.8652 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04361/3.303, allocations: 13.96 MB / 0.8789 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004492/3.308, allocations: 1.127 MB / 0.88 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002399/3.31, allocations: 59.05 kB / 0.88 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006878/3.317, allocations: 224 kB / 0.8802 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001539/3.319, allocations: 224.8 kB / 0.8804 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000467/3.319, allocations: 90.55 kB / 0.8805 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009694/3.329, allocations: 3.717 MB / 0.8842 GB, free: 141 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.42e-07/3.329, allocations: 0 / 0.8842 GB, free: 141 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01743/3.346, allocations: 1.85 MB / 0.886 GB, free: 141 MB / 0.4948 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.04565/3.392, allocations: 14.82 MB / 0.9004 GB, free: 138 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02892/3.421, allocations: 9.187 MB / 0.9094 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/3.421, allocations: 6.625 kB / 0.9094 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/3.434, allocations: 3.672 MB / 0.913 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008469/3.442, allocations: 0.7243 MB / 0.9137 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0607/3.503, allocations: 15.36 MB / 0.9287 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/3.514, allocations: 5.02 MB / 0.9336 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01326/3.527, allocations: 2.815 MB / 0.9364 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007283/3.535, allocations: 3.27 MB / 0.9396 GB, free: 123 MB / 0.4948 GB Notification: Performance of SimCode: time 1.472e-06/3.535, allocations: 0 / 0.9396 GB, free: 123 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6192/4.154, allocations: 140.6 MB / 1.077 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/4.154, allocations: 197.9 kB / 1.077 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/12.33, allocations: 0 / 1.077 GB, free: 120.1 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat