Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.389e-05/4.43e-05, allocations: 7.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4796, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.6366, allocations: 81 MB / 440.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.6369, allocations: 67.95 kB / 440.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02989/0.6668, allocations: 6.88 MB / 447.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6669, allocations: 0 / 447.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.6669, allocations: 8 kB / 447.8 MB, free: 8.902 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001381/0.6683, allocations: 0.6071 MB / 448.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.6684, allocations: 8.031 kB / 448.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.6686, allocations: 86.52 kB / 448.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.6687, allocations: 51.44 kB / 448.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.669, allocations: 222.4 kB / 448.8 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.6691, allocations: 37 kB / 448.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6692, allocations: 59.89 kB / 448.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6703, allocations: 432.5 kB / 449.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.6703, allocations: 15.91 kB / 449.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.6704, allocations: 20 kB / 449.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.6704, allocations: 12 kB / 449.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006787/0.6711, allocations: 235.8 kB / 449.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.6749, allocations: 1.707 MB / 451.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.6757, allocations: 387.5 kB / 451.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.676, allocations: 156.3 kB / 451.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.6761, allocations: 12 kB / 451.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.6761, allocations: 53.19 kB / 451.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.589e-06/0.6762, allocations: 0 / 451.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009263/0.6771, allocations: 265.1 kB / 452.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.6773, allocations: 269 kB / 452.4 MB, free: 3.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.6776, allocations: 219.1 kB / 452.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.6777, allocations: 29.7 kB / 452.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.6779, allocations: 243.6 kB / 452.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.6781, allocations: 181.4 kB / 453.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.6782, allocations: 20.12 kB / 453.1 MB, free: 3.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.6784, allocations: 346.8 kB / 453.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.6787, allocations: 109.6 kB / 453.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.6794, allocations: 401.9 kB / 453.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.6799, allocations: 187.8 kB / 454.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.6799, allocations: 7.281 kB / 454.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001308/0.6812, allocations: 0.5329 MB / 454.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.6813, allocations: 13.94 kB / 454.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.6813, allocations: 12.06 kB / 454.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/0.6813, allocations: 20 kB / 454.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6825, allocations: 175.7 kB / 454.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.121e-05/0.6825, allocations: 15.94 kB / 454.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.683, allocations: 63.38 kB / 454.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.683, allocations: 32 kB / 455 MB, free: 1.184 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001838/0.6832, allocations: 156.7 kB / 455.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.6835, allocations: 43.58 kB / 455.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.6836, allocations: 41.83 kB / 455.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6837, allocations: 4 kB / 455.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.6837, allocations: 4 kB / 455.2 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6837, allocations: 4 kB / 455.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.6854, allocations: 409.2 kB / 455.6 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6854, allocations: 4.938 kB / 455.6 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.6867, allocations: 127.9 kB / 455.8 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.6867, allocations: 7.953 kB / 455.8 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.6867, allocations: 11.98 kB / 455.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.6868, allocations: 7.938 kB / 455.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.6868, allocations: 8 kB / 455.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.6882, allocations: 1.157 MB / 456.9 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6883, allocations: 116.6 kB / 457.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.6884, allocations: 12 kB / 457.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.689, allocations: 8 kB / 457.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.6891, allocations: 36.66 kB / 457.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.6891, allocations: 12 kB / 457.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000252/0.6894, allocations: 167.1 kB / 457.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.735e-06/0.6894, allocations: 0 / 457.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001223/0.6906, allocations: 139.6 kB / 457.4 MB, free: 14.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.002056/0.6927, allocations: 2.281 MB / 459.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009512/0.6937, allocations: 313.6 kB / 460 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6938, allocations: 0 / 460 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.6941, allocations: 129.4 kB / 460.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.6954, allocations: 75.88 kB / 460.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.7009, allocations: 2.122 MB / 462.3 MB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.7015, allocations: 0.8433 MB / 463.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.7018, allocations: 52.14 kB / 463.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.7021, allocations: 143.4 kB / 463.4 MB, free: 8.488 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.7021, allocations: 0 / 463.4 MB, free: 8.488 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.7444, allocations: 7.455 MB / 470.8 MB, free: 1.113 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003462/0.7448, allocations: 161.6 kB / 471 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.486, allocations: 0 / 471 MB, free: 0.8906 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat