Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.72/2.72, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.409e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4149, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.64, allocations: 104.2 MB / 458.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.6403, allocations: 71.97 kB / 458.6 MB, free: 9.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7772/1.418, allocations: 108.3 MB / 0.5536 GB, free: 74.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.418, allocations: 7.938 kB / 0.5536 GB, free: 74.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004399/1.418, allocations: 111.1 kB / 0.5537 GB, free: 74.14 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02507/1.443, allocations: 5.871 MB / 0.5595 GB, free: 68.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/1.443, allocations: 12.03 kB / 0.5595 GB, free: 68.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04947/1.493, allocations: 6.892 MB / 0.5662 GB, free: 61.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02606/1.519, allocations: 7.067 MB / 0.5731 GB, free: 54.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/1.519, allocations: 172 kB / 0.5733 GB, free: 54.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/1.522, allocations: 331.8 kB / 0.5736 GB, free: 53.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01961/1.542, allocations: 8.103 MB / 0.5815 GB, free: 45.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/1.575, allocations: 12.04 MB / 0.5933 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003925/1.575, allocations: 71.31 kB / 0.5933 GB, free: 32.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00231/1.578, allocations: 36 kB / 0.5934 GB, free: 32.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/1.581, allocations: 1.359 MB / 0.5947 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/1.682, allocations: 60.59 MB / 0.6539 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00972/1.692, allocations: 4.367 MB / 0.6581 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006958/1.699, allocations: 3.048 MB / 0.6611 GB, free: 8.867 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3865/2.085, allocations: 12.36 MB / 0.6732 GB, free: 117 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/2.085, allocations: 66.98 kB / 0.6732 GB, free: 117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.755e-06/2.085, allocations: 0 / 0.6732 GB, free: 117 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.09711/2.182, allocations: 24.84 MB / 0.6975 GB, free: 113.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/2.183, allocations: 259.6 kB / 0.6978 GB, free: 113.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.194, allocations: 3.854 MB / 0.7015 GB, free: 113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006851/2.194, allocations: 25.7 kB / 0.7015 GB, free: 113 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004087/2.198, allocations: 4.026 MB / 0.7055 GB, free: 110 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001651/2.2, allocations: 0.9545 MB / 0.7064 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009226/2.201, allocations: 3.594 kB / 0.7064 GB, free: 109.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005717/2.202, allocations: 0.6257 MB / 0.707 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/2.208, allocations: 2.43 MB / 0.7094 GB, free: 108 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009162/2.217, allocations: 6.881 MB / 0.7161 GB, free: 101.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009176/2.226, allocations: 4.037 MB / 0.7201 GB, free: 99.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/2.226, allocations: 46.12 kB / 0.7201 GB, free: 99.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02546/2.252, allocations: 8.782 MB / 0.7287 GB, free: 97.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/2.252, allocations: 71.38 kB / 0.7287 GB, free: 97.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000371/2.252, allocations: 161.3 kB / 0.7289 GB, free: 97.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/2.255, allocations: 0.5871 MB / 0.7295 GB, free: 97.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/2.267, allocations: 1.792 MB / 0.7312 GB, free: 96.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008819/2.275, allocations: 5.43 MB / 0.7365 GB, free: 93.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009328/2.285, allocations: 262.2 kB / 0.7368 GB, free: 93.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/2.287, allocations: 455.4 kB / 0.7372 GB, free: 92.76 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (943): * Single equations (assignments): 938 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001935/2.289, allocations: 0.5018 MB / 0.7377 GB, free: 92.25 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01022/2.299, allocations: 3.931 MB / 0.7415 GB, free: 88.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.301, allocations: 438.3 kB / 0.742 GB, free: 88.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/2.311, allocations: 3.781 MB / 0.7456 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-05/2.311, allocations: 32.12 kB / 0.7457 GB, free: 85.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/2.311, allocations: 7.953 kB / 0.7457 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.151e-05/2.311, allocations: 14.31 kB / 0.7457 GB, free: 85.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/2.336, allocations: 9.001 MB / 0.7545 GB, free: 77.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/2.336, allocations: 0 / 0.7545 GB, free: 77.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/2.341, allocations: 477 kB / 0.7549 GB, free: 77.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/2.343, allocations: 342.6 kB / 0.7553 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005314/2.343, allocations: 15.12 kB / 0.7553 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/2.354, allocations: 4.751 MB / 0.7599 GB, free: 72.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/2.354, allocations: 0 / 0.7599 GB, free: 72.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/2.376, allocations: 6.888 MB / 0.7667 GB, free: 66.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004092/2.38, allocations: 0.7899 MB / 0.7674 GB, free: 65.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/2.382, allocations: 0 / 0.7674 GB, free: 65.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005813/2.388, allocations: 122.4 kB / 0.7675 GB, free: 65.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.389, allocations: 141.8 kB / 0.7677 GB, free: 65.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/2.389, allocations: 71.36 kB / 0.7677 GB, free: 65.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00896/2.398, allocations: 2.588 MB / 0.7703 GB, free: 63.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.154e-06/2.398, allocations: 0 / 0.7703 GB, free: 63.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01467/2.413, allocations: 1.111 MB / 0.7714 GB, free: 62.12 MB / 474.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 (225): * Single equations (assignments): 220 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0218/2.435, allocations: 7.678 MB / 0.7789 GB, free: 55.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01335/2.448, allocations: 6.07 MB / 0.7848 GB, free: 49.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.448, allocations: 0 / 0.7848 GB, free: 49.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004135/2.453, allocations: 2.118 MB / 0.7868 GB, free: 47.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/2.457, allocations: 472 kB / 0.7873 GB, free: 47.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/2.495, allocations: 11.6 MB / 0.7986 GB, free: 37.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009246/2.504, allocations: 4.212 MB / 0.8027 GB, free: 34.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01226/2.516, allocations: 2.426 MB / 0.8051 GB, free: 32.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007275/2.523, allocations: 2.607 MB / 0.8077 GB, free: 30.17 MB / 474.7 MB Notification: Performance of SimCode: time 2.264e-06/2.524, allocations: 0 / 0.8077 GB, free: 30.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6895/3.213, allocations: 92.49 MB / 0.898 GB, free: 114.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/3.213, allocations: 142.5 kB / 0.8981 GB, free: 113.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/10.07, allocations: 0 / 0.8981 GB, free: 113.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat