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 1.99/1.99, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.232e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09618, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5199/0.6162, allocations: 96.77 MB / 396.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.6165, allocations: 84.59 kB / 396.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9464/1.563, allocations: 135.7 MB / 0.5201 GB, free: 63.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.563, allocations: 0 / 0.5201 GB, free: 63.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006889/1.564, allocations: 130.2 kB / 0.5202 GB, free: 63.71 MB / 410.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.03228/1.596, allocations: 7.04 MB / 0.5271 GB, free: 62.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.596, allocations: 13.11 kB / 0.5271 GB, free: 62.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005965/1.602, allocations: 1.141 MB / 0.5282 GB, free: 62.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05808/1.66, allocations: 7.565 MB / 0.5356 GB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03532/1.696, allocations: 9.683 MB / 0.545 GB, free: 61.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/1.696, allocations: 490.9 kB / 0.5455 GB, free: 61.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003834/1.7, allocations: 0.6563 MB / 0.5461 GB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05278/1.753, allocations: 16.48 MB / 0.5622 GB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006164/1.754, allocations: 103.8 kB / 0.5623 GB, free: 57.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/1.757, allocations: 311 kB / 0.5626 GB, free: 57.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003855/1.761, allocations: 1.584 MB / 0.5642 GB, free: 57.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04467/1.806, allocations: 13.24 MB / 0.5771 GB, free: 57.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/1.931, allocations: 74.33 MB / 0.6497 GB, free: 19.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0379/1.969, allocations: 7.663 MB / 0.6572 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008292/1.977, allocations: 3.979 MB / 0.6611 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04824/2.025, allocations: 18.69 MB / 0.6793 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.269e-05/2.026, allocations: 72.09 kB / 0.6794 GB, free: 9.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 6.452e-06/2.026, allocations: 0 / 0.6794 GB, free: 9.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.5402/2.566, allocations: 40.4 MB / 0.7188 GB, free: 90.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/2.566, allocations: 277.6 kB / 0.7191 GB, free: 90.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/2.581, allocations: 5.299 MB / 0.7243 GB, free: 89.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/2.582, allocations: 78.42 kB / 0.7244 GB, free: 89.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004744/2.587, allocations: 4.763 MB / 0.729 GB, free: 87.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002437/2.589, allocations: 1.345 MB / 0.7303 GB, free: 86.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/2.591, allocations: 184.8 kB / 0.7305 GB, free: 86.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001155/2.592, allocations: 0.6929 MB / 0.7312 GB, free: 85.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0101/2.603, allocations: 3.687 MB / 0.7348 GB, free: 85.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01568/2.618, allocations: 8.82 MB / 0.7434 GB, free: 79.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/2.633, allocations: 5.608 MB / 0.7489 GB, free: 79.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002518/2.633, allocations: 49.84 kB / 0.7489 GB, free: 79.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05921/2.692, allocations: 15.9 MB / 0.7644 GB, free: 76.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/2.693, allocations: 81.97 kB / 0.7645 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/2.693, allocations: 181.1 kB / 0.7647 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/2.716, allocations: 4.085 MB / 0.7687 GB, free: 76.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01849/2.735, allocations: 2.045 MB / 0.7707 GB, free: 76.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07509/2.81, allocations: 21.73 MB / 0.7919 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01758/2.828, allocations: 0.5522 MB / 0.7924 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003288/2.831, allocations: 0.5319 MB / 0.793 GB, free: 62.62 MB / 442.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.005197/2.836, allocations: 0.8026 MB / 0.7937 GB, free: 61.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/2.839, allocations: 0.5707 MB / 0.7943 GB, free: 61.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03842/2.878, allocations: 9.674 MB / 0.8038 GB, free: 53.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-05/2.878, allocations: 40 kB / 0.8038 GB, free: 53.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.816e-05/2.878, allocations: 20 kB / 0.8038 GB, free: 53.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/2.878, allocations: 13.78 kB / 0.8038 GB, free: 53.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06189/2.94, allocations: 19.1 MB / 0.8225 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-05/2.94, allocations: 0 / 0.8225 GB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00526/2.945, allocations: 0.5062 MB / 0.823 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02084/2.966, allocations: 3.559 MB / 0.8265 GB, free: 35.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008893/2.967, allocations: 63.33 kB / 0.8265 GB, free: 35.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3672/3.334, allocations: 18.77 MB / 0.8448 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/3.334, allocations: 1.719 kB / 0.8448 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04851/3.383, allocations: 14.12 MB / 0.8586 GB, free: 80.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004591/3.387, allocations: 1.121 MB / 0.8597 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002173/3.39, allocations: 60.25 kB / 0.8598 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/3.396, allocations: 227.6 kB / 0.86 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/3.398, allocations: 219.4 kB / 0.8602 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004142/3.398, allocations: 95 kB / 0.8603 GB, free: 80.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009518/3.408, allocations: 3.702 MB / 0.8639 GB, free: 80.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.663e-06/3.408, allocations: 3.375 kB / 0.8639 GB, free: 80.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01239/3.42, allocations: 1.849 MB / 0.8657 GB, free: 80.5 MB / 442.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.04653/3.467, allocations: 14.99 MB / 0.8804 GB, free: 79.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02317/3.49, allocations: 9.224 MB / 0.8894 GB, free: 78.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.49, allocations: 0 / 0.8894 GB, free: 78.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/3.5, allocations: 3.659 MB / 0.8929 GB, free: 78.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/3.507, allocations: 0.7215 MB / 0.8936 GB, free: 78.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0506/3.558, allocations: 15.3 MB / 0.9086 GB, free: 74.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01157/3.569, allocations: 5.006 MB / 0.9135 GB, free: 72.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01389/3.583, allocations: 2.798 MB / 0.9162 GB, free: 72.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007818/3.591, allocations: 3.267 MB / 0.9194 GB, free: 69.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.615e-06/3.591, allocations: 0 / 0.9194 GB, free: 69.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7246/4.316, allocations: 141 MB / 1.057 GB, free: 69.58 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/4.316, allocations: 199.7 kB / 1.057 GB, free: 69.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/12.78, allocations: 0 / 1.057 GB, free: 69.35 MB / 442.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