Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.663/2.663, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.572e-05, allocations: 4 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4313, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.6208, allocations: 87.19 MB / 497.5 MB, free: 3.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003919/0.6213, allocations: 63.97 kB / 497.6 MB, free: 3.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04331/0.6646, allocations: 7.303 MB / 0.4931 GB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6647, allocations: 0 / 0.4931 GB, free: 12.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.61e-05/0.6647, allocations: 8 kB / 0.4931 GB, free: 12.04 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001341/0.6661, allocations: 0.5998 MB / 0.4937 GB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.6662, allocations: 8.031 kB / 0.4937 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.6663, allocations: 90.45 kB / 0.4938 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.6664, allocations: 51.34 kB / 0.4938 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.6667, allocations: 222.4 kB / 0.494 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.6668, allocations: 33.34 kB / 0.4941 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.6669, allocations: 59.84 kB / 0.4941 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.668, allocations: 436.5 kB / 0.4945 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.6681, allocations: 15.84 kB / 0.4945 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.6681, allocations: 16 kB / 0.4946 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.6681, allocations: 12 kB / 0.4946 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.6688, allocations: 243.8 kB / 0.4948 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.6726, allocations: 1.699 MB / 0.4965 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.6734, allocations: 403.8 kB / 0.4968 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.6738, allocations: 151.7 kB / 0.497 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.6738, allocations: 7.984 kB / 0.497 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.6739, allocations: 50.5 kB / 0.497 GB, free: 7.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 4.829e-06/0.6739, allocations: 0 / 0.497 GB, free: 7.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009464/0.6749, allocations: 269.4 kB / 0.4973 GB, free: 7.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.6751, allocations: 273.1 kB / 0.4976 GB, free: 7.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.6754, allocations: 223.1 kB / 0.4978 GB, free: 6.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.6755, allocations: 29.7 kB / 0.4978 GB, free: 6.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.6758, allocations: 243.6 kB / 0.498 GB, free: 6.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.676, allocations: 177.5 kB / 0.4982 GB, free: 6.367 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.676, allocations: 16 kB / 0.4982 GB, free: 6.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6762, allocations: 350.8 kB / 0.4986 GB, free: 6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.6765, allocations: 109.6 kB / 0.4987 GB, free: 5.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.6771, allocations: 405.9 kB / 0.499 GB, free: 5.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.6776, allocations: 179.8 kB / 0.4992 GB, free: 5.184 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.6777, allocations: 0 / 0.4992 GB, free: 5.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/0.679, allocations: 0.5326 MB / 0.4997 GB, free: 4.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.6791, allocations: 8 kB / 0.4997 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.6791, allocations: 8 kB / 0.4998 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.212e-05/0.6792, allocations: 16 kB / 0.4998 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.6803, allocations: 180.3 kB / 0.4999 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/0.6804, allocations: 23.88 kB / 0.5 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.6809, allocations: 67.28 kB / 0.5 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.681, allocations: 39.98 kB / 0.5001 GB, free: 4.309 MB / 426.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.0001826/0.6812, allocations: 148.6 kB / 0.5002 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.6814, allocations: 39.56 kB / 0.5002 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.6816, allocations: 41.83 kB / 0.5003 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6816, allocations: 8 kB / 0.5003 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.6816, allocations: 4 kB / 0.5003 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.6816, allocations: 0 / 0.5003 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.6833, allocations: 425.1 kB / 0.5007 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.6833, allocations: 4 kB / 0.5007 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.6846, allocations: 119.9 kB / 0.5008 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.6847, allocations: 4 kB / 0.5008 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.6847, allocations: 15.98 kB / 0.5008 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.6848, allocations: 4.188 kB / 0.5008 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6848, allocations: 4 kB / 0.5008 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.6861, allocations: 1.17 MB / 0.502 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6863, allocations: 112.6 kB / 0.5021 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.6864, allocations: 12 kB / 0.5021 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.687, allocations: 8 kB / 0.5021 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6871, allocations: 43.78 kB / 0.5022 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.6872, allocations: 16 kB / 0.5022 GB, free: 1.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000242/0.6874, allocations: 167.1 kB / 0.5023 GB, free: 1.832 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6874, allocations: 0 / 0.5023 GB, free: 1.832 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001251/0.6887, allocations: 135.7 kB / 0.5025 GB, free: 1.699 MB / 426.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.002017/0.6907, allocations: 2.261 MB / 0.5047 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009276/0.6917, allocations: 315.5 kB / 0.505 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6917, allocations: 2.312 kB / 0.505 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.692, allocations: 119.8 kB / 0.5051 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6933, allocations: 90.7 kB / 0.5052 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.6988, allocations: 2.126 MB / 0.5072 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.6994, allocations: 0.8394 MB / 0.5081 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.6998, allocations: 52.16 kB / 0.5081 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.7001, allocations: 139.4 kB / 0.5083 GB, free: 11.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7001, allocations: 0 / 0.5083 GB, free: 11.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.7377, allocations: 7.452 MB / 0.5155 GB, free: 4.266 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/0.7381, allocations: 164.8 kB / 0.5157 GB, free: 4.043 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.491, allocations: 0 / 0.5157 GB, free: 4.043 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat