Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.939e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5471, allocations: 95.86 MB / 417.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5475, allocations: 75.95 kB / 417.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7317/1.279, allocations: 97.19 MB / 0.5029 GB, free: 89.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.279, allocations: 0 / 0.5029 GB, free: 89.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003609/1.28, allocations: 98.03 kB / 0.503 GB, free: 89.54 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0335/1.313, allocations: 5.512 MB / 0.5084 GB, free: 87.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.313, allocations: 8.375 kB / 0.5084 GB, free: 87.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005284/1.319, allocations: 0.9258 MB / 0.5093 GB, free: 87.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/1.338, allocations: 2.323 MB / 0.5116 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/1.358, allocations: 4.964 MB / 0.5164 GB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/1.359, allocations: 395.9 kB / 0.5168 GB, free: 86.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/1.362, allocations: 0.505 MB / 0.5173 GB, free: 86.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/1.408, allocations: 12.86 MB / 0.5299 GB, free: 83.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/1.408, allocations: 61.94 kB / 0.5299 GB, free: 83.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/1.411, allocations: 247.2 kB / 0.5302 GB, free: 83.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/1.414, allocations: 1.215 MB / 0.5313 GB, free: 83.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04799/1.462, allocations: 11.08 MB / 0.5422 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09649/1.559, allocations: 55.77 MB / 0.5966 GB, free: 43.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/1.586, allocations: 5.264 MB / 0.6018 GB, free: 41.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006474/1.593, allocations: 3.271 MB / 0.605 GB, free: 38.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/1.595, allocations: 1.014 MB / 0.6059 GB, free: 37.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.656e-05/1.595, allocations: 63.75 kB / 0.606 GB, free: 37.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.653e-06/1.595, allocations: 0 / 0.606 GB, free: 37.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1034/1.699, allocations: 21.96 MB / 0.6274 GB, free: 18.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.699, allocations: 166.3 kB / 0.6276 GB, free: 18.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.709, allocations: 3.967 MB / 0.6315 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008571/1.71, allocations: 69.61 kB / 0.6315 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/1.713, allocations: 3.538 MB / 0.635 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.715, allocations: 0.9574 MB / 0.6359 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.717, allocations: 132 kB / 0.6361 GB, free: 10.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000617/1.717, allocations: 0.5961 MB / 0.6366 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007761/1.725, allocations: 2.968 MB / 0.6395 GB, free: 7.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/1.736, allocations: 6.872 MB / 0.6463 GB, free: 15.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.748, allocations: 4.463 MB / 0.6506 GB, free: 10.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/1.748, allocations: 44 kB / 0.6507 GB, free: 10.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03408/1.782, allocations: 10.71 MB / 0.6611 GB, free: 72 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.782, allocations: 67.95 kB / 0.6612 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3066/2.089, allocations: 137.5 kB / 0.6613 GB, free: 93.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/2.095, allocations: 1.121 MB / 0.6624 GB, free: 93.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/2.108, allocations: 1.709 MB / 0.6641 GB, free: 93.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/2.122, allocations: 5.914 MB / 0.6698 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009409/2.131, allocations: 426.1 kB / 0.6703 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002149/2.134, allocations: 424 kB / 0.6707 GB, free: 92.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (852): * Single equations (assignments): 848 * 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.002906/2.137, allocations: 0.6211 MB / 0.6713 GB, free: 92.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/2.138, allocations: 411.3 kB / 0.6717 GB, free: 92.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0182/2.156, allocations: 5.578 MB / 0.6771 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.308e-05/2.156, allocations: 28.3 kB / 0.6771 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/2.156, allocations: 4.625 kB / 0.6771 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-05/2.156, allocations: 12.59 kB / 0.6771 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03404/2.19, allocations: 12.26 MB / 0.6891 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/2.19, allocations: 3.625 kB / 0.6891 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005483/2.196, allocations: 0.5087 MB / 0.6896 GB, free: 91.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004382/2.2, allocations: 0.9382 MB / 0.6905 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007947/2.201, allocations: 51.73 kB / 0.6906 GB, free: 91.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/2.212, allocations: 5.649 MB / 0.6961 GB, free: 89.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/2.212, allocations: 3.969 kB / 0.6961 GB, free: 89.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02486/2.237, allocations: 9.829 MB / 0.7057 GB, free: 85.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/2.241, allocations: 0.9181 MB / 0.7066 GB, free: 85.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/2.243, allocations: 44.45 kB / 0.7066 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/2.248, allocations: 199.3 kB / 0.7068 GB, free: 85.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.25, allocations: 148.4 kB / 0.707 GB, free: 85.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004879/2.25, allocations: 71.03 kB / 0.707 GB, free: 85.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007725/2.258, allocations: 2.782 MB / 0.7098 GB, free: 84.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.258, allocations: 3.375 kB / 0.7098 GB, free: 84.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009263/2.267, allocations: 1.261 MB / 0.711 GB, free: 83.91 MB / 442.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.0261/2.293, allocations: 11.18 MB / 0.7219 GB, free: 78.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01776/2.311, allocations: 7.171 MB / 0.7289 GB, free: 76.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.311, allocations: 0 / 0.7289 GB, free: 76.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007165/2.318, allocations: 2.721 MB / 0.7316 GB, free: 75.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/2.323, allocations: 460.1 kB / 0.732 GB, free: 75.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04231/2.366, allocations: 11.78 MB / 0.7435 GB, free: 69.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009388/2.375, allocations: 3.913 MB / 0.7473 GB, free: 66.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01181/2.387, allocations: 2.284 MB / 0.7496 GB, free: 64.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0066/2.393, allocations: 2.324 MB / 0.7518 GB, free: 62.81 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/2.394, allocations: 0 / 0.7518 GB, free: 62.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.604/2.998, allocations: 96.45 MB / 0.846 GB, free: 96.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/2.998, allocations: 178.8 kB / 0.8462 GB, free: 96.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.936/8.933, allocations: 0 / 0.8462 GB, free: 96.65 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat