Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.987e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5174/0.6582, allocations: 87.18 MB / 497.5 MB, free: 0.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.6585, allocations: 63.97 kB / 497.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03135/0.6898, allocations: 7.299 MB / 0.4931 GB, free: 9.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6899, allocations: 4 kB / 0.4931 GB, free: 9.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.6899, allocations: 8 kB / 0.4931 GB, free: 9.547 MB / 410.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.001324/0.6913, allocations: 0.5959 MB / 0.4937 GB, free: 8.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6913, allocations: 8.031 kB / 0.4937 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.6915, allocations: 90.52 kB / 0.4938 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.6916, allocations: 59.28 kB / 0.4938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6919, allocations: 218.5 kB / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.692, allocations: 29.34 kB / 0.4941 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6921, allocations: 67.78 kB / 0.4941 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6932, allocations: 436.5 kB / 0.4945 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.6932, allocations: 7.906 kB / 0.4945 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.6933, allocations: 20 kB / 0.4946 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.6933, allocations: 15.94 kB / 0.4946 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.694, allocations: 235.8 kB / 0.4948 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.6976, allocations: 1.714 MB / 0.4965 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.6985, allocations: 395.5 kB / 0.4969 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.6988, allocations: 152.3 kB / 0.497 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6989, allocations: 4 kB / 0.497 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.6989, allocations: 58.47 kB / 0.4971 GB, free: 5.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 4.549e-06/0.6989, allocations: 4 kB / 0.4971 GB, free: 5.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008957/0.6998, allocations: 257.1 kB / 0.4973 GB, free: 4.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.7, allocations: 269 kB / 0.4976 GB, free: 4.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.7004, allocations: 219.1 kB / 0.4978 GB, free: 4.344 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.7005, allocations: 33.7 kB / 0.4978 GB, free: 4.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.7007, allocations: 247.7 kB / 0.498 GB, free: 4.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.7009, allocations: 177.5 kB / 0.4982 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.7009, allocations: 12 kB / 0.4982 GB, free: 3.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.7011, allocations: 350.8 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.7015, allocations: 113.6 kB / 0.4987 GB, free: 3.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.7021, allocations: 397.9 kB / 0.499 GB, free: 2.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.7026, allocations: 183.9 kB / 0.4992 GB, free: 2.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7026, allocations: 0 / 0.4992 GB, free: 2.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001333/0.7039, allocations: 0.5328 MB / 0.4997 GB, free: 2.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.704, allocations: 8 kB / 0.4998 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.704, allocations: 8 kB / 0.4998 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/0.7041, allocations: 16 kB / 0.4998 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.7052, allocations: 183.7 kB / 0.4999 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.098e-05/0.7052, allocations: 19.88 kB / 0.5 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.7057, allocations: 67.28 kB / 0.5 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.7058, allocations: 32 kB / 0.5001 GB, free: 1.836 MB / 410.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.0001816/0.706, allocations: 160.8 kB / 0.5002 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.7062, allocations: 39.61 kB / 0.5003 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.7064, allocations: 41.83 kB / 0.5003 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7064, allocations: 8 kB / 0.5003 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.7064, allocations: 4 kB / 0.5003 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.7064, allocations: 0 / 0.5003 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.708, allocations: 421.1 kB / 0.5007 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.7081, allocations: 4 kB / 0.5007 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.7093, allocations: 119.9 kB / 0.5008 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.7094, allocations: 8 kB / 0.5008 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.7094, allocations: 19.98 kB / 0.5009 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.7095, allocations: 4 kB / 0.5009 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7095, allocations: 3.938 kB / 0.5009 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.7109, allocations: 1.159 MB / 0.502 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.7111, allocations: 116.5 kB / 0.5021 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.7111, allocations: 19.94 kB / 0.5021 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.7118, allocations: 8 kB / 0.5021 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.7118, allocations: 35.89 kB / 0.5022 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.7119, allocations: 12 kB / 0.5022 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002561/0.7121, allocations: 175.1 kB / 0.5023 GB, free: 15.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7122, allocations: 0 / 0.5023 GB, free: 15.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7134, allocations: 135.7 kB / 0.5025 GB, free: 15.21 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.002087/0.7155, allocations: 2.269 MB / 0.5047 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.7165, allocations: 313.5 kB / 0.505 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7165, allocations: 0 / 0.505 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.7168, allocations: 123.8 kB / 0.5051 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7181, allocations: 81.14 kB / 0.5052 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/0.7235, allocations: 2.142 MB / 0.5073 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.7241, allocations: 0.8356 MB / 0.5081 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.7245, allocations: 52.14 kB / 0.5081 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.7248, allocations: 139.4 kB / 0.5083 GB, free: 9.121 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7248, allocations: 0 / 0.5083 GB, free: 9.121 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.7608, allocations: 7.449 MB / 0.5155 GB, free: 1.766 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/0.7612, allocations: 165.1 kB / 0.5157 GB, free: 1.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.474, allocations: 0 / 0.5157 GB, free: 1.543 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat