Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.849e-05/5.84e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4361, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.6313, allocations: 94.86 MB / 477.2 MB, free: 13.61 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.6317, allocations: 79.95 kB / 477.2 MB, free: 13.54 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.755/1.387, allocations: 90.67 MB / 0.5546 GB, free: 104.9 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.166e-06/1.387, allocations: 3.406 kB / 0.5546 GB, free: 104.9 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003031/1.387, allocations: 97.69 kB / 0.5547 GB, free: 104.9 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.1601/1.547, allocations: 9.664 MB / 0.5641 GB, free: 102.9 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.547, allocations: 7.812 kB / 0.5641 GB, free: 102.9 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004776/1.552, allocations: 0.8498 MB / 0.565 GB, free: 102.8 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/1.568, allocations: 2.08 MB / 0.567 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/1.58, allocations: 3.415 MB / 0.5703 GB, free: 101.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005/1.58, allocations: 352.5 kB / 0.5707 GB, free: 101.3 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/1.584, allocations: 486.5 kB / 0.5711 GB, free: 101.1 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06572/1.65, allocations: 15.28 MB / 0.5861 GB, free: 85.22 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003286/1.65, allocations: 63.38 kB / 0.5861 GB, free: 85.16 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00297/1.653, allocations: 218.9 kB / 0.5863 GB, free: 84.97 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004328/1.658, allocations: 1.121 MB / 0.5874 GB, free: 83.85 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06402/1.722, allocations: 15.01 MB / 0.6021 GB, free: 68.83 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/1.829, allocations: 55.62 MB / 0.6564 GB, free: 11.86 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08927/1.918, allocations: 7.188 MB / 0.6634 GB, free: 4.52 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00698/1.925, allocations: 2.818 MB / 0.6662 GB, free: 1.691 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02074/1.946, allocations: 6.566 MB / 0.6726 GB, free: 10.57 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.797e-05/1.946, allocations: 51.5 kB / 0.6726 GB, free: 10.51 MB / 474.8 MB Notification: Performance of pre-optimization done (n=176): time 8.716e-06/1.946, allocations: 0 / 0.6726 GB, free: 10.51 MB / 474.8 MB Notification: Performance of matching and sorting (n=176): time 0.01176/1.958, allocations: 2.694 MB / 0.6753 GB, free: 7.805 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.958, allocations: 145.5 kB / 0.6754 GB, free: 7.633 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01337/1.971, allocations: 4.239 MB / 0.6795 GB, free: 3.387 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.972, allocations: 53.7 kB / 0.6796 GB, free: 3.328 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004673/1.976, allocations: 3.6 MB / 0.6831 GB, free: 15.73 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.978, allocations: 0.7193 MB / 0.6838 GB, free: 15.01 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/1.979, allocations: 132 kB / 0.6839 GB, free: 14.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000855/1.98, allocations: 0.5871 MB / 0.6845 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006629/1.987, allocations: 2.165 MB / 0.6866 GB, free: 12.12 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.998, allocations: 6.386 MB / 0.6929 GB, free: 3.598 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009828/2.008, allocations: 3.706 MB / 0.6965 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002033/2.008, allocations: 44 kB / 0.6965 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0248/2.033, allocations: 7.973 MB / 0.7043 GB, free: 7.879 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.033, allocations: 73 kB / 0.7044 GB, free: 7.809 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000254/2.033, allocations: 152 kB / 0.7045 GB, free: 7.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/2.034, allocations: 224 kB / 0.7047 GB, free: 7.441 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/2.045, allocations: 1.622 MB / 0.7063 GB, free: 5.816 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005356/2.046, allocations: 298.8 kB / 0.7066 GB, free: 5.523 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.058, allocations: 0.9342 MB / 0.7075 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/2.06, allocations: 439.9 kB / 0.7079 GB, free: 4.152 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003042/2.064, allocations: 0.6281 MB / 0.7085 GB, free: 3.52 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/2.065, allocations: 406.7 kB / 0.7089 GB, free: 3.117 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/2.076, allocations: 2.529 MB / 0.7114 GB, free: 0.582 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/2.077, allocations: 20 kB / 0.7114 GB, free: 0.5625 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/2.077, allocations: 4 kB / 0.7114 GB, free: 0.5586 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-05/2.077, allocations: 7.969 kB / 0.7114 GB, free: 0.5508 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4339/2.511, allocations: 4.286 MB / 0.7156 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/2.511, allocations: 2.531 kB / 0.7156 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004138/2.515, allocations: 344.5 kB / 0.7159 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.951e-05/2.515, allocations: 7.562 kB / 0.716 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/2.515, allocations: 39.03 kB / 0.716 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/2.515, allocations: 6.406 kB / 0.716 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.515, allocations: 1.094 kB / 0.716 GB, free: 136.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/2.526, allocations: 4.857 MB / 0.7207 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/2.528, allocations: 495.2 kB / 0.7212 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.529, allocations: 38.16 kB / 0.7213 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/2.532, allocations: 65.11 kB / 0.7213 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/2.533, allocations: 96.77 kB / 0.7214 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/2.533, allocations: 49.58 kB / 0.7215 GB, free: 136.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007762/2.541, allocations: 2.952 MB / 0.7243 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.042e-06/2.541, allocations: 0 / 0.7243 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008462/2.549, allocations: 1.348 MB / 0.7257 GB, free: 135.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/2.56, allocations: 5.668 MB / 0.7312 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0114/2.571, allocations: 4.741 MB / 0.7358 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/2.571, allocations: 0 / 0.7358 GB, free: 133.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/2.574, allocations: 1.251 MB / 0.737 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/2.579, allocations: 493 kB / 0.7375 GB, free: 133.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/2.613, allocations: 10.31 MB / 0.7476 GB, free: 129.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/2.621, allocations: 3.684 MB / 0.7512 GB, free: 128 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009711/2.63, allocations: 2.057 MB / 0.7532 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00576/2.636, allocations: 2.204 MB / 0.7553 GB, free: 126 MB / 0.4949 GB Notification: Performance of SimCode: time 1.944e-06/2.636, allocations: 0 / 0.7553 GB, free: 126 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2168/2.853, allocations: 87.56 MB / 0.8408 GB, free: 47.77 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/2.853, allocations: 160.8 kB / 0.841 GB, free: 47.55 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.978/8.831, allocations: 0 / 0.841 GB, free: 47.55 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat