Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 235 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.944e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3717, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.5877, allocations: 101.9 MB / 456.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003945/0.5882, allocations: 91.89 kB / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9092/1.497, allocations: 144.6 MB / 0.5868 GB, free: 40.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.497, allocations: 8 kB / 0.5868 GB, free: 40.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006664/1.498, allocations: 147.9 kB / 0.587 GB, free: 40.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: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.0545/1.553, allocations: 8.548 MB / 0.5953 GB, free: 31.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.553, allocations: 8.031 kB / 0.5953 GB, free: 31.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1132/1.666, allocations: 16.68 MB / 0.6116 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04543/1.711, allocations: 13.29 MB / 0.6246 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/1.712, allocations: 212 kB / 0.6248 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/1.716, allocations: 411.7 kB / 0.6252 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02597/1.742, allocations: 9 MB / 0.634 GB, free: 8.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04067/1.782, allocations: 14.15 MB / 0.6478 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006603/1.783, allocations: 107 kB / 0.6479 GB, free: 8.422 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/1.786, allocations: 44 kB / 0.648 GB, free: 8.379 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004202/1.79, allocations: 1.475 MB / 0.6494 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.511/2.301, allocations: 74.51 MB / 0.7222 GB, free: 48.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/2.312, allocations: 5.328 MB / 0.7274 GB, free: 47.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007246/2.319, allocations: 4.019 MB / 0.7313 GB, free: 47.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002616/2.322, allocations: 1.346 MB / 0.7326 GB, free: 46.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/2.322, allocations: 71.42 kB / 0.7327 GB, free: 46.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=268): time 6.963e-06/2.322, allocations: 0 / 0.7327 GB, free: 46.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=350): time 0.1824/2.504, allocations: 43.21 MB / 0.7749 GB, free: 36.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/2.504, allocations: 267.6 kB / 0.7751 GB, free: 36.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/2.516, allocations: 5.642 MB / 0.7806 GB, free: 34.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/2.518, allocations: 25.7 kB / 0.7807 GB, free: 34.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004951/2.523, allocations: 5.257 MB / 0.7858 GB, free: 30.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002362/2.525, allocations: 1.299 MB / 0.7871 GB, free: 29.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/2.526, allocations: 0 / 0.7871 GB, free: 29.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005853/2.527, allocations: 0.7202 MB / 0.7878 GB, free: 28.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009336/2.536, allocations: 4.315 MB / 0.792 GB, free: 27.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01335/2.55, allocations: 9.682 MB / 0.8014 GB, free: 16.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/2.569, allocations: 6.364 MB / 0.8076 GB, free: 10.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/2.569, allocations: 56 kB / 0.8077 GB, free: 10.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.1355/2.704, allocations: 30.62 MB / 0.8376 GB, free: 6.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/2.705, allocations: 88 kB / 0.8377 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09629/2.801, allocations: 20.32 MB / 0.8575 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4663/3.267, allocations: 16.53 MB / 0.8737 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01478/3.282, allocations: 2.152 MB / 0.8758 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07663/3.359, allocations: 31.5 MB / 0.9065 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01878/3.378, allocations: 0.5896 MB / 0.9071 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003981/3.382, allocations: 0.5715 MB / 0.9077 GB, free: 106.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * 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 (1111): * Single equations (assignments): 1098 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.006225/3.388, allocations: 0.5826 MB / 0.9082 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05344/3.441, allocations: 9.726 MB / 0.9177 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003612/3.445, allocations: 0.6286 MB / 0.9183 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03982/3.485, allocations: 9.802 MB / 0.9279 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02955/3.515, allocations: 8.605 MB / 0.9363 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/3.515, allocations: 18.92 kB / 0.9363 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000128/3.515, allocations: 18.05 kB / 0.9364 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07496/3.59, allocations: 22.27 MB / 0.9581 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/3.59, allocations: 1.422 kB / 0.9581 GB, free: 86.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005905/3.596, allocations: 0.556 MB / 0.9586 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02405/3.62, allocations: 3.967 MB / 0.9625 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001397/3.621, allocations: 51.09 kB / 0.9626 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04531/3.667, allocations: 22.73 MB / 0.9848 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002339/3.669, allocations: 2.871 MB / 0.9876 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04259/3.712, allocations: 15.08 MB / 1.002 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005742/3.718, allocations: 1.314 MB / 1.004 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003382/3.721, allocations: 31.98 kB / 1.004 GB, free: 41.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008408/3.73, allocations: 302.7 kB / 1.004 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001852/3.732, allocations: 255.1 kB / 1.004 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006971/3.732, allocations: 95.95 kB / 1.004 GB, free: 40.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01099/3.743, allocations: 3.89 MB / 1.008 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.084e-06/3.743, allocations: 0 / 1.008 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01536/3.759, allocations: 1.903 MB / 1.01 GB, free: 34.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET139953887187337.x[3],$STATESET139953887187337.x[2],$STATESET139953887187337.x[1],$STATESET139953887187336.x[3],$STATESET139953887187336.x[2],$STATESET139953887187336.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 (242): * Single equations (assignments): 231 * 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.04446/3.803, allocations: 16.03 MB / 1.026 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02858/3.832, allocations: 11.36 MB / 1.037 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/3.832, allocations: 0 / 1.037 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/3.844, allocations: 4.992 MB / 1.042 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0084/3.853, allocations: 0.8033 MB / 1.042 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4969/4.35, allocations: 18.21 MB / 1.06 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01498/4.365, allocations: 5.497 MB / 1.065 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01677/4.382, allocations: 3.165 MB / 1.069 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/4.392, allocations: 3.644 MB / 1.072 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.745e-06/4.392, allocations: 0 / 1.072 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7768/5.169, allocations: 164.4 MB / 1.233 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/5.169, allocations: 135.6 kB / 1.233 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.733/13.9, allocations: 0 / 1.233 GB, free: 91.06 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat