Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.094e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.4026, allocations: 91.01 MB / 354.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.403, allocations: 83.95 kB / 355 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8033/1.206, allocations: 135.6 MB / 490.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.206, allocations: 4 kB / 490.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006753/1.207, allocations: 128 kB / 490.7 MB, free: 14.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.03794/1.245, allocations: 7.047 MB / 497.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/1.245, allocations: 8.031 kB / 497.7 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005641/1.251, allocations: 1.142 MB / 498.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3116/1.562, allocations: 7.56 MB / 0.4946 GB, free: 44.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03391/1.596, allocations: 9.678 MB / 0.504 GB, free: 44.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006317/1.597, allocations: 487.6 kB / 0.5045 GB, free: 44.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003624/1.601, allocations: 0.6564 MB / 0.5051 GB, free: 44.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05009/1.651, allocations: 16.56 MB / 0.5213 GB, free: 40.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005326/1.651, allocations: 99.88 kB / 0.5214 GB, free: 40.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003158/1.655, allocations: 320.1 kB / 0.5217 GB, free: 40.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00372/1.658, allocations: 1.577 MB / 0.5232 GB, free: 40.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04343/1.702, allocations: 13.49 MB / 0.5364 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.14/1.842, allocations: 74.31 MB / 0.609 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05543/1.897, allocations: 7.696 MB / 0.6165 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01397/1.911, allocations: 3.979 MB / 0.6204 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3624/2.274, allocations: 18.69 MB / 0.6386 GB, free: 72.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.153e-05/2.274, allocations: 64 kB / 0.6387 GB, free: 72.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=286): time 7.043e-06/2.274, allocations: 5.016 kB / 0.6387 GB, free: 72.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=367): time 0.2217/2.496, allocations: 40.31 MB / 0.6781 GB, free: 68.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/2.496, allocations: 272.5 kB / 0.6783 GB, free: 68.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/2.509, allocations: 5.292 MB / 0.6835 GB, free: 67.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009773/2.51, allocations: 84.36 kB / 0.6836 GB, free: 67.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00423/2.514, allocations: 4.754 MB / 0.6882 GB, free: 64.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002184/2.516, allocations: 1.349 MB / 0.6895 GB, free: 63.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/2.517, allocations: 181 kB / 0.6897 GB, free: 63.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006915/2.518, allocations: 0.6996 MB / 0.6904 GB, free: 63.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009327/2.527, allocations: 3.684 MB / 0.694 GB, free: 61.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/2.54, allocations: 8.868 MB / 0.7027 GB, free: 53.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/2.553, allocations: 5.608 MB / 0.7081 GB, free: 49.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001712/2.553, allocations: 52 kB / 0.7082 GB, free: 49.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05468/2.608, allocations: 16.41 MB / 0.7242 GB, free: 36.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/2.608, allocations: 84 kB / 0.7243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002793/2.608, allocations: 184.6 kB / 0.7245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/2.631, allocations: 4.082 MB / 0.7284 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01308/2.644, allocations: 2.035 MB / 0.7304 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05253/2.697, allocations: 21.73 MB / 0.7517 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.708, allocations: 0.5544 MB / 0.7522 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002156/2.71, allocations: 0.5306 MB / 0.7527 GB, free: 11.84 MB / 378.7 MB 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.002738/2.713, allocations: 0.7976 MB / 0.7535 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/2.715, allocations: 0.5708 MB / 0.754 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3044/3.019, allocations: 9.849 MB / 0.7637 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/3.019, allocations: 40.81 kB / 0.7637 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-05/3.019, allocations: 18.53 kB / 0.7637 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.739e-05/3.019, allocations: 16.31 kB / 0.7637 GB, free: 60.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06417/3.084, allocations: 19.09 MB / 0.7824 GB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.857e-05/3.084, allocations: 9.969 kB / 0.7824 GB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005134/3.089, allocations: 0.5043 MB / 0.7829 GB, free: 59.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02056/3.109, allocations: 3.554 MB / 0.7864 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008547/3.11, allocations: 69.48 kB / 0.7864 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04368/3.154, allocations: 18.72 MB / 0.8047 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/3.154, allocations: 0 / 0.8047 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04204/3.196, allocations: 14.12 MB / 0.8185 GB, free: 53.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004414/3.201, allocations: 1.121 MB / 0.8196 GB, free: 52.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/3.202, allocations: 59.88 kB / 0.8196 GB, free: 52.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005459/3.208, allocations: 233.2 kB / 0.8199 GB, free: 52.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/3.209, allocations: 225.5 kB / 0.8201 GB, free: 52.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/3.209, allocations: 93.38 kB / 0.8202 GB, free: 52.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008884/3.218, allocations: 3.702 MB / 0.8238 GB, free: 51.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.62e-07/3.218, allocations: 3.688 kB / 0.8238 GB, free: 51.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01189/3.23, allocations: 1.847 MB / 0.8256 GB, free: 51.11 MB / 378.7 MB 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.0632/3.294, allocations: 14.99 MB / 0.8402 GB, free: 45.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02532/3.319, allocations: 9.523 MB / 0.8495 GB, free: 38.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/3.319, allocations: 0 / 0.8495 GB, free: 38.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008865/3.328, allocations: 3.716 MB / 0.8532 GB, free: 35.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006252/3.334, allocations: 0.7193 MB / 0.8539 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/3.38, allocations: 15.32 MB / 0.8688 GB, free: 21.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/3.391, allocations: 5.006 MB / 0.8737 GB, free: 17.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01733/3.409, allocations: 2.796 MB / 0.8764 GB, free: 16.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009044/3.418, allocations: 3.262 MB / 0.8796 GB, free: 13.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/3.418, allocations: 0 / 0.8796 GB, free: 13.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6016/4.02, allocations: 141.9 MB / 1.018 GB, free: 11.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/4.02, allocations: 198.9 kB / 1.018 GB, free: 11.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/11.73, allocations: 0 / 1.018 GB, free: 11.52 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat