Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.246e-05, allocations: 7.938 kB / 299.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4388, allocations: 54.84 MB / 354.3 MB, free: 132 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/0.6898, allocations: 102 MB / 456.3 MB, free: 9.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.6902, allocations: 87.94 kB / 456.4 MB, free: 9.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6691/1.359, allocations: 95.18 MB / 0.5387 GB, free: 57.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.359, allocations: 0 / 0.5387 GB, free: 57.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002948/1.36, allocations: 104 kB / 0.5388 GB, free: 57.44 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02989/1.39, allocations: 5.498 MB / 0.5441 GB, free: 51.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.39, allocations: 12.03 kB / 0.5442 GB, free: 51.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/1.407, allocations: 2.317 MB / 0.5464 GB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/1.425, allocations: 4.968 MB / 0.5513 GB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/1.425, allocations: 168 kB / 0.5514 GB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/1.427, allocations: 303.9 kB / 0.5517 GB, free: 44.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01903/1.446, allocations: 7.818 MB / 0.5594 GB, free: 36.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/1.473, allocations: 11.47 MB / 0.5706 GB, free: 23.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/1.474, allocations: 63.41 kB / 0.5706 GB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/1.475, allocations: 36 kB / 0.5706 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002518/1.477, allocations: 1.216 MB / 0.5718 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/1.589, allocations: 53.55 MB / 0.6241 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.6, allocations: 4.449 MB / 0.6285 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006937/1.607, allocations: 3.225 MB / 0.6316 GB, free: 7.637 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/1.61, allocations: 1.018 MB / 0.6326 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/1.61, allocations: 55.88 kB / 0.6327 GB, free: 6.387 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.121e-06/1.61, allocations: 0 / 0.6327 GB, free: 6.387 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.4237/2.034, allocations: 22.9 MB / 0.655 GB, free: 101.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/2.034, allocations: 161.1 kB / 0.6552 GB, free: 101 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/2.041, allocations: 3.279 MB / 0.6584 GB, free: 100.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008213/2.042, allocations: 28.77 kB / 0.6584 GB, free: 100.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00331/2.045, allocations: 3.603 MB / 0.6619 GB, free: 98.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/2.047, allocations: 0.928 MB / 0.6628 GB, free: 98.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.048, allocations: 3.969 kB / 0.6628 GB, free: 98.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005242/2.049, allocations: 0.6026 MB / 0.6634 GB, free: 97.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006756/2.056, allocations: 2.877 MB / 0.6662 GB, free: 97.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009778/2.066, allocations: 6.931 MB / 0.673 GB, free: 92.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009719/2.075, allocations: 4.409 MB / 0.6773 GB, free: 92.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001858/2.076, allocations: 40.81 kB / 0.6774 GB, free: 92.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02839/2.104, allocations: 9.961 MB / 0.6871 GB, free: 89.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/2.104, allocations: 68.59 kB / 0.6871 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/2.104, allocations: 145 kB / 0.6873 GB, free: 89.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004711/2.109, allocations: 1.146 MB / 0.6884 GB, free: 89.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/2.121, allocations: 1.758 MB / 0.6901 GB, free: 89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/2.131, allocations: 5.621 MB / 0.6956 GB, free: 86.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008638/2.14, allocations: 295.4 kB / 0.6959 GB, free: 86.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/2.142, allocations: 442 kB / 0.6963 GB, free: 86.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (882): * Single equations (assignments): 878 * 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.002412/2.145, allocations: 478.7 kB / 0.6968 GB, free: 85.69 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0146/2.159, allocations: 5.482 MB / 0.7021 GB, free: 83.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/2.161, allocations: 371 kB / 0.7025 GB, free: 83.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/2.176, allocations: 5.367 MB / 0.7077 GB, free: 78.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/2.176, allocations: 28.78 kB / 0.7077 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/2.176, allocations: 8 kB / 0.7078 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/2.176, allocations: 9 kB / 0.7078 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/2.208, allocations: 11.15 MB / 0.7186 GB, free: 69.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.671e-05/2.209, allocations: 4 kB / 0.7187 GB, free: 69.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005606/2.214, allocations: 0.5117 MB / 0.7192 GB, free: 69.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004428/2.219, allocations: 0.9343 MB / 0.7201 GB, free: 68.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007307/2.219, allocations: 15.14 kB / 0.7201 GB, free: 68.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/2.229, allocations: 5.344 MB / 0.7253 GB, free: 64.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/2.229, allocations: 4 kB / 0.7253 GB, free: 64.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/2.251, allocations: 9.57 MB / 0.7346 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/2.254, allocations: 0.8512 MB / 0.7355 GB, free: 54.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/2.255, allocations: 7.656 kB / 0.7355 GB, free: 54.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003977/2.259, allocations: 157.2 kB / 0.7356 GB, free: 54.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008213/2.26, allocations: 153.2 kB / 0.7358 GB, free: 54.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/2.26, allocations: 67.89 kB / 0.7358 GB, free: 54.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004557/2.265, allocations: 2.181 MB / 0.738 GB, free: 52.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.265, allocations: 4 kB / 0.738 GB, free: 52.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008934/2.274, allocations: 1.083 MB / 0.739 GB, free: 51.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.02145/2.295, allocations: 10.92 MB / 0.7497 GB, free: 41.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01491/2.31, allocations: 6.897 MB / 0.7564 GB, free: 35.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.31, allocations: 0 / 0.7564 GB, free: 35.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005676/2.316, allocations: 2.662 MB / 0.759 GB, free: 33.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/2.32, allocations: 347.5 kB / 0.7594 GB, free: 32.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/2.358, allocations: 11.45 MB / 0.7706 GB, free: 21.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008421/2.367, allocations: 3.901 MB / 0.7744 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01073/2.377, allocations: 2.31 MB / 0.7766 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006397/2.384, allocations: 2.297 MB / 0.7789 GB, free: 12.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/2.384, allocations: 0 / 0.7789 GB, free: 12.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5857/2.97, allocations: 87.46 MB / 0.8643 GB, free: 119.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/2.97, allocations: 140.7 kB / 0.8644 GB, free: 119.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.54/8.51, allocations: 0 / 0.8644 GB, free: 119.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat