Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.607e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5399, allocations: 80.73 MB / 397.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5403, allocations: 78.8 kB / 397.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4823/1.023, allocations: 88.26 MB / 485.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.023, allocations: 0 / 485.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004286/1.023, allocations: 99.98 kB / 485.5 MB, free: 6.551 MB / 410.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.4568/1.48, allocations: 9.645 MB / 495.1 MB, free: 78.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.48, allocations: 8.875 kB / 495.1 MB, free: 78.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/1.497, allocations: 2.078 MB / 497.2 MB, free: 78.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.509, allocations: 3.391 MB / 0.4889 GB, free: 78.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/1.51, allocations: 148 kB / 0.489 GB, free: 78.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003674/1.513, allocations: 285 kB / 0.4893 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02637/1.54, allocations: 9.679 MB / 0.4987 GB, free: 78.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03617/1.576, allocations: 13.16 MB / 0.5116 GB, free: 75.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004577/1.576, allocations: 62.44 kB / 0.5117 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003396/1.58, allocations: 32.31 kB / 0.5117 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004283/1.584, allocations: 1.11 MB / 0.5128 GB, free: 75.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.686, allocations: 53.36 MB / 0.5649 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/1.699, allocations: 6.582 MB / 0.5713 GB, free: 37.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/1.705, allocations: 2.754 MB / 0.574 GB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/1.718, allocations: 6.429 MB / 0.5803 GB, free: 31.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.718, allocations: 47.59 kB / 0.5803 GB, free: 31.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.791e-06/1.718, allocations: 3.781 kB / 0.5803 GB, free: 31.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.00664/1.725, allocations: 2.599 MB / 0.5829 GB, free: 30.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/1.725, allocations: 149.9 kB / 0.583 GB, free: 30.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009312/1.734, allocations: 3.719 MB / 0.5866 GB, free: 29.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/1.734, allocations: 25.7 kB / 0.5867 GB, free: 29.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.738, allocations: 3.625 MB / 0.5902 GB, free: 25.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.739, allocations: 0.7041 MB / 0.5909 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.74, allocations: 0 / 0.5909 GB, free: 25.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005339/1.74, allocations: 0.5985 MB / 0.5915 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004986/1.745, allocations: 2.071 MB / 0.5935 GB, free: 22.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008315/1.754, allocations: 6.412 MB / 0.5998 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007631/1.761, allocations: 3.621 MB / 0.6033 GB, free: 11.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.761, allocations: 48 kB / 0.6033 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01988/1.781, allocations: 7.569 MB / 0.6107 GB, free: 4.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.781, allocations: 76.95 kB / 0.6108 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.782, allocations: 156 kB / 0.6109 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/1.782, allocations: 228 kB / 0.6112 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.792, allocations: 1.665 MB / 0.6128 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002408/1.792, allocations: 306.8 kB / 0.6131 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/1.801, allocations: 0.768 MB / 0.6138 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.802, allocations: 455.1 kB / 0.6143 GB, free: 1.059 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 (870): * Single equations (assignments): 867 * 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.001772/1.804, allocations: 493.9 kB / 0.6147 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006847/1.811, allocations: 2.594 MB / 0.6173 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.812, allocations: 367.2 kB / 0.6176 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006817/1.819, allocations: 2.397 MB / 0.62 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/1.819, allocations: 21.48 kB / 0.62 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.819, allocations: 4 kB / 0.62 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.147e-05/1.819, allocations: 7.969 kB / 0.62 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009267/1.828, allocations: 3.2 MB / 0.6231 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.829, allocations: 7.188 kB / 0.6231 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/1.833, allocations: 347.5 kB / 0.6235 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/1.833, allocations: 8 kB / 0.6235 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/1.833, allocations: 8 kB / 0.6235 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/1.833, allocations: 8 kB / 0.6235 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.833, allocations: 0 / 0.6235 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.843, allocations: 4.702 MB / 0.6281 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.845, allocations: 463.9 kB / 0.6285 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.846, allocations: 7.984 kB / 0.6285 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.849, allocations: 38 kB / 0.6286 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005589/1.85, allocations: 97.17 kB / 0.6287 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.85, allocations: 48 kB / 0.6287 GB, free: 2.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007356/1.858, allocations: 2.494 MB / 0.6311 GB, free: 15.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.858, allocations: 0 / 0.6311 GB, free: 15.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00889/1.867, allocations: 1.221 MB / 0.6323 GB, free: 14.44 MB / 442.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.01226/1.879, allocations: 5.486 MB / 0.6377 GB, free: 8.918 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.891, allocations: 4.655 MB / 0.6422 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.891, allocations: 0 / 0.6422 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003076/1.894, allocations: 1.222 MB / 0.6434 GB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/1.898, allocations: 392.6 kB / 0.6438 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3475/2.246, allocations: 10.04 MB / 0.6536 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/2.259, allocations: 3.667 MB / 0.6572 GB, free: 99.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01538/2.274, allocations: 2.081 MB / 0.6592 GB, free: 99.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008375/2.283, allocations: 2.178 MB / 0.6613 GB, free: 99.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/2.283, allocations: 0 / 0.6613 GB, free: 99.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2214/2.504, allocations: 79.9 MB / 0.7394 GB, free: 63.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/2.505, allocations: 148.2 kB / 0.7395 GB, free: 63.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/7.952, allocations: 0 / 0.7395 GB, free: 63.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat