Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.582/2.582, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.26e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5745, allocations: 83.02 MB / 437.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5748, allocations: 67.97 kB / 437.5 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1301/0.705, allocations: 25.24 MB / 462.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.705, allocations: 0 / 462.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.705, allocations: 0 / 462.8 MB, free: 2.723 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007755/0.7058, allocations: 445.9 kB / 463.2 MB, free: 2.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.7059, allocations: 8.031 kB / 463.2 MB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.7059, allocations: 0 / 463.2 MB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.706, allocations: 163.1 kB / 463.4 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7061, allocations: 0 / 463.4 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.7061, allocations: 0 / 463.4 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.278e-05/0.7061, allocations: 3.984 kB / 463.4 MB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.711e-05/0.7062, allocations: 29.7 kB / 463.4 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7062, allocations: 3.953 kB / 463.4 MB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.7063, allocations: 4 kB / 463.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.7063, allocations: 0 / 463.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.7064, allocations: 122.2 kB / 463.5 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.7065, allocations: 22.55 kB / 463.5 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.7065, allocations: 4.859 kB / 463.5 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.7065, allocations: 0 / 463.5 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/0.7066, allocations: 64.25 kB / 463.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.7066, allocations: 4 kB / 463.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000187/0.7068, allocations: 33.77 kB / 463.6 MB, free: 1.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.7069, allocations: 77.11 kB / 463.7 MB, free: 1.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.7069, allocations: 85 kB / 463.8 MB, free: 1.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.707, allocations: 25.7 kB / 463.8 MB, free: 1.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.707, allocations: 80.14 kB / 463.9 MB, free: 1.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.707, allocations: 0 / 463.9 MB, free: 1.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.7071, allocations: 0 / 463.9 MB, free: 1.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7072, allocations: 330.8 kB / 464.2 MB, free: 1.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.7072, allocations: 3.938 kB / 464.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.7072, allocations: 0 / 464.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.7073, allocations: 3.984 kB / 464.2 MB, free: 1.031 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7073, allocations: 0 / 464.2 MB, free: 1.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.489e-05/0.7074, allocations: 33.7 kB / 464.3 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.7075, allocations: 29.7 kB / 464.3 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.7075, allocations: 0 / 464.3 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7075, allocations: 4 kB / 464.3 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-06/0.7075, allocations: 4.094 kB / 464.3 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7076, allocations: 3.984 kB / 464.3 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.7076, allocations: 0 / 464.3 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.7076, allocations: 0 / 464.3 MB, free: 0.9453 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001073/0.7077, allocations: 134.6 kB / 464.4 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.431e-05/0.7078, allocations: 41.64 kB / 464.5 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.7078, allocations: 3.938 kB / 464.5 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.7079, allocations: 7.734 kB / 464.5 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7079, allocations: 32 / 464.5 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7079, allocations: 4 kB / 464.5 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7079, allocations: 3.953 kB / 464.5 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.708, allocations: 126.2 kB / 464.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.708, allocations: 4 kB / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.708, allocations: 0 / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7081, allocations: 0 / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.7081, allocations: 0 / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7081, allocations: 0 / 464.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7081, allocations: 4 kB / 464.6 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.7082, allocations: 69.08 kB / 464.7 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.7083, allocations: 77.11 kB / 464.8 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.7083, allocations: 0 / 464.8 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.7083, allocations: 0 / 464.8 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.7084, allocations: 7.984 kB / 464.8 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.7084, allocations: 0 / 464.8 MB, free: 392 kB / 394.7 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.7084, allocations: 79.22 kB / 464.9 MB, free: 312 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7084, allocations: 0 / 464.9 MB, free: 312 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000958/0.7094, allocations: 211.8 kB / 465.1 MB, free: 100 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.3268/1.036, allocations: 0.8659 MB / 465.9 MB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/1.036, allocations: 60.69 kB / 466 MB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.036, allocations: 0.5 kB / 466 MB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/1.036, allocations: 61.16 kB / 466.1 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/1.037, allocations: 2.406 kB / 466.1 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/1.037, allocations: 143.7 kB / 466.2 MB, free: 101.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.037, allocations: 0.6776 MB / 466.9 MB, free: 101 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.476e-06/1.037, allocations: 0.5938 kB / 466.9 MB, free: 101 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/1.037, allocations: 9.719 kB / 466.9 MB, free: 101 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/1.037, allocations: 0 / 466.9 MB, free: 101 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/1.1, allocations: 5.44 MB / 472.3 MB, free: 100.9 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000256/1.1, allocations: 167.7 kB / 472.5 MB, free: 100.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.764/3.864, allocations: 0 / 472.5 MB, free: 100.7 MB / 394.7 MB