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.987/1.987, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.669e-05, allocations: 0 / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5707, allocations: 81.17 MB / 403 MB, free: 8.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.5711, allocations: 75.19 kB / 403.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3987/0.9698, allocations: 89.75 MB / 492.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9698, allocations: 0 / 492.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004235/0.9703, allocations: 104 kB / 492.9 MB, free: 13.83 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.1255/1.096, allocations: 9.651 MB / 0.4908 GB, free: 4.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/1.096, allocations: 12.03 kB / 0.4908 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005018/1.101, allocations: 0.8414 MB / 0.4917 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/1.118, allocations: 2.079 MB / 0.4937 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3282/1.446, allocations: 3.383 MB / 0.497 GB, free: 87.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/1.447, allocations: 349 kB / 0.4973 GB, free: 87.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004086/1.451, allocations: 475.2 kB / 0.4978 GB, free: 87.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07545/1.526, allocations: 15.32 MB / 0.5127 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005632/1.527, allocations: 63.23 kB / 0.5128 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003909/1.531, allocations: 219.6 kB / 0.513 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004915/1.536, allocations: 1.118 MB / 0.5141 GB, free: 85.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06657/1.603, allocations: 15.18 MB / 0.5289 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/1.715, allocations: 55.52 MB / 0.5831 GB, free: 46.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09041/1.805, allocations: 7.21 MB / 0.5902 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00655/1.812, allocations: 2.81 MB / 0.5929 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/1.826, allocations: 6.573 MB / 0.5993 GB, free: 39.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/1.827, allocations: 55.16 kB / 0.5994 GB, free: 39.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.091e-06/1.827, allocations: 0 / 0.5994 GB, free: 39.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.007448/1.834, allocations: 2.682 MB / 0.602 GB, free: 38.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/1.834, allocations: 154.7 kB / 0.6022 GB, free: 38.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/1.846, allocations: 4.219 MB / 0.6063 GB, free: 35.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000405/1.846, allocations: 50.48 kB / 0.6063 GB, free: 35.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003498/1.85, allocations: 3.578 MB / 0.6098 GB, free: 32.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.851, allocations: 0.7247 MB / 0.6105 GB, free: 31.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009857/1.852, allocations: 133.2 kB / 0.6107 GB, free: 31.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006475/1.853, allocations: 0.5856 MB / 0.6112 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/1.859, allocations: 2.163 MB / 0.6133 GB, free: 29.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008714/1.868, allocations: 6.408 MB / 0.6196 GB, free: 20.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008325/1.876, allocations: 3.691 MB / 0.6232 GB, free: 17.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/1.876, allocations: 44 kB / 0.6233 GB, free: 17.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02158/1.898, allocations: 8.374 MB / 0.6314 GB, free: 10.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.898, allocations: 68 kB / 0.6315 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/1.898, allocations: 152 kB / 0.6316 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/1.898, allocations: 223.6 kB / 0.6319 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.909, allocations: 1.613 MB / 0.6334 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002811/1.91, allocations: 298.9 kB / 0.6337 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008741/1.918, allocations: 0.9253 MB / 0.6346 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/1.92, allocations: 439.9 kB / 0.635 GB, free: 6.77 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.002357/1.923, allocations: 0.6246 MB / 0.6356 GB, free: 6.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.924, allocations: 406.7 kB / 0.636 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/1.931, allocations: 2.521 MB / 0.6385 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.495e-05/1.931, allocations: 21.25 kB / 0.6385 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.931, allocations: 0 / 0.6385 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/1.931, allocations: 7.969 kB / 0.6385 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.944, allocations: 4.284 MB / 0.6427 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/1.944, allocations: 0 / 0.6427 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004192/1.948, allocations: 351.5 kB / 0.643 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-05/1.948, allocations: 4 kB / 0.643 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.949, allocations: 39.27 kB / 0.6431 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/1.949, allocations: 8 kB / 0.6431 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.949, allocations: 0 / 0.6431 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.961, allocations: 4.849 MB / 0.6478 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.962, allocations: 0.4915 MB / 0.6483 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/1.964, allocations: 36.17 kB / 0.6483 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/1.968, allocations: 63.89 kB / 0.6484 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/1.968, allocations: 97.17 kB / 0.6485 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.969, allocations: 51.98 kB / 0.6485 GB, free: 8.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009367/1.978, allocations: 2.936 MB / 0.6514 GB, free: 5.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.978, allocations: 0 / 0.6514 GB, free: 5.898 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008603/1.987, allocations: 1.343 MB / 0.6527 GB, free: 4.555 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.3201/2.307, allocations: 5.658 MB / 0.6583 GB, free: 92.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/2.319, allocations: 4.936 MB / 0.6631 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/2.319, allocations: 0 / 0.6631 GB, free: 92.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/2.323, allocations: 1.257 MB / 0.6643 GB, free: 92.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/2.326, allocations: 478.7 kB / 0.6648 GB, free: 92.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03397/2.36, allocations: 10.29 MB / 0.6748 GB, free: 90.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008879/2.369, allocations: 3.672 MB / 0.6784 GB, free: 89.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009672/2.379, allocations: 2.047 MB / 0.6804 GB, free: 89.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005449/2.384, allocations: 2.201 MB / 0.6825 GB, free: 89.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/2.385, allocations: 0 / 0.6825 GB, free: 89.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/2.576, allocations: 87.83 MB / 0.7683 GB, free: 44.87 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/2.577, allocations: 166.1 kB / 0.7685 GB, free: 44.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.789/8.366, allocations: 7.875 kB / 0.7685 GB, free: 44.64 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