Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.929e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4646, allocations: 93.97 MB / 388.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.465, allocations: 87.95 kB / 388.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6557/1.121, allocations: 95.01 MB / 483.3 MB, free: 66.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.121, allocations: 0 / 483.3 MB, free: 66.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000274/1.121, allocations: 99.8 kB / 483.4 MB, free: 65.96 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: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01806/1.139, allocations: 4.661 MB / 488.1 MB, free: 61.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.139, allocations: 12.03 kB / 488.1 MB, free: 61.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03286/1.172, allocations: 4.49 MB / 492.6 MB, free: 56.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/1.191, allocations: 5.05 MB / 497.6 MB, free: 51.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/1.191, allocations: 152 kB / 497.8 MB, free: 51.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.194, allocations: 279.9 kB / 498 MB, free: 51.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01699/1.211, allocations: 6.98 MB / 0.4932 GB, free: 44.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/1.237, allocations: 10.58 MB / 0.5035 GB, free: 32.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.238, allocations: 63.39 kB / 0.5036 GB, free: 32.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/1.239, allocations: 35.95 kB / 0.5036 GB, free: 32.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/1.242, allocations: 1.193 MB / 0.5048 GB, free: 31.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08025/1.322, allocations: 50.51 MB / 0.5541 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008732/1.331, allocations: 4.039 MB / 0.558 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005483/1.336, allocations: 2.399 MB / 0.5604 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/1.338, allocations: 0.6899 MB / 0.5611 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.702e-05/1.338, allocations: 55.88 kB / 0.5611 GB, free: 4.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=207): time 8.516e-06/1.338, allocations: 7.922 kB / 0.5611 GB, free: 4.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=229): time 0.3502/1.688, allocations: 17.08 MB / 0.5778 GB, free: 91.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/1.689, allocations: 182.9 kB / 0.578 GB, free: 91.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007563/1.696, allocations: 3.364 MB / 0.5813 GB, free: 91.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006006/1.697, allocations: 29.27 kB / 0.5813 GB, free: 91.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002991/1.7, allocations: 3.527 MB / 0.5847 GB, free: 89.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.701, allocations: 0.8442 MB / 0.5856 GB, free: 88.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008339/1.702, allocations: 3.594 kB / 0.5856 GB, free: 88.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005168/1.703, allocations: 0.5938 MB / 0.5861 GB, free: 88.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005629/1.708, allocations: 2.399 MB / 0.5885 GB, free: 88.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008711/1.717, allocations: 6.405 MB / 0.5947 GB, free: 83.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008777/1.726, allocations: 3.903 MB / 0.5985 GB, free: 83.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.726, allocations: 38.25 kB / 0.5986 GB, free: 83.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.02408/1.75, allocations: 8.687 MB / 0.6071 GB, free: 80.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.751, allocations: 66.94 kB / 0.6071 GB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.751, allocations: 141.6 kB / 0.6073 GB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003814/1.755, allocations: 0.9266 MB / 0.6082 GB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/1.765, allocations: 1.669 MB / 0.6098 GB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.776, allocations: 5.486 MB / 0.6152 GB, free: 77.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00809/1.785, allocations: 260.1 kB / 0.6154 GB, free: 77.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/1.786, allocations: 422.2 kB / 0.6158 GB, free: 77.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002811/1.789, allocations: 475.3 kB / 0.6163 GB, free: 76.86 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01179/1.801, allocations: 4.173 MB / 0.6203 GB, free: 75.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001458/1.803, allocations: 366.2 kB / 0.6207 GB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.815, allocations: 3.945 MB / 0.6245 GB, free: 73.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.852e-05/1.815, allocations: 25.17 kB / 0.6246 GB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.815, allocations: 4 kB / 0.6246 GB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.898e-05/1.815, allocations: 14.97 kB / 0.6246 GB, free: 73.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02804/1.843, allocations: 9.071 MB / 0.6334 GB, free: 65.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.843, allocations: 4 kB / 0.6334 GB, free: 65.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004251/1.847, allocations: 438.4 kB / 0.6339 GB, free: 65.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/1.851, allocations: 0.7099 MB / 0.6346 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005998/1.851, allocations: 11.38 kB / 0.6346 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009923/1.861, allocations: 4.985 MB / 0.6394 GB, free: 60.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.861, allocations: 8 kB / 0.6394 GB, free: 60.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.878, allocations: 7.316 MB / 0.6466 GB, free: 53.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/1.881, allocations: 0.7391 MB / 0.6473 GB, free: 53.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/1.882, allocations: 4 kB / 0.6473 GB, free: 53.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003901/1.886, allocations: 113.6 kB / 0.6474 GB, free: 53.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.887, allocations: 135 kB / 0.6475 GB, free: 53.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/1.888, allocations: 61.66 kB / 0.6476 GB, free: 53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005924/1.894, allocations: 2.243 MB / 0.6498 GB, free: 51.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.353e-06/1.894, allocations: 0 / 0.6498 GB, free: 51.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009467/1.903, allocations: 0.9891 MB / 0.6508 GB, free: 50.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 186 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01808/1.921, allocations: 8.456 MB / 0.659 GB, free: 42.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.935, allocations: 5.911 MB / 0.6648 GB, free: 37.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.935, allocations: 0 / 0.6648 GB, free: 37.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005489/1.941, allocations: 2.151 MB / 0.6669 GB, free: 35.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/1.944, allocations: 350.5 kB / 0.6672 GB, free: 34.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/1.979, allocations: 10.36 MB / 0.6773 GB, free: 25.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00863/1.987, allocations: 3.762 MB / 0.681 GB, free: 22.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01101/1.998, allocations: 2.266 MB / 0.6832 GB, free: 20.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005679/2.004, allocations: 2.21 MB / 0.6854 GB, free: 18.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.874e-06/2.004, allocations: 4 kB / 0.6854 GB, free: 18.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.544/2.548, allocations: 79.99 MB / 0.7635 GB, free: 86.56 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/2.549, allocations: 158.4 kB / 0.7637 GB, free: 86.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/7.989, allocations: 0 / 0.7637 GB, free: 86.37 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat