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.847/1.847, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.826e-05/4.838e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.28, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.4442, allocations: 91.02 MB / 354.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.4446, allocations: 79.95 kB / 355 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7679/1.213, allocations: 135.6 MB / 490.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.213, allocations: 0 / 490.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005107/1.213, allocations: 131.9 kB / 490.7 MB, free: 14.76 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.0303/1.243, allocations: 7.043 MB / 497.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.244, allocations: 12.03 kB / 497.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004963/1.248, allocations: 1.142 MB / 498.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3296/1.578, allocations: 7.562 MB / 0.4946 GB, free: 44.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03482/1.613, allocations: 9.679 MB / 0.5041 GB, free: 44.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006573/1.614, allocations: 492.2 kB / 0.5045 GB, free: 44.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/1.617, allocations: 0.6527 MB / 0.5052 GB, free: 44.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05057/1.668, allocations: 16.49 MB / 0.5213 GB, free: 40.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004648/1.668, allocations: 98.58 kB / 0.5214 GB, free: 40.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002796/1.671, allocations: 312.3 kB / 0.5216 GB, free: 40.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003632/1.675, allocations: 1.577 MB / 0.5232 GB, free: 40.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0432/1.718, allocations: 13.24 MB / 0.5361 GB, free: 40.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1195/1.838, allocations: 74.3 MB / 0.6087 GB, free: 264 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04043/1.878, allocations: 7.67 MB / 0.6162 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009759/1.888, allocations: 3.975 MB / 0.6201 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3104/2.198, allocations: 18.7 MB / 0.6383 GB, free: 72.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.569e-05/2.199, allocations: 70.3 kB / 0.6384 GB, free: 72.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=286): time 6.503e-06/2.199, allocations: 0 / 0.6384 GB, free: 72.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=367): time 0.2477/2.446, allocations: 40.3 MB / 0.6777 GB, free: 68.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/2.446, allocations: 267 kB / 0.678 GB, free: 68.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/2.46, allocations: 5.294 MB / 0.6832 GB, free: 67.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009958/2.461, allocations: 79.11 kB / 0.6832 GB, free: 67.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004441/2.465, allocations: 4.757 MB / 0.6879 GB, free: 64.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002208/2.467, allocations: 1.354 MB / 0.6892 GB, free: 63.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/2.469, allocations: 189.4 kB / 0.6894 GB, free: 63.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007572/2.469, allocations: 0.6864 MB / 0.6901 GB, free: 63.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00972/2.479, allocations: 3.685 MB / 0.6937 GB, free: 61.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/2.493, allocations: 8.822 MB / 0.7023 GB, free: 53.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/2.505, allocations: 5.605 MB / 0.7077 GB, free: 49.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/2.505, allocations: 55.47 kB / 0.7078 GB, free: 49.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05471/2.56, allocations: 15.89 MB / 0.7233 GB, free: 36.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/2.56, allocations: 87.23 kB / 0.7234 GB, free: 36.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000256/2.561, allocations: 180 kB / 0.7236 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02224/2.583, allocations: 4.082 MB / 0.7276 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01321/2.596, allocations: 2.041 MB / 0.7296 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05131/2.648, allocations: 21.73 MB / 0.7508 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/2.659, allocations: 0.5549 MB / 0.7513 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/2.662, allocations: 0.5296 MB / 0.7518 GB, free: 12.16 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.003572/2.665, allocations: 0.8088 MB / 0.7526 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/2.667, allocations: 0.5708 MB / 0.7532 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3185/2.986, allocations: 9.71 MB / 0.7627 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/2.986, allocations: 38.36 kB / 0.7627 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.158e-05/2.986, allocations: 20.19 kB / 0.7627 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.626e-05/2.986, allocations: 16.84 kB / 0.7627 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06625/3.052, allocations: 19.1 MB / 0.7814 GB, free: 59.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/3.052, allocations: 0 / 0.7814 GB, free: 59.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005197/3.057, allocations: 0.5082 MB / 0.7819 GB, free: 59.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02087/3.078, allocations: 3.563 MB / 0.7854 GB, free: 59.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009456/3.079, allocations: 61.8 kB / 0.7854 GB, free: 59.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04511/3.124, allocations: 18.72 MB / 0.8037 GB, free: 56.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/3.125, allocations: 6.719 kB / 0.8037 GB, free: 56.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04456/3.169, allocations: 14.12 MB / 0.8175 GB, free: 52.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004226/3.173, allocations: 1.12 MB / 0.8186 GB, free: 52.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/3.175, allocations: 65.81 kB / 0.8187 GB, free: 52.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00617/3.181, allocations: 222 kB / 0.8189 GB, free: 52.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/3.183, allocations: 221.1 kB / 0.8191 GB, free: 52.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004135/3.183, allocations: 97.98 kB / 0.8192 GB, free: 52.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009295/3.193, allocations: 3.699 MB / 0.8228 GB, free: 51.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/3.193, allocations: 0 / 0.8228 GB, free: 51.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01222/3.205, allocations: 1.852 MB / 0.8246 GB, free: 50.83 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.04578/3.251, allocations: 14.99 MB / 0.8392 GB, free: 45.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02253/3.273, allocations: 9.221 MB / 0.8482 GB, free: 38.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/3.273, allocations: 0 / 0.8482 GB, free: 38.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009143/3.282, allocations: 3.658 MB / 0.8518 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006861/3.289, allocations: 0.7178 MB / 0.8525 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/3.339, allocations: 15.31 MB / 0.8675 GB, free: 21.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/3.35, allocations: 5.006 MB / 0.8724 GB, free: 17.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01283/3.363, allocations: 2.803 MB / 0.8751 GB, free: 16.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006721/3.369, allocations: 3.258 MB / 0.8783 GB, free: 13.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/3.369, allocations: 0 / 0.8783 GB, free: 13.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6088/3.978, allocations: 141 MB / 1.016 GB, free: 13.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/3.978, allocations: 199.3 kB / 1.016 GB, free: 13.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/11.83, allocations: 4 kB / 1.016 GB, free: 13.2 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