Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/4.002e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4081, allocations: 54.86 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.6188, allocations: 101.9 MB / 461.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.6192, allocations: 79.95 kB / 461.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7445/1.364, allocations: 83.98 MB / 0.533 GB, free: 102.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.364, allocations: 0 / 0.533 GB, free: 102.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003541/1.364, allocations: 77.16 kB / 0.5331 GB, free: 102.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.03092/1.395, allocations: 4.496 MB / 0.5375 GB, free: 101.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.395, allocations: 10.52 kB / 0.5375 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003442/1.399, allocations: 0.7669 MB / 0.5382 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01846/1.417, allocations: 2.212 MB / 0.5404 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.435, allocations: 4.519 MB / 0.5448 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005691/1.436, allocations: 317.1 kB / 0.5451 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002726/1.439, allocations: 427.9 kB / 0.5455 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/1.472, allocations: 10.67 MB / 0.556 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000306/1.473, allocations: 56 kB / 0.556 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/1.475, allocations: 203.9 kB / 0.5562 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002445/1.477, allocations: 1.008 MB / 0.5572 GB, free: 97.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/1.505, allocations: 8.906 MB / 0.5659 GB, free: 95.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/1.579, allocations: 47.41 MB / 0.6122 GB, free: 60.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01869/1.597, allocations: 3.566 MB / 0.6157 GB, free: 58.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003859/1.601, allocations: 1.794 MB / 0.6174 GB, free: 58.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.612, allocations: 4.757 MB / 0.6221 GB, free: 55.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.613, allocations: 51.81 kB / 0.6221 GB, free: 55.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 6.292e-06/1.613, allocations: 0 / 0.6221 GB, free: 55.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.03593/1.649, allocations: 9.889 MB / 0.6318 GB, free: 47.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.649, allocations: 145.1 kB / 0.6319 GB, free: 47.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/1.656, allocations: 3.592 MB / 0.6354 GB, free: 44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004666/1.656, allocations: 45.7 kB / 0.6355 GB, free: 43.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002371/1.659, allocations: 3.131 MB / 0.6385 GB, free: 41.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009298/1.66, allocations: 0.5926 MB / 0.6391 GB, free: 40.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/1.66, allocations: 116 kB / 0.6392 GB, free: 40.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/1.661, allocations: 0.55 MB / 0.6397 GB, free: 40.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/1.665, allocations: 1.893 MB / 0.6416 GB, free: 38.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/1.672, allocations: 5.56 MB / 0.647 GB, free: 31.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00712/1.679, allocations: 3.206 MB / 0.6501 GB, free: 28.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.83e-05/1.68, allocations: 36.66 kB / 0.6502 GB, free: 28.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02226/1.702, allocations: 7.926 MB / 0.6579 GB, free: 21.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/1.702, allocations: 60 kB / 0.658 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/1.702, allocations: 132 kB / 0.6581 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/1.706, allocations: 0.9081 MB / 0.659 GB, free: 20.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/1.715, allocations: 1.345 MB / 0.6603 GB, free: 19.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009361/1.724, allocations: 4.778 MB / 0.665 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/1.731, allocations: 323.7 kB / 0.6653 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.732, allocations: 360 kB / 0.6656 GB, free: 13.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.733, allocations: 0.5677 MB / 0.6662 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/1.734, allocations: 335.6 kB / 0.6665 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008397/1.742, allocations: 2.823 MB / 0.6693 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/1.742, allocations: 16 kB / 0.6693 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.742, allocations: 15.92 kB / 0.6693 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.743, allocations: 3.984 kB / 0.6693 GB, free: 9.762 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.762, allocations: 7.084 MB / 0.6762 GB, free: 2.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.762, allocations: 4 kB / 0.6762 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.764, allocations: 251.6 kB / 0.6765 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003567/1.768, allocations: 0.6996 MB / 0.6771 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.768, allocations: 27.88 kB / 0.6772 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009202/1.777, allocations: 4.336 MB / 0.6814 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.778, allocations: 0 / 0.6814 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.792, allocations: 5.142 MB / 0.6864 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/1.795, allocations: 0.6058 MB / 0.687 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009816/1.796, allocations: 20 kB / 0.687 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/1.799, allocations: 91.88 kB / 0.6871 GB, free: 7.262 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/1.799, allocations: 88.88 kB / 0.6872 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.799, allocations: 45.16 kB / 0.6872 GB, free: 7.133 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006335/1.806, allocations: 2.5 MB / 0.6897 GB, free: 4.617 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.806, allocations: 0 / 0.6897 GB, free: 4.617 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006958/1.813, allocations: 0.9524 MB / 0.6906 GB, free: 3.668 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01492/1.828, allocations: 5.943 MB / 0.6964 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/1.84, allocations: 4.6 MB / 0.7009 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.84, allocations: 3.938 kB / 0.7009 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003355/1.843, allocations: 1.347 MB / 0.7022 GB, free: 7.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.847, allocations: 404.7 kB / 0.7026 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3718/2.219, allocations: 8.526 MB / 0.7109 GB, free: 120.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009052/2.228, allocations: 3.308 MB / 0.7142 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00988/2.238, allocations: 1.828 MB / 0.716 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005054/2.243, allocations: 1.845 MB / 0.7178 GB, free: 119.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/2.243, allocations: 5.906 kB / 0.7178 GB, free: 119.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1816/2.425, allocations: 73.73 MB / 0.7898 GB, free: 95.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/2.425, allocations: 183.4 kB / 0.7899 GB, free: 95.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.532/7.957, allocations: 0 / 0.7899 GB, free: 95.23 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat