Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.55/2.55, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.037e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4959, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.6651, allocations: 87.7 MB / 447.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004332/0.6656, allocations: 75.95 kB / 447.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.794/1.46, allocations: 89.73 MB / 0.5248 GB, free: 94.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.727e-06/1.46, allocations: 0.6094 kB / 0.5248 GB, free: 94.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004524/1.46, allocations: 96.03 kB / 0.5249 GB, free: 94.88 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.1298/1.59, allocations: 9.655 MB / 0.5343 GB, free: 94.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/1.59, allocations: 9.281 kB / 0.5343 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005958/1.596, allocations: 0.8461 MB / 0.5351 GB, free: 94.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/1.614, allocations: 2.077 MB / 0.5372 GB, free: 93.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/1.63, allocations: 3.391 MB / 0.5405 GB, free: 93.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008148/1.631, allocations: 348 kB / 0.5408 GB, free: 93.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004806/1.636, allocations: 479.6 kB / 0.5413 GB, free: 93.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07436/1.71, allocations: 15.27 MB / 0.5562 GB, free: 90.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004955/1.711, allocations: 69.52 kB / 0.5562 GB, free: 90.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003858/1.715, allocations: 218.9 kB / 0.5565 GB, free: 90.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005782/1.72, allocations: 1.116 MB / 0.5575 GB, free: 90.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08638/1.807, allocations: 14.99 MB / 0.5722 GB, free: 89.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1145/1.921, allocations: 55.54 MB / 0.6264 GB, free: 49.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0926/2.014, allocations: 7.192 MB / 0.6334 GB, free: 43.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006599/2.021, allocations: 2.813 MB / 0.6362 GB, free: 40.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/2.037, allocations: 6.57 MB / 0.6426 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/2.037, allocations: 51.5 kB / 0.6427 GB, free: 33.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.662e-06/2.038, allocations: 0.5625 kB / 0.6427 GB, free: 33.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.007768/2.045, allocations: 2.687 MB / 0.6453 GB, free: 30.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.89e-05/2.045, allocations: 149.5 kB / 0.6454 GB, free: 30.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/2.057, allocations: 4.219 MB / 0.6495 GB, free: 26.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004689/2.058, allocations: 53.7 kB / 0.6496 GB, free: 26.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003454/2.061, allocations: 3.576 MB / 0.6531 GB, free: 22.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/2.063, allocations: 0.7242 MB / 0.6538 GB, free: 21.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009489/2.064, allocations: 135.9 kB / 0.6539 GB, free: 21.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006139/2.064, allocations: 0.5871 MB / 0.6545 GB, free: 21.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006032/2.07, allocations: 2.157 MB / 0.6566 GB, free: 18.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008994/2.08, allocations: 6.363 MB / 0.6628 GB, free: 10.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008885/2.088, allocations: 3.704 MB / 0.6664 GB, free: 6.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/2.089, allocations: 44 kB / 0.6665 GB, free: 6.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02304/2.112, allocations: 7.942 MB / 0.6742 GB, free: 14.67 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/2.112, allocations: 71.83 kB / 0.6743 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002777/2.112, allocations: 152 kB / 0.6744 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/2.113, allocations: 220 kB / 0.6747 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.124, allocations: 1.622 MB / 0.6762 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/2.125, allocations: 294.9 kB / 0.6765 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009629/2.135, allocations: 0.9238 MB / 0.6774 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/2.136, allocations: 439.7 kB / 0.6778 GB, free: 10.97 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * 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.002549/2.139, allocations: 0.6314 MB / 0.6785 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/2.14, allocations: 402.8 kB / 0.6788 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008603/2.149, allocations: 2.517 MB / 0.6813 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-05/2.149, allocations: 24 kB / 0.6813 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/2.149, allocations: 0 / 0.6813 GB, free: 7.383 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/2.149, allocations: 10.41 kB / 0.6813 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/2.165, allocations: 4.281 MB / 0.6855 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/2.165, allocations: 0 / 0.6855 GB, free: 3.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/2.17, allocations: 351.5 kB / 0.6858 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.619e-05/2.17, allocations: 4 kB / 0.6859 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004744/2.17, allocations: 35.95 kB / 0.6859 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.992e-05/2.17, allocations: 8 kB / 0.6859 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.17, allocations: 3.984 kB / 0.6859 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/2.183, allocations: 4.849 MB / 0.6906 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/2.185, allocations: 0.4954 MB / 0.6911 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/2.187, allocations: 32 kB / 0.6911 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/2.19, allocations: 63.94 kB / 0.6912 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006167/2.191, allocations: 101.3 kB / 0.6913 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/2.191, allocations: 51.28 kB / 0.6914 GB, free: 13.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009551/2.201, allocations: 2.936 MB / 0.6942 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.201, allocations: 0 / 0.6942 GB, free: 10.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009192/2.21, allocations: 1.334 MB / 0.6955 GB, free: 8.758 MB / 490.7 MB 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.01333/2.223, allocations: 5.673 MB / 0.7011 GB, free: 3.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4037/2.627, allocations: 4.723 MB / 0.7057 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.627, allocations: 0 / 0.7057 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003371/2.631, allocations: 1.248 MB / 0.7069 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/2.636, allocations: 477.7 kB / 0.7074 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/2.673, allocations: 10.28 MB / 0.7174 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.683, allocations: 3.673 MB / 0.721 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01178/2.695, allocations: 2.047 MB / 0.723 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006692/2.702, allocations: 2.199 MB / 0.7251 GB, free: 112.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.134e-06/2.702, allocations: 0 / 0.7251 GB, free: 112.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2055/2.908, allocations: 87.21 MB / 0.8103 GB, free: 67.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/2.908, allocations: 168.8 kB / 0.8104 GB, free: 67.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.765/8.673, allocations: 0 / 0.8104 GB, free: 67.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat