Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.192e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4821/0.5939, allocations: 95.69 MB / 417.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5942, allocations: 79.95 kB / 417.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011/1.605, allocations: 147.6 MB / 0.552 GB, free: 89.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.605, allocations: 0 / 0.552 GB, free: 89.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006657/1.606, allocations: 144 kB / 0.5521 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.06362/1.669, allocations: 8.563 MB / 0.5605 GB, free: 86.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/1.67, allocations: 9.531 kB / 0.5605 GB, free: 86.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007324/1.677, allocations: 1.155 MB / 0.5616 GB, free: 85.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1139/1.791, allocations: 16.69 MB / 0.5779 GB, free: 77.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04554/1.836, allocations: 13.3 MB / 0.5909 GB, free: 64.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/1.837, allocations: 496.2 kB / 0.5914 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/1.841, allocations: 0.6683 MB / 0.592 GB, free: 63.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05389/1.895, allocations: 16.69 MB / 0.6083 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005574/1.895, allocations: 107 kB / 0.6084 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/1.899, allocations: 320.6 kB / 0.6087 GB, free: 45.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/1.902, allocations: 1.472 MB / 0.6102 GB, free: 43.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04658/1.949, allocations: 13.21 MB / 0.6231 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5007/2.45, allocations: 76.72 MB / 0.698 GB, free: 29.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04801/2.498, allocations: 8.536 MB / 0.7063 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008059/2.506, allocations: 4.086 MB / 0.7103 GB, free: 29.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002654/2.508, allocations: 1.346 MB / 0.7116 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/2.509, allocations: 66.33 kB / 0.7117 GB, free: 28.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 7.013e-06/2.509, allocations: 3.938 kB / 0.7117 GB, free: 28.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=352): time 0.2466/2.755, allocations: 44.89 MB / 0.7555 GB, free: 18.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00274/2.758, allocations: 3.223 MB / 0.7587 GB, free: 15.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01873/2.777, allocations: 6.492 MB / 0.765 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001377/2.778, allocations: 78.39 kB / 0.7651 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006431/2.785, allocations: 5.203 MB / 0.7702 GB, free: 9.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002711/2.787, allocations: 1.342 MB / 0.7715 GB, free: 8.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/2.789, allocations: 191 kB / 0.7717 GB, free: 8.184 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009192/2.79, allocations: 0.7081 MB / 0.7724 GB, free: 7.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/2.802, allocations: 4.481 MB / 0.7767 GB, free: 5.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01722/2.819, allocations: 9.694 MB / 0.7862 GB, free: 9.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/2.837, allocations: 6.53 MB / 0.7926 GB, free: 4.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/2.838, allocations: 56 kB / 0.7926 GB, free: 4.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.1386/2.976, allocations: 30.9 MB / 0.8228 GB, free: 9.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/2.977, allocations: 84 kB / 0.8229 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4479/3.425, allocations: 20.58 MB / 0.843 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0907/3.515, allocations: 16.6 MB / 0.8592 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/3.529, allocations: 2.115 MB / 0.8613 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07922/3.609, allocations: 33.32 MB / 0.8938 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/3.624, allocations: 0.7795 MB / 0.8946 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002819/3.627, allocations: 0.5646 MB / 0.8951 GB, free: 105.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1076 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005041/3.632, allocations: 0.8056 MB / 0.8959 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/3.634, allocations: 0.6728 MB / 0.8966 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03703/3.672, allocations: 10.16 MB / 0.9065 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04174/3.713, allocations: 8.842 MB / 0.9151 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.366e-05/3.714, allocations: 23.72 kB / 0.9151 GB, free: 98.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/3.714, allocations: 15.94 kB / 0.9151 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08778/3.801, allocations: 23.35 MB / 0.9379 GB, free: 76.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.98e-05/3.802, allocations: 3.984 kB / 0.938 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005957/3.808, allocations: 0.5552 MB / 0.9385 GB, free: 75.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02413/3.832, allocations: 4.017 MB / 0.9424 GB, free: 71.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001367/3.833, allocations: 100.9 kB / 0.9425 GB, free: 71.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04685/3.88, allocations: 23.99 MB / 0.9659 GB, free: 46.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002531/3.883, allocations: 2.994 MB / 0.9689 GB, free: 43.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04555/3.928, allocations: 15.48 MB / 0.984 GB, free: 28.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006224/3.935, allocations: 1.385 MB / 0.9853 GB, free: 26.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003398/3.938, allocations: 87.98 kB / 0.9854 GB, free: 26.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009021/3.947, allocations: 354.9 kB / 0.9858 GB, free: 26.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001852/3.949, allocations: 247.8 kB / 0.986 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/3.95, allocations: 99.89 kB / 0.9861 GB, free: 25.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01371/3.964, allocations: 4.643 MB / 0.9906 GB, free: 21.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.964, allocations: 0 / 0.9906 GB, free: 21.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01592/3.98, allocations: 2.122 MB / 0.9927 GB, free: 19.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4078/4.388, allocations: 16.45 MB / 1.009 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03234/4.42, allocations: 11.48 MB / 1.02 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/4.42, allocations: 0 / 1.02 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01361/4.434, allocations: 5.091 MB / 1.025 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009247/4.443, allocations: 0.9381 MB / 1.026 GB, free: 108.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07045/4.514, allocations: 18.72 MB / 1.044 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01356/4.527, allocations: 5.507 MB / 1.05 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01609/4.543, allocations: 3.174 MB / 1.053 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009654/4.553, allocations: 3.668 MB / 1.056 GB, free: 98.37 MB / 474.7 MB Notification: Performance of SimCode: time 2.004e-06/4.553, allocations: 0 / 1.056 GB, free: 98.37 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7361/5.289, allocations: 175 MB / 1.227 GB, free: 87.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/5.289, allocations: 189.5 kB / 1.227 GB, free: 87.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.383/14.67, allocations: 2.219 kB / 1.227 GB, free: 87.57 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat