Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.818e-05/4.828e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5166, allocations: 81.19 MB / 403 MB, free: 8.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5169, allocations: 78.95 kB / 403.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3803/0.8972, allocations: 89.74 MB / 492.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8973, allocations: 0 / 492.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004086/0.8977, allocations: 96 kB / 492.9 MB, free: 14.03 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.1223/1.02, allocations: 9.655 MB / 0.4908 GB, free: 4.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.02, allocations: 8.031 kB / 0.4908 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004547/1.025, allocations: 0.8453 MB / 0.4917 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/1.041, allocations: 2.079 MB / 0.4937 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3264/1.367, allocations: 3.391 MB / 0.497 GB, free: 87.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/1.368, allocations: 341.9 kB / 0.4973 GB, free: 87.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003654/1.372, allocations: 477.7 kB / 0.4978 GB, free: 87.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07072/1.442, allocations: 15.27 MB / 0.5127 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004401/1.443, allocations: 63.23 kB / 0.5127 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003352/1.446, allocations: 219.1 kB / 0.513 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004704/1.451, allocations: 1.113 MB / 0.514 GB, free: 85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06451/1.516, allocations: 15 MB / 0.5287 GB, free: 84.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/1.621, allocations: 55.53 MB / 0.5829 GB, free: 47.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0878/1.708, allocations: 7.189 MB / 0.5899 GB, free: 45.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006366/1.715, allocations: 2.817 MB / 0.5927 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/1.728, allocations: 6.565 MB / 0.5991 GB, free: 40 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/1.728, allocations: 55.41 kB / 0.5992 GB, free: 39.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.261e-06/1.728, allocations: 0 / 0.5992 GB, free: 39.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.006774/1.735, allocations: 2.68 MB / 0.6018 GB, free: 38.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/1.735, allocations: 148.4 kB / 0.6019 GB, free: 38.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/1.746, allocations: 4.221 MB / 0.606 GB, free: 35.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003842/1.746, allocations: 53.7 kB / 0.6061 GB, free: 35.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/1.749, allocations: 3.47 MB / 0.6095 GB, free: 32.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.751, allocations: 0.7209 MB / 0.6102 GB, free: 32.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008691/1.752, allocations: 133.6 kB / 0.6103 GB, free: 31.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000552/1.752, allocations: 0.5935 MB / 0.6109 GB, free: 31.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005828/1.758, allocations: 2.161 MB / 0.613 GB, free: 29.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008411/1.766, allocations: 6.365 MB / 0.6192 GB, free: 21.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/1.775, allocations: 3.698 MB / 0.6228 GB, free: 18.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/1.775, allocations: 44 kB / 0.6229 GB, free: 18.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02089/1.796, allocations: 7.8 MB / 0.6305 GB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.796, allocations: 71.83 kB / 0.6306 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/1.796, allocations: 157 kB / 0.6307 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000255/1.797, allocations: 220 kB / 0.6309 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/1.807, allocations: 1.61 MB / 0.6325 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002812/1.807, allocations: 298.8 kB / 0.6328 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008333/1.816, allocations: 0.9238 MB / 0.6337 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.817, allocations: 437.2 kB / 0.6341 GB, free: 7.883 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.001947/1.819, allocations: 0.6248 MB / 0.6347 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.82, allocations: 394.8 kB / 0.6351 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006792/1.827, allocations: 2.525 MB / 0.6375 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/1.827, allocations: 24 kB / 0.6376 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/1.827, allocations: 0 / 0.6376 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/1.827, allocations: 14.16 kB / 0.6376 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.84, allocations: 4.286 MB / 0.6418 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/1.84, allocations: 4 kB / 0.6418 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/1.845, allocations: 347.5 kB / 0.6421 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.85e-05/1.845, allocations: 4 kB / 0.6421 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000404/1.845, allocations: 43.92 kB / 0.6421 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/1.845, allocations: 8 kB / 0.6422 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.845, allocations: 0 / 0.6422 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.857, allocations: 4.847 MB / 0.6469 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.859, allocations: 499.3 kB / 0.6474 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/1.86, allocations: 36.11 kB / 0.6474 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.863, allocations: 63.89 kB / 0.6475 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004504/1.864, allocations: 100.8 kB / 0.6476 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.864, allocations: 55.98 kB / 0.6476 GB, free: 9.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009044/1.873, allocations: 2.933 MB / 0.6505 GB, free: 7.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.873, allocations: 0 / 0.6505 GB, free: 7.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008435/1.882, allocations: 1.344 MB / 0.6518 GB, free: 5.664 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.3263/2.208, allocations: 5.649 MB / 0.6573 GB, free: 99.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01706/2.225, allocations: 4.736 MB / 0.6619 GB, free: 99.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.225, allocations: 0 / 0.6619 GB, free: 99.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003169/2.228, allocations: 1.247 MB / 0.6631 GB, free: 99.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/2.232, allocations: 476.3 kB / 0.6636 GB, free: 99.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/2.27, allocations: 10.81 MB / 0.6742 GB, free: 96.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008284/2.279, allocations: 3.668 MB / 0.6777 GB, free: 96.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005401/2.284, allocations: 2.252 MB / 0.6799 GB, free: 96.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/2.284, allocations: 1.969 kB / 0.6799 GB, free: 96.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.129/6.413, allocations: 91.9 MB / 0.7697 GB, free: 47.04 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat