Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.825e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/0.6772, allocations: 96.23 MB / 0.4947 GB, free: 7.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6776, allocations: 75.95 kB / 0.4948 GB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4184/1.096, allocations: 92.16 MB / 0.5848 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/1.096, allocations: 0 / 0.5848 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004309/1.096, allocations: 100 kB / 0.5849 GB, free: 10.73 MB / 0.4948 GB 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.1244/1.221, allocations: 9.671 MB / 0.5943 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.221, allocations: 12.03 kB / 0.5943 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005403/1.226, allocations: 0.8454 MB / 0.5952 GB, free: 124 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/1.243, allocations: 2.079 MB / 0.5972 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/1.257, allocations: 3.406 MB / 0.6005 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005734/1.258, allocations: 345.1 kB / 0.6008 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004067/1.262, allocations: 475.7 kB / 0.6013 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4654/1.727, allocations: 15.28 MB / 0.6162 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006271/1.728, allocations: 64.61 kB / 0.6163 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003805/1.732, allocations: 221.8 kB / 0.6165 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005263/1.737, allocations: 1.121 MB / 0.6176 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07151/1.809, allocations: 15 MB / 0.6322 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1139/1.923, allocations: 55.64 MB / 0.6866 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08974/2.012, allocations: 7.191 MB / 0.6936 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006622/2.019, allocations: 2.817 MB / 0.6963 GB, free: 73.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/2.034, allocations: 6.568 MB / 0.7028 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.658e-05/2.034, allocations: 55.09 kB / 0.7028 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 6.422e-06/2.034, allocations: 3.438 kB / 0.7028 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.007721/2.042, allocations: 2.686 MB / 0.7054 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/2.042, allocations: 148.3 kB / 0.7056 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/2.055, allocations: 4.242 MB / 0.7097 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/2.056, allocations: 54.56 kB / 0.7098 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003758/2.06, allocations: 3.592 MB / 0.7133 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/2.061, allocations: 0.7291 MB / 0.714 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/2.062, allocations: 133.4 kB / 0.7141 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007133/2.063, allocations: 0.5814 MB / 0.7147 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/2.069, allocations: 2.163 MB / 0.7168 GB, free: 61.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008769/2.078, allocations: 6.383 MB / 0.723 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008458/2.086, allocations: 3.711 MB / 0.7267 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001664/2.087, allocations: 46.28 kB / 0.7267 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02211/2.109, allocations: 7.965 MB / 0.7345 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/2.109, allocations: 75.55 kB / 0.7345 GB, free: 51.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/2.109, allocations: 156 kB / 0.7347 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/2.109, allocations: 220 kB / 0.7349 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.12, allocations: 1.62 MB / 0.7365 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/2.121, allocations: 299 kB / 0.7368 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008731/2.129, allocations: 0.9303 MB / 0.7377 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/2.131, allocations: 448.7 kB / 0.7381 GB, free: 47.65 MB / 0.5105 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.002309/2.133, allocations: 0.6248 MB / 0.7387 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/2.135, allocations: 398.8 kB / 0.7391 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/2.143, allocations: 2.525 MB / 0.7416 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-05/2.143, allocations: 24 kB / 0.7416 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/2.143, allocations: 0 / 0.7416 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.142e-05/2.144, allocations: 11.59 kB / 0.7416 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/2.156, allocations: 4.29 MB / 0.7458 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-05/2.156, allocations: 0 / 0.7458 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/2.161, allocations: 345.5 kB / 0.7461 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-05/2.161, allocations: 8 kB / 0.7461 GB, free: 40.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/2.161, allocations: 38.02 kB / 0.7462 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.58e-05/2.161, allocations: 4 kB / 0.7462 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.161, allocations: 5.969 kB / 0.7462 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/2.172, allocations: 4.859 MB / 0.7509 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/2.173, allocations: 0.4936 MB / 0.7514 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/2.175, allocations: 28.55 kB / 0.7514 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/2.179, allocations: 63.34 kB / 0.7515 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005869/2.179, allocations: 93.31 kB / 0.7516 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/2.18, allocations: 56.73 kB / 0.7516 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008353/2.188, allocations: 2.948 MB / 0.7545 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.303e-06/2.188, allocations: 0 / 0.7545 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008453/2.196, allocations: 1.351 MB / 0.7558 GB, free: 31.79 MB / 0.5105 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.01103/2.208, allocations: 5.676 MB / 0.7614 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01095/2.219, allocations: 4.746 MB / 0.766 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.219, allocations: 0 / 0.766 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/2.221, allocations: 1.252 MB / 0.7672 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/2.226, allocations: 478.7 kB / 0.7677 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03331/2.259, allocations: 10.31 MB / 0.7778 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008178/2.267, allocations: 3.677 MB / 0.7813 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01035/2.278, allocations: 2.062 MB / 0.7834 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005966/2.284, allocations: 2.21 MB / 0.7855 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of SimCode: time 1.803e-06/2.284, allocations: 4 kB / 0.7855 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7282/3.012, allocations: 87.57 MB / 0.871 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/3.012, allocations: 169.4 kB / 0.8712 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.12/9.132, allocations: 0 / 0.8712 GB, free: 130.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat