Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.105/2.105, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.585e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.1/2.213, allocations: 0.6014 GB / 0.9156 GB, free: 60.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.213, allocations: 99.67 kB / 0.9157 GB, free: 60.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499/3.712, allocations: 230.6 MB / 1.141 GB, free: 66.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/3.712, allocations: 1.125 kB / 1.141 GB, free: 66.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.887e-05/3.712, allocations: 15.38 kB / 1.141 GB, free: 66.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003206/3.716, allocations: 0.9214 MB / 1.142 GB, free: 66.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/3.716, allocations: 9.312 kB / 1.142 GB, free: 66.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/3.716, allocations: 84.56 kB / 1.142 GB, free: 66.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/3.718, allocations: 138.8 kB / 1.142 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/3.719, allocations: 0.5346 MB / 1.143 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/3.719, allocations: 31.95 kB / 1.143 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/3.72, allocations: 45.48 kB / 1.143 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/3.721, allocations: 0.564 MB / 1.143 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/3.721, allocations: 0 / 1.143 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/3.721, allocations: 21.47 kB / 1.143 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/3.721, allocations: 12.97 kB / 1.143 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/3.723, allocations: 454.2 kB / 1.144 GB, free: 65.62 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/3.727, allocations: 2.597 MB / 1.146 GB, free: 63.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/3.728, allocations: 303.5 kB / 1.147 GB, free: 63.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/3.729, allocations: 153.4 kB / 1.147 GB, free: 63.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/3.729, allocations: 327.8 kB / 1.147 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/3.729, allocations: 41.45 kB / 1.147 GB, free: 63.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.287e-06/3.729, allocations: 0 / 1.147 GB, free: 63.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001675/3.731, allocations: 430.8 kB / 1.147 GB, free: 63.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/3.731, allocations: 136.6 kB / 1.148 GB, free: 63.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/3.732, allocations: 384 kB / 1.148 GB, free: 63.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/3.732, allocations: 40.14 kB / 1.148 GB, free: 63.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/3.732, allocations: 336.2 kB / 1.148 GB, free: 62.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/3.732, allocations: 123.4 kB / 1.148 GB, free: 62.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/3.732, allocations: 8.594 kB / 1.148 GB, free: 62.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/3.733, allocations: 333.5 kB / 1.149 GB, free: 62.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/3.733, allocations: 163.5 kB / 1.149 GB, free: 62.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/3.734, allocations: 343.6 kB / 1.149 GB, free: 62.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/3.734, allocations: 216.9 kB / 1.149 GB, free: 62.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/3.734, allocations: 4.188 kB / 1.149 GB, free: 62.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001661/3.736, allocations: 0.6001 MB / 1.15 GB, free: 62.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/3.736, allocations: 7.094 kB / 1.15 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/3.736, allocations: 12.52 kB / 1.15 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/3.738, allocations: 238 kB / 1.15 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/3.74, allocations: 155.7 kB / 1.15 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00983/3.749, allocations: 28.72 MB / 1.178 GB, free: 32.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/3.75, allocations: 69.45 kB / 1.179 GB, free: 32.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/3.751, allocations: 51.23 kB / 1.179 GB, free: 32.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002401/3.751, allocations: 143 kB / 1.179 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/3.751, allocations: 48.81 kB / 1.179 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/3.754, allocations: 0.6344 MB / 1.179 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/3.754, allocations: 6.281 kB / 1.179 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/3.754, allocations: 3.25 kB / 1.179 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/3.754, allocations: 2.609 kB / 1.179 GB, free: 32.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/3.757, allocations: 1.14 MB / 1.18 GB, free: 31.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/3.757, allocations: 1.219 kB / 1.18 GB, free: 31.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/3.757, allocations: 63.28 kB / 1.181 GB, free: 31.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/3.759, allocations: 235 kB / 1.181 GB, free: 31.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/3.759, allocations: 13.61 kB / 1.181 GB, free: 31.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005394/3.76, allocations: 0.5853 MB / 1.181 GB, free: 31.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/3.76, allocations: 6.266 kB / 1.181 GB, free: 31.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/3.761, allocations: 0.5577 MB / 1.182 GB, free: 31.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/3.761, allocations: 145.5 kB / 1.182 GB, free: 31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/3.762, allocations: 11.45 kB / 1.182 GB, free: 30.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/3.762, allocations: 39.77 kB / 1.182 GB, free: 30.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/3.762, allocations: 30.45 kB / 1.182 GB, free: 30.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/3.762, allocations: 21.59 kB / 1.182 GB, free: 30.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006274/3.763, allocations: 324.9 kB / 1.182 GB, free: 30.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.763, allocations: 0 / 1.182 GB, free: 30.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00286/3.766, allocations: 426.2 kB / 1.183 GB, free: 30.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004662/3.771, allocations: 2.649 MB / 1.185 GB, free: 29.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/3.772, allocations: 392.9 kB / 1.186 GB, free: 29.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/3.772, allocations: 2.906 kB / 1.186 GB, free: 29.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/3.773, allocations: 151.3 kB / 1.186 GB, free: 29.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/3.775, allocations: 223.5 kB / 1.186 GB, free: 29.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/3.787, allocations: 2.404 MB / 1.189 GB, free: 29.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/3.787, allocations: 0.8706 MB / 1.189 GB, free: 28.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007448/3.788, allocations: 232.9 kB / 1.19 GB, free: 28.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/3.788, allocations: 1.75 kB / 1.19 GB, free: 28.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.435/7.223, allocations: 30.22 MB / 1.219 GB, free: 27.26 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat