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.526/2.526, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.264e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5493/0.5494, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.7344, allocations: 80.99 MB / 440.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.7347, allocations: 63.97 kB / 440.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.7636, allocations: 6.879 MB / 447.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7637, allocations: 0 / 447.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.7637, allocations: 8 kB / 447.8 MB, free: 8.91 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.00125/0.765, allocations: 0.6071 MB / 448.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.7651, allocations: 8.031 kB / 448.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.7652, allocations: 98.52 kB / 448.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.7653, allocations: 53.31 kB / 448.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.7656, allocations: 214.4 kB / 448.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.7657, allocations: 37 kB / 448.8 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.7658, allocations: 51.91 kB / 448.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.7668, allocations: 446.5 kB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.7669, allocations: 11.84 kB / 449.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/0.7669, allocations: 24 kB / 449.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.767, allocations: 12 kB / 449.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.7677, allocations: 254.6 kB / 449.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.7712, allocations: 1.703 MB / 451.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/0.772, allocations: 395.5 kB / 451.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.7724, allocations: 156.3 kB / 451.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.7724, allocations: 11.94 kB / 451.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.7725, allocations: 54.47 kB / 451.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.326e-06/0.7725, allocations: 0 / 451.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008998/0.7734, allocations: 265 kB / 452.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.7736, allocations: 269 kB / 452.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.7739, allocations: 219.2 kB / 452.6 MB, free: 3.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.774, allocations: 33.83 kB / 452.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.7742, allocations: 244.8 kB / 452.9 MB, free: 3.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.7744, allocations: 185.3 kB / 453.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.7744, allocations: 16 kB / 453.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7746, allocations: 350.8 kB / 453.4 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.775, allocations: 109.6 kB / 453.5 MB, free: 2.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.7756, allocations: 407.5 kB / 453.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.776, allocations: 188.2 kB / 454.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.7761, allocations: 7.281 kB / 454.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001328/0.7774, allocations: 0.5557 MB / 454.7 MB, free: 1.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.7775, allocations: 8 kB / 454.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.7775, allocations: 12 kB / 454.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.7775, allocations: 16 kB / 454.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7786, allocations: 179.7 kB / 454.9 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.7787, allocations: 16.69 kB / 454.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.7791, allocations: 59.72 kB / 455 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.7792, allocations: 40 kB / 455 MB, free: 1.117 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.0002081/0.7794, allocations: 156.6 kB / 455.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.7797, allocations: 43.61 kB / 455.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.7798, allocations: 37.83 kB / 455.2 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.7799, allocations: 4 kB / 455.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.7799, allocations: 4 kB / 455.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.7799, allocations: 5.031 kB / 455.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.7814, allocations: 417.1 kB / 455.7 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7815, allocations: 4 kB / 455.7 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.7827, allocations: 127.9 kB / 455.8 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.7827, allocations: 4 kB / 455.8 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.7828, allocations: 8 kB / 455.8 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.7828, allocations: 7.984 kB / 455.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.7828, allocations: 4 kB / 455.8 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.7842, allocations: 1.161 MB / 457 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.7844, allocations: 116.6 kB / 457.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.7844, allocations: 12 kB / 457.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.785, allocations: 9.031 kB / 457.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.7851, allocations: 39.97 kB / 457.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.7852, allocations: 16 kB / 457.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.7854, allocations: 167.1 kB / 457.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.286e-06/0.7854, allocations: 0 / 457.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001097/0.7865, allocations: 143.6 kB / 457.5 MB, free: 14.51 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.001868/0.7884, allocations: 2.269 MB / 459.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009079/0.7893, allocations: 336.2 kB / 460.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7894, allocations: 1.812 kB / 460.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.7896, allocations: 123.8 kB / 460.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.7908, allocations: 88.14 kB / 460.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/0.7961, allocations: 2.128 MB / 462.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.7967, allocations: 0.8395 MB / 463.2 MB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.797, allocations: 52.14 kB / 463.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.7973, allocations: 139.4 kB / 463.4 MB, free: 8.398 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/0.7973, allocations: 0 / 463.4 MB, free: 8.398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.8439, allocations: 7.479 MB / 470.9 MB, free: 1 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.8443, allocations: 163 kB / 471.1 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.668, allocations: 0 / 471.1 MB, free: 0.7773 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