Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.398e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3094, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.5356, allocations: 96.1 MB / 390.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.536, allocations: 87.95 kB / 390.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8434/1.379, allocations: 133 MB / 0.5112 GB, free: 26.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.379, allocations: 0 / 0.5112 GB, free: 26.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005162/1.38, allocations: 132 kB / 0.5113 GB, free: 26.21 MB / 362.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.02966/1.41, allocations: 7.047 MB / 0.5182 GB, free: 19.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.41, allocations: 8.031 kB / 0.5182 GB, free: 19.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05588/1.466, allocations: 7.561 MB / 0.5256 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03384/1.5, allocations: 9.675 MB / 0.535 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/1.5, allocations: 208 kB / 0.5352 GB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/1.504, allocations: 403.7 kB / 0.5356 GB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02795/1.532, allocations: 9.679 MB / 0.545 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/1.574, allocations: 14.24 MB / 0.5589 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005939/1.575, allocations: 99.11 kB / 0.559 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0037/1.579, allocations: 44 kB / 0.5591 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004372/1.583, allocations: 1.584 MB / 0.5606 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4154/1.999, allocations: 73.67 MB / 0.6326 GB, free: 26.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/2.009, allocations: 5.235 MB / 0.6377 GB, free: 25.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007302/2.017, allocations: 3.764 MB / 0.6414 GB, free: 24.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003543/2.02, allocations: 2.265 MB / 0.6436 GB, free: 22.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.066e-05/2.02, allocations: 72.77 kB / 0.6436 GB, free: 21.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=301): time 7.063e-06/2.02, allocations: 0 / 0.6436 GB, free: 21.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=381): time 0.1679/2.188, allocations: 40.67 MB / 0.6834 GB, free: 4.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/2.188, allocations: 269.9 kB / 0.6836 GB, free: 3.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/2.2, allocations: 4.645 MB / 0.6882 GB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00104/2.201, allocations: 29.7 kB / 0.6882 GB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005429/2.206, allocations: 4.773 MB / 0.6928 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002687/2.209, allocations: 1.352 MB / 0.6942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/2.21, allocations: 0 / 0.6942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008362/2.211, allocations: 0.7104 MB / 0.6949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/2.221, allocations: 3.638 MB / 0.6984 GB, free: 6.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/2.237, allocations: 8.926 MB / 0.7071 GB, free: 11.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/2.251, allocations: 5.578 MB / 0.7126 GB, free: 7.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002301/2.252, allocations: 52 kB / 0.7126 GB, free: 7.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.3791/2.631, allocations: 16 MB / 0.7282 GB, free: 90.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/2.631, allocations: 84.75 kB / 0.7283 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004285/2.631, allocations: 189.8 kB / 0.7285 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02779/2.659, allocations: 4.088 MB / 0.7325 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.673, allocations: 2.102 MB / 0.7346 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05049/2.724, allocations: 21.01 MB / 0.7551 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.735, allocations: 386 kB / 0.7554 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/2.738, allocations: 0.5522 MB / 0.756 GB, free: 87.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * 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 (1121): * Single equations (assignments): 1116 * 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.002979/2.741, allocations: 0.5853 MB / 0.7566 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.037/2.778, allocations: 9.84 MB / 0.7662 GB, free: 87.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.78, allocations: 0.5413 MB / 0.7667 GB, free: 87.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03683/2.817, allocations: 9.565 MB / 0.776 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.665e-05/2.817, allocations: 43.38 kB / 0.7761 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-05/2.817, allocations: 18.12 kB / 0.7761 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.613e-05/2.817, allocations: 20.38 kB / 0.7761 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06401/2.881, allocations: 18.16 MB / 0.7938 GB, free: 78.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/2.881, allocations: 3.562 kB / 0.7938 GB, free: 78.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005231/2.886, allocations: 0.5364 MB / 0.7944 GB, free: 78.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02019/2.907, allocations: 3.514 MB / 0.7978 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/2.908, allocations: 10.92 kB / 0.7978 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04156/2.949, allocations: 17.66 MB / 0.8151 GB, free: 63.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.949, allocations: 7.469 kB / 0.8151 GB, free: 63.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04255/2.992, allocations: 14.3 MB / 0.829 GB, free: 50.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004351/2.996, allocations: 1.084 MB / 0.8301 GB, free: 49.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/2.998, allocations: 8 kB / 0.8301 GB, free: 49.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005799/3.004, allocations: 171.7 kB / 0.8303 GB, free: 49.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/3.006, allocations: 241.6 kB / 0.8305 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004288/3.006, allocations: 103.6 kB / 0.8306 GB, free: 49.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007476/3.014, allocations: 3.116 MB / 0.8336 GB, free: 46.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/3.014, allocations: 0 / 0.8336 GB, free: 46.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01188/3.026, allocations: 1.61 MB / 0.8352 GB, free: 44.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (284): * Single equations (assignments): 279 * 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.04378/3.069, allocations: 15.51 MB / 0.8504 GB, free: 29.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02128/3.091, allocations: 9.223 MB / 0.8594 GB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/3.091, allocations: 448 / 0.8594 GB, free: 19.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008869/3.1, allocations: 3.676 MB / 0.863 GB, free: 16.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/3.106, allocations: 0.5891 MB / 0.8635 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3475/3.453, allocations: 15.01 MB / 0.8782 GB, free: 90.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/3.466, allocations: 5.008 MB / 0.8831 GB, free: 89.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01419/3.48, allocations: 2.88 MB / 0.8859 GB, free: 89.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007643/3.488, allocations: 3.251 MB / 0.8891 GB, free: 89.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.943e-06/3.488, allocations: 0 / 0.8891 GB, free: 89.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/3.803, allocations: 133.8 MB / 1.02 GB, free: 3.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/3.804, allocations: 168.1 kB / 1.02 GB, free: 3.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/11.91, allocations: 6.625 kB / 1.02 GB, free: 3.551 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat