Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.186e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 48.71 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.521, allocations: 74.62 MB / 396.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5213, allocations: 67 kB / 396.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02957/0.5509, allocations: 6.87 MB / 403.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5509, allocations: 0 / 403.4 MB, free: 8.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.5509, allocations: 8 kB / 403.4 MB, free: 8.281 MB / 330.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.001289/0.5522, allocations: 0.6037 MB / 404 MB, free: 7.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5523, allocations: 8.031 kB / 404 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.5525, allocations: 90.52 kB / 404.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.5526, allocations: 51.44 kB / 404.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.5529, allocations: 222.7 kB / 404.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.5529, allocations: 37 kB / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.553, allocations: 61.64 kB / 404.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/0.5541, allocations: 436.1 kB / 404.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.5541, allocations: 15.84 kB / 404.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.5542, allocations: 24 kB / 404.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.5542, allocations: 12 kB / 405 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.5549, allocations: 231.8 kB / 405.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.5585, allocations: 1.711 MB / 406.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.5593, allocations: 392 kB / 407.3 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.5596, allocations: 143.7 kB / 407.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.5597, allocations: 19.94 kB / 407.4 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.5597, allocations: 46.48 kB / 407.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.977e-06/0.5598, allocations: 0 / 407.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008897/0.5606, allocations: 269.2 kB / 407.7 MB, free: 3.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5608, allocations: 268.9 kB / 408 MB, free: 3.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.5611, allocations: 223.1 kB / 408.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5612, allocations: 33.7 kB / 408.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5614, allocations: 298 kB / 408.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.5616, allocations: 177.4 kB / 408.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.5616, allocations: 16.12 kB / 408.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5618, allocations: 342.8 kB / 409.1 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.5621, allocations: 105.6 kB / 409.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.5627, allocations: 409.9 kB / 409.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.5632, allocations: 180.2 kB / 409.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5632, allocations: 4 kB / 409.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001277/0.5645, allocations: 0.5171 MB / 410.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5645, allocations: 8.188 kB / 410.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.5645, allocations: 16 kB / 410.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/0.5646, allocations: 16 kB / 410.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.5657, allocations: 183.7 kB / 410.5 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.172e-05/0.5657, allocations: 19.88 kB / 410.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.5662, allocations: 59.38 kB / 410.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.5663, allocations: 36 kB / 410.6 MB, free: 0.5312 MB / 330.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.0001675/0.5665, allocations: 148.7 kB / 410.7 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.5667, allocations: 51.5 kB / 410.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5669, allocations: 41.83 kB / 410.8 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5669, allocations: 4 kB / 410.8 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5669, allocations: 7.953 kB / 410.8 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.5669, allocations: 4 kB / 410.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5685, allocations: 409.2 kB / 411.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5686, allocations: 4 kB / 411.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.5698, allocations: 123.9 kB / 411.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.5699, allocations: 4 kB / 411.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.5699, allocations: 8 kB / 411.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.5699, allocations: 7.984 kB / 411.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.57, allocations: 15.88 kB / 411.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.5712, allocations: 1.158 MB / 412.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.5714, allocations: 116.6 kB / 412.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.5715, allocations: 15.95 kB / 412.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.5721, allocations: 8 kB / 412.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.5722, allocations: 39.83 kB / 412.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.5722, allocations: 12.12 kB / 412.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.5725, allocations: 167.1 kB / 412.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5725, allocations: 0 / 412.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00121/0.5737, allocations: 139.7 kB / 413.1 MB, free: 13.92 MB / 346.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.00173/0.5754, allocations: 2.27 MB / 415.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008776/0.5764, allocations: 313.7 kB / 415.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5764, allocations: 1 kB / 415.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.5767, allocations: 127.8 kB / 415.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5779, allocations: 72.5 kB / 415.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.5832, allocations: 2.166 MB / 418 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.5838, allocations: 0.8395 MB / 418.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.5841, allocations: 143.4 kB / 419 MB, free: 7.844 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5841, allocations: 0 / 419 MB, free: 7.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.535/3.119, allocations: 6.742 MB / 425.7 MB, free: 1.094 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat