Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.152e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4774, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.6405, allocations: 86.05 MB / 468.3 MB, free: 6.371 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6408, allocations: 67.97 kB / 468.4 MB, free: 6.305 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.6718, allocations: 7.106 MB / 475.5 MB, free: 15.19 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6718, allocations: 4 kB / 475.5 MB, free: 15.19 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.6719, allocations: 8 kB / 475.5 MB, free: 15.18 MB / 410.8 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.001268/0.6731, allocations: 0.6036 MB / 476.1 MB, free: 14.53 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.6732, allocations: 12.03 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.6734, allocations: 86.52 kB / 476.2 MB, free: 14.42 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.6735, allocations: 51.78 kB / 476.3 MB, free: 14.37 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.6738, allocations: 227.4 kB / 476.5 MB, free: 14.11 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.6738, allocations: 36.98 kB / 476.5 MB, free: 14.07 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.6739, allocations: 55.91 kB / 476.6 MB, free: 14.02 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.675, allocations: 436.2 kB / 477 MB, free: 13.56 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.675, allocations: 15.83 kB / 477 MB, free: 13.54 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.6751, allocations: 20 kB / 477 MB, free: 13.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.6751, allocations: 19.95 kB / 477.1 MB, free: 13.5 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.6758, allocations: 231.9 kB / 477.3 MB, free: 13.28 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.6804, allocations: 1.699 MB / 479 MB, free: 11.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/0.6813, allocations: 403.6 kB / 479.4 MB, free: 11.02 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.6817, allocations: 151.7 kB / 479.5 MB, free: 10.84 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6817, allocations: 4 kB / 479.5 MB, free: 10.84 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.6818, allocations: 54.45 kB / 479.6 MB, free: 10.78 MB / 410.8 MB Notification: Performance of pre-optimization done (n=42): time 3.887e-06/0.6818, allocations: 0 / 479.6 MB, free: 10.78 MB / 410.8 MB Notification: Performance of matching and sorting (n=42): time 0.0009123/0.6827, allocations: 265.5 kB / 479.9 MB, free: 10.51 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.6829, allocations: 277.1 kB / 480.1 MB, free: 10.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.6832, allocations: 215.1 kB / 480.3 MB, free: 9.957 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.6833, allocations: 33.7 kB / 480.4 MB, free: 9.918 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.6835, allocations: 239.6 kB / 480.6 MB, free: 9.68 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.6837, allocations: 185.4 kB / 480.8 MB, free: 9.496 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.6837, allocations: 8 kB / 480.8 MB, free: 9.488 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6839, allocations: 350.8 kB / 481.1 MB, free: 9.137 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.6842, allocations: 113.6 kB / 481.2 MB, free: 9.027 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.6848, allocations: 405.9 kB / 481.6 MB, free: 8.492 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.6852, allocations: 179.9 kB / 481.8 MB, free: 8.316 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.6853, allocations: 8 kB / 481.8 MB, free: 8.309 MB / 410.8 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001285/0.6865, allocations: 0.5321 MB / 482.4 MB, free: 7.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.6866, allocations: 12 kB / 482.4 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.6866, allocations: 8.906 kB / 482.4 MB, free: 7.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/0.6867, allocations: 19.95 kB / 482.4 MB, free: 7.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6878, allocations: 179.7 kB / 482.6 MB, free: 7.555 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/0.6879, allocations: 23.92 kB / 482.6 MB, free: 7.531 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.6884, allocations: 63.38 kB / 482.7 MB, free: 7.469 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.6884, allocations: 32 kB / 482.7 MB, free: 7.438 MB / 410.8 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.0001753/0.6886, allocations: 149.2 kB / 482.8 MB, free: 7.285 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.6889, allocations: 35.62 kB / 482.9 MB, free: 7.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.689, allocations: 41.83 kB / 482.9 MB, free: 7.207 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.689, allocations: 15.89 kB / 482.9 MB, free: 7.191 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6891, allocations: 4 kB / 482.9 MB, free: 7.188 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6891, allocations: 7.984 kB / 482.9 MB, free: 7.18 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.6907, allocations: 413.2 kB / 483.3 MB, free: 6.727 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6907, allocations: 0 / 483.3 MB, free: 6.727 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.692, allocations: 123.9 kB / 483.5 MB, free: 6.605 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.692, allocations: 4 kB / 483.5 MB, free: 6.602 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.6921, allocations: 19.98 kB / 483.5 MB, free: 6.582 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.6921, allocations: 7.938 kB / 483.5 MB, free: 6.574 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6921, allocations: 3.953 kB / 483.5 MB, free: 6.57 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6934, allocations: 1.158 MB / 484.7 MB, free: 5.336 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.6936, allocations: 116.7 kB / 484.8 MB, free: 5.203 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.6937, allocations: 20 kB / 484.8 MB, free: 5.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.6943, allocations: 12 kB / 484.8 MB, free: 5.172 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.6944, allocations: 31.89 kB / 484.8 MB, free: 5.141 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.6944, allocations: 16 kB / 484.8 MB, free: 5.125 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002301/0.6947, allocations: 167.1 kB / 485 MB, free: 4.961 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6947, allocations: 0 / 485 MB, free: 4.961 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001279/0.696, allocations: 135.7 kB / 485.1 MB, free: 4.828 MB / 410.8 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.001798/0.6978, allocations: 2.269 MB / 487.4 MB, free: 2.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.6987, allocations: 313.5 kB / 487.7 MB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6987, allocations: 4 kB / 487.7 MB, free: 2.191 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.699, allocations: 123.8 kB / 487.8 MB, free: 2.07 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7003, allocations: 86.75 kB / 487.9 MB, free: 1.984 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.7055, allocations: 2.122 MB / 490 MB, free: 15.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.7061, allocations: 0.8434 MB / 490.9 MB, free: 14.93 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.7064, allocations: 44.17 kB / 490.9 MB, free: 14.88 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.7067, allocations: 139.4 kB / 491.1 MB, free: 14.75 MB / 426.8 MB Notification: Performance of SimCode: time 1.182e-06/0.7067, allocations: 0 / 491.1 MB, free: 14.75 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.7457, allocations: 7.456 MB / 498.5 MB, free: 7.371 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/0.7461, allocations: 161.7 kB / 498.7 MB, free: 7.145 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/3.739, allocations: 0 / 498.7 MB, free: 7.145 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat