Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.214e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.6095, allocations: 108.8 MB / 491.1 MB, free: 15.61 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6098, allocations: 79.95 kB / 491.1 MB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9176/1.527, allocations: 148.5 MB / 0.6247 GB, free: 50.36 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.465e-06/1.528, allocations: 0 / 0.6247 GB, free: 50.36 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006482/1.528, allocations: 148 kB / 0.6248 GB, free: 50.21 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.05696/1.585, allocations: 8.564 MB / 0.6332 GB, free: 41.57 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.585, allocations: 12.03 kB / 0.6332 GB, free: 41.56 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005706/1.591, allocations: 1.157 MB / 0.6343 GB, free: 40.39 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1164/1.707, allocations: 16.69 MB / 0.6506 GB, free: 23.67 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04699/1.754, allocations: 13.32 MB / 0.6636 GB, free: 10.27 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007307/1.755, allocations: 0.4893 MB / 0.6641 GB, free: 9.781 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004183/1.759, allocations: 0.6675 MB / 0.6648 GB, free: 9.113 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05674/1.816, allocations: 16.72 MB / 0.6811 GB, free: 6.871 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005166/1.817, allocations: 107 kB / 0.6812 GB, free: 6.766 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003282/1.82, allocations: 319.8 kB / 0.6815 GB, free: 6.453 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004183/1.824, allocations: 1.479 MB / 0.6829 GB, free: 4.969 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05334/1.878, allocations: 13.21 MB / 0.6958 GB, free: 7.738 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5245/2.402, allocations: 76.84 MB / 0.7709 GB, free: 50.87 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04695/2.449, allocations: 8.533 MB / 0.7792 GB, free: 50.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008017/2.457, allocations: 4.101 MB / 0.7832 GB, free: 50.15 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002693/2.46, allocations: 1.347 MB / 0.7845 GB, free: 49.01 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/2.46, allocations: 59.25 kB / 0.7846 GB, free: 48.97 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=268): time 6.582e-06/2.46, allocations: 3.719 kB / 0.7846 GB, free: 48.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=352): time 0.2623/2.722, allocations: 44.91 MB / 0.8284 GB, free: 41.64 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002612/2.725, allocations: 3.232 MB / 0.8316 GB, free: 38.45 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01815/2.743, allocations: 6.513 MB / 0.838 GB, free: 36.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/2.745, allocations: 79.44 kB / 0.838 GB, free: 36.23 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006195/2.751, allocations: 5.212 MB / 0.8431 GB, free: 32.43 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002734/2.754, allocations: 1.343 MB / 0.8444 GB, free: 31.45 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002438/2.756, allocations: 191.8 kB / 0.8446 GB, free: 31.31 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001089/2.757, allocations: 0.7101 MB / 0.8453 GB, free: 30.83 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01194/2.769, allocations: 4.479 MB / 0.8497 GB, free: 28.36 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/2.785, allocations: 9.719 MB / 0.8592 GB, free: 16.88 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/2.8, allocations: 6.528 MB / 0.8655 GB, free: 11.42 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/2.8, allocations: 59.75 kB / 0.8656 GB, free: 11.37 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1347/2.935, allocations: 30.95 MB / 0.8958 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/2.935, allocations: 84.94 kB / 0.8959 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5317/3.467, allocations: 20.58 MB / 0.916 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09022/3.557, allocations: 16.6 MB / 0.9322 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/3.572, allocations: 2.119 MB / 0.9343 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09937/3.671, allocations: 33.32 MB / 0.9668 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/3.687, allocations: 0.7733 MB / 0.9676 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003216/3.69, allocations: 0.559 MB / 0.9681 GB, free: 114.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1079 * 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.004962/3.695, allocations: 0.8275 MB / 0.9689 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00285/3.698, allocations: 0.6714 MB / 0.9696 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03766/3.736, allocations: 10.16 MB / 0.9795 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03217/3.768, allocations: 8.842 MB / 0.9881 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/3.768, allocations: 19.44 kB / 0.9882 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/3.768, allocations: 17.16 kB / 0.9882 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07859/3.847, allocations: 23.36 MB / 1.011 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-05/3.847, allocations: 3.188 kB / 1.011 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0061/3.853, allocations: 0.5594 MB / 1.012 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02484/3.878, allocations: 4.011 MB / 1.015 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001397/3.879, allocations: 95.7 kB / 1.016 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04795/3.927, allocations: 23.99 MB / 1.039 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002548/3.93, allocations: 2.989 MB / 1.042 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0447/3.975, allocations: 15.48 MB / 1.057 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005871/3.981, allocations: 1.384 MB / 1.058 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003108/3.984, allocations: 83.98 kB / 1.058 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008759/3.993, allocations: 358.5 kB / 1.059 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/3.994, allocations: 248.1 kB / 1.059 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001021/3.996, allocations: 99.91 kB / 1.059 GB, free: 49.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01334/4.009, allocations: 4.647 MB / 1.064 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.51e-07/4.009, allocations: 0 / 1.064 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01565/4.025, allocations: 2.131 MB / 1.066 GB, free: 42.45 MB / 0.5261 GB 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.04629/4.071, allocations: 16.46 MB / 1.082 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02889/4.1, allocations: 11.49 MB / 1.093 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/4.1, allocations: 4 kB / 1.093 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/4.113, allocations: 5.094 MB / 1.098 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009323/4.123, allocations: 0.9454 MB / 1.099 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.509/4.632, allocations: 18.74 MB / 1.117 GB, free: 135.7 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02223/4.654, allocations: 5.515 MB / 1.123 GB, free: 134.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01704/4.671, allocations: 3.168 MB / 1.126 GB, free: 134.8 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01055/4.682, allocations: 3.683 MB / 1.129 GB, free: 134.8 MB / 0.5418 GB Notification: Performance of SimCode: time 2.053e-06/4.682, allocations: 1.75 kB / 1.129 GB, free: 134.8 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4057/5.088, allocations: 175.4 MB / 1.301 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/5.088, allocations: 177 kB / 1.301 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.204/14.29, allocations: 2.953 kB / 1.301 GB, free: 11.23 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat