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 1.984/1.984, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.607e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5704, allocations: 95.87 MB / 417.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.5708, allocations: 79.95 kB / 417.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7545/1.325, allocations: 97.19 MB / 0.503 GB, free: 89.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.325, allocations: 0 / 0.503 GB, free: 89.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003284/1.326, allocations: 103.5 kB / 0.503 GB, free: 89.25 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.0323/1.358, allocations: 5.509 MB / 0.5084 GB, free: 87.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.358, allocations: 10.31 kB / 0.5084 GB, free: 87.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004382/1.363, allocations: 0.9271 MB / 0.5093 GB, free: 87.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.382, allocations: 2.323 MB / 0.5116 GB, free: 86.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/1.402, allocations: 4.962 MB / 0.5165 GB, free: 86.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007007/1.403, allocations: 394.1 kB / 0.5168 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003941/1.407, allocations: 0.5078 MB / 0.5173 GB, free: 86.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04334/1.45, allocations: 12.8 MB / 0.5298 GB, free: 83.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004299/1.451, allocations: 65.34 kB / 0.5299 GB, free: 83.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003209/1.454, allocations: 248.3 kB / 0.5301 GB, free: 83.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/1.457, allocations: 1.208 MB / 0.5313 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/1.492, allocations: 10.88 MB / 0.5419 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09588/1.588, allocations: 55.78 MB / 0.5964 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02701/1.615, allocations: 5.243 MB / 0.6015 GB, free: 41.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006835/1.622, allocations: 3.273 MB / 0.6047 GB, free: 38.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002366/1.624, allocations: 1.015 MB / 0.6057 GB, free: 37.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.901e-05/1.624, allocations: 55.81 kB / 0.6058 GB, free: 37.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 7.995e-06/1.624, allocations: 0 / 0.6058 GB, free: 37.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.1044/1.729, allocations: 21.96 MB / 0.6272 GB, free: 19.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/1.729, allocations: 158.5 kB / 0.6274 GB, free: 18.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.74, allocations: 3.972 MB / 0.6312 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008347/1.74, allocations: 61.7 kB / 0.6313 GB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003141/1.744, allocations: 3.54 MB / 0.6348 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.745, allocations: 0.9627 MB / 0.6357 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.746, allocations: 136 kB / 0.6358 GB, free: 11.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005155/1.747, allocations: 0.5951 MB / 0.6364 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007554/1.754, allocations: 2.963 MB / 0.6393 GB, free: 8.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.765, allocations: 6.836 MB / 0.646 GB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.777, allocations: 4.462 MB / 0.6503 GB, free: 11.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.777, allocations: 40 kB / 0.6504 GB, free: 10.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03421/1.811, allocations: 10.32 MB / 0.6604 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.812, allocations: 64.22 kB / 0.6605 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/1.812, allocations: 144 kB / 0.6606 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3138/2.126, allocations: 1.122 MB / 0.6617 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01264/2.138, allocations: 1.708 MB / 0.6634 GB, free: 93.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/2.152, allocations: 5.914 MB / 0.6692 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009235/2.161, allocations: 425.5 kB / 0.6696 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/2.163, allocations: 426.1 kB / 0.67 GB, free: 91.93 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.001868/2.165, allocations: 0.6223 MB / 0.6706 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/2.166, allocations: 412.6 kB / 0.671 GB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/2.183, allocations: 5.578 MB / 0.6764 GB, free: 91.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/2.183, allocations: 28.44 kB / 0.6765 GB, free: 91.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/2.183, allocations: 3.406 kB / 0.6765 GB, free: 91.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/2.183, allocations: 14.45 kB / 0.6765 GB, free: 91.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03358/2.217, allocations: 12.25 MB / 0.6885 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/2.217, allocations: 6.875 kB / 0.6885 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005431/2.222, allocations: 0.5103 MB / 0.689 GB, free: 90.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00434/2.227, allocations: 0.9326 MB / 0.6899 GB, free: 90.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007083/2.228, allocations: 47.06 kB / 0.6899 GB, free: 90.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/2.238, allocations: 5.658 MB / 0.6954 GB, free: 89.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/2.238, allocations: 6.406 kB / 0.6954 GB, free: 89.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02287/2.261, allocations: 9.833 MB / 0.705 GB, free: 85.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003719/2.265, allocations: 0.9163 MB / 0.7059 GB, free: 84.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/2.266, allocations: 43.23 kB / 0.706 GB, free: 84.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00439/2.271, allocations: 189.3 kB / 0.7062 GB, free: 84.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/2.271, allocations: 159.7 kB / 0.7063 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/2.272, allocations: 72.84 kB / 0.7064 GB, free: 84.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006463/2.278, allocations: 2.776 MB / 0.7091 GB, free: 83.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.303e-06/2.278, allocations: 2.844 kB / 0.7091 GB, free: 83.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008873/2.287, allocations: 1.257 MB / 0.7103 GB, free: 83.77 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.0233/2.31, allocations: 11.19 MB / 0.7213 GB, free: 78.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01715/2.328, allocations: 6.967 MB / 0.7281 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.328, allocations: 0 / 0.7281 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007005/2.335, allocations: 2.699 MB / 0.7307 GB, free: 75.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/2.339, allocations: 452 kB / 0.7311 GB, free: 75.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03819/2.378, allocations: 11.76 MB / 0.7426 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007303/2.385, allocations: 3.903 MB / 0.7464 GB, free: 66.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01051/2.395, allocations: 2.291 MB / 0.7487 GB, free: 65.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006491/2.402, allocations: 2.325 MB / 0.7509 GB, free: 63.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.715e-06/2.402, allocations: 2 kB / 0.7509 GB, free: 63.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5789/2.981, allocations: 95.77 MB / 0.8445 GB, free: 95.59 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/2.981, allocations: 181.3 kB / 0.8446 GB, free: 95.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.142/9.124, allocations: 0 / 0.8446 GB, free: 95.36 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