Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.982e-05, allocations: 0 / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3996, allocations: 54.86 MB / 359.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.5495, allocations: 80.99 MB / 440.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5499, allocations: 63.97 kB / 440.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02964/0.5795, allocations: 6.878 MB / 447.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5796, allocations: 4 kB / 447.8 MB, free: 8.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.5796, allocations: 8 kB / 447.8 MB, free: 8.953 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.001275/0.5809, allocations: 0.6071 MB / 448.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.5809, allocations: 12.03 kB / 448.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.5811, allocations: 82.52 kB / 448.5 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.5812, allocations: 51.44 kB / 448.6 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.5815, allocations: 222.4 kB / 448.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.5815, allocations: 37 kB / 448.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5817, allocations: 55.91 kB / 448.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5827, allocations: 444.5 kB / 449.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.5828, allocations: 14.38 kB / 449.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.5829, allocations: 20 kB / 449.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.5829, allocations: 12 kB / 449.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.5836, allocations: 231.9 kB / 449.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.5871, allocations: 1.707 MB / 451.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.5879, allocations: 395.8 kB / 451.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.5882, allocations: 147.7 kB / 451.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.5883, allocations: 11.94 kB / 451.8 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.5883, allocations: 42.56 kB / 451.9 MB, free: 4.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.336e-06/0.5884, allocations: 0 / 451.9 MB, free: 4.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009098/0.5893, allocations: 277.3 kB / 452.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.5895, allocations: 269 kB / 452.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.5898, allocations: 211.1 kB / 452.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.5899, allocations: 41.69 kB / 452.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5901, allocations: 290 kB / 452.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.5903, allocations: 189.4 kB / 453.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.5904, allocations: 20.12 kB / 453.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5906, allocations: 334.8 kB / 453.5 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.5909, allocations: 109.6 kB / 453.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.5915, allocations: 398 kB / 453.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.592, allocations: 195.9 kB / 454.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.592, allocations: 7.281 kB / 454.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001326/0.5933, allocations: 0.5099 MB / 454.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.5934, allocations: 19.98 kB / 454.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5934, allocations: 8 kB / 454.7 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.19e-05/0.5935, allocations: 16 kB / 454.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5946, allocations: 175.7 kB / 454.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.145e-05/0.5947, allocations: 21.44 kB / 454.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.5952, allocations: 67.28 kB / 455 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/0.5952, allocations: 32 kB / 455 MB, free: 1.195 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.0001825/0.5954, allocations: 152.6 kB / 455.1 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.5957, allocations: 43.58 kB / 455.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.5958, allocations: 41.83 kB / 455.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5959, allocations: 11.98 kB / 455.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5959, allocations: 0 / 455.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5959, allocations: 4 kB / 455.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.5975, allocations: 413.2 kB / 455.6 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.5975, allocations: 0 / 455.6 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5988, allocations: 123.9 kB / 455.8 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/0.5988, allocations: 7.953 kB / 455.8 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.5989, allocations: 16 kB / 455.8 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.5989, allocations: 4 kB / 455.8 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5989, allocations: 7.984 kB / 455.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6002, allocations: 1.159 MB / 457 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.6004, allocations: 120.6 kB / 457.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.6005, allocations: 16 kB / 457.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.601, allocations: 8 kB / 457.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.6011, allocations: 31.86 kB / 457.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.6012, allocations: 19.98 kB / 457.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.6014, allocations: 163.1 kB / 457.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.395e-06/0.6014, allocations: 4 kB / 457.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001255/0.6027, allocations: 143.6 kB / 457.4 MB, free: 14.58 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.001894/0.6046, allocations: 2.265 MB / 459.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.6055, allocations: 317.6 kB / 460 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6056, allocations: 1.5 kB / 460 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.6059, allocations: 124 kB / 460.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6072, allocations: 83.41 kB / 460.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.6125, allocations: 2.159 MB / 462.4 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.6132, allocations: 0.8434 MB / 463.2 MB, free: 8.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.6135, allocations: 143.4 kB / 463.4 MB, free: 8.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6135, allocations: 0 / 463.4 MB, free: 8.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/3.142, allocations: 6.749 MB / 470.1 MB, free: 1.758 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat