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 1.975/1.975, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.308e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5489, allocations: 81.19 MB / 403.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004001/0.5494, allocations: 75.95 kB / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4343/0.9837, allocations: 89.75 MB / 492.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.9838, allocations: 0 / 492.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004044/0.9842, allocations: 104 kB / 493 MB, free: 13.84 MB / 426.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.1222/1.106, allocations: 9.643 MB / 0.4908 GB, free: 4.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/1.107, allocations: 16.02 kB / 0.4909 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004836/1.111, allocations: 0.8454 MB / 0.4917 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/1.127, allocations: 2.072 MB / 0.4937 GB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.343/1.471, allocations: 3.39 MB / 0.497 GB, free: 87.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005602/1.471, allocations: 346.1 kB / 0.4974 GB, free: 87.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/1.475, allocations: 473.8 kB / 0.4978 GB, free: 87.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09756/1.572, allocations: 15.27 MB / 0.5127 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000359/1.573, allocations: 64.97 kB / 0.5128 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00291/1.576, allocations: 221.7 kB / 0.513 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004721/1.581, allocations: 1.109 MB / 0.5141 GB, free: 85.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06841/1.649, allocations: 15 MB / 0.5287 GB, free: 85.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1053/1.754, allocations: 55.53 MB / 0.5829 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08831/1.843, allocations: 7.181 MB / 0.59 GB, free: 45.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006511/1.849, allocations: 2.82 MB / 0.5927 GB, free: 44.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/1.863, allocations: 6.565 MB / 0.5991 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.863, allocations: 49.34 kB / 0.5992 GB, free: 39.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.3e-06/1.863, allocations: 0 / 0.5992 GB, free: 39.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.007461/1.87, allocations: 2.687 MB / 0.6018 GB, free: 38.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.87, allocations: 148.9 kB / 0.6019 GB, free: 38.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.881, allocations: 4.219 MB / 0.6061 GB, free: 35.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.881, allocations: 50.25 kB / 0.6061 GB, free: 35.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/1.885, allocations: 3.581 MB / 0.6096 GB, free: 32.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.886, allocations: 0.7238 MB / 0.6103 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008464/1.887, allocations: 136 kB / 0.6104 GB, free: 31.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005045/1.887, allocations: 0.586 MB / 0.611 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.893, allocations: 2.159 MB / 0.6131 GB, free: 29.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008386/1.902, allocations: 6.369 MB / 0.6193 GB, free: 21.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/1.91, allocations: 3.693 MB / 0.6229 GB, free: 18.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/1.91, allocations: 40 kB / 0.623 GB, free: 18.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02174/1.932, allocations: 7.945 MB / 0.6307 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.932, allocations: 79.97 kB / 0.6308 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.932, allocations: 155.9 kB / 0.631 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/1.932, allocations: 220 kB / 0.6312 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/1.943, allocations: 1.614 MB / 0.6328 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002931/1.943, allocations: 298.8 kB / 0.633 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/1.952, allocations: 0.9238 MB / 0.6339 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.954, allocations: 436.8 kB / 0.6344 GB, free: 7.523 MB / 426.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.002174/1.956, allocations: 0.6319 MB / 0.635 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.958, allocations: 402.8 kB / 0.6354 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007139/1.965, allocations: 2.521 MB / 0.6378 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/1.965, allocations: 20.94 kB / 0.6378 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/1.965, allocations: 4 kB / 0.6378 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/1.965, allocations: 7.969 kB / 0.6379 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.978, allocations: 4.285 MB / 0.642 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/1.978, allocations: 2.344 kB / 0.642 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/1.982, allocations: 347.5 kB / 0.6424 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.422e-05/1.982, allocations: 8 kB / 0.6424 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/1.982, allocations: 32 kB / 0.6424 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/1.982, allocations: 4 kB / 0.6424 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.982, allocations: 4 kB / 0.6424 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.994, allocations: 4.846 MB / 0.6471 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.996, allocations: 0.4915 MB / 0.6476 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/1.997, allocations: 38.81 kB / 0.6477 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/2.001, allocations: 67.89 kB / 0.6477 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/2.002, allocations: 97.17 kB / 0.6478 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/2.002, allocations: 52 kB / 0.6479 GB, free: 9.578 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009414/2.011, allocations: 2.933 MB / 0.6507 GB, free: 6.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.011, allocations: 0 / 0.6507 GB, free: 6.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009264/2.021, allocations: 1.339 MB / 0.652 GB, free: 5.301 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.323/2.344, allocations: 5.656 MB / 0.6576 GB, free: 92.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01336/2.357, allocations: 4.731 MB / 0.6622 GB, free: 92.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/2.357, allocations: 0 / 0.6622 GB, free: 92.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/2.36, allocations: 1.249 MB / 0.6634 GB, free: 92.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/2.365, allocations: 480.8 kB / 0.6639 GB, free: 92.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03881/2.403, allocations: 10.28 MB / 0.6739 GB, free: 90.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.415, allocations: 3.677 MB / 0.6775 GB, free: 89.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01471/2.429, allocations: 2.049 MB / 0.6795 GB, free: 89.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009123/2.439, allocations: 2.202 MB / 0.6816 GB, free: 89.13 MB / 442.7 MB Notification: Performance of SimCode: time 2.364e-06/2.439, allocations: 3.906 kB / 0.6816 GB, free: 89.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2547/2.693, allocations: 87.2 MB / 0.7668 GB, free: 46.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/2.694, allocations: 156.7 kB / 0.767 GB, free: 45.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.065/8.758, allocations: 4 kB / 0.767 GB, free: 45.88 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