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.024/2.024, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.561e-05/4.562e-05, allocations: 0 / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.973/2.096, allocations: 0.6014 GB / 0.9157 GB, free: 59.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/2.097, allocations: 93.19 kB / 0.9158 GB, free: 59.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446/3.542, allocations: 230.6 MB / 1.141 GB, free: 66.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/3.542, allocations: 0 / 1.141 GB, free: 66.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.544e-05/3.543, allocations: 19.16 kB / 1.141 GB, free: 66.37 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.003906/3.546, allocations: 0.9121 MB / 1.142 GB, free: 66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/3.547, allocations: 12.12 kB / 1.142 GB, free: 66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/3.547, allocations: 81.23 kB / 1.142 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/3.549, allocations: 146.1 kB / 1.142 GB, free: 65.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/3.552, allocations: 0.5238 MB / 1.143 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/3.552, allocations: 34.08 kB / 1.143 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/3.552, allocations: 43.42 kB / 1.143 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/3.555, allocations: 0.566 MB / 1.143 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/3.555, allocations: 6.5 kB / 1.143 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/3.555, allocations: 21.52 kB / 1.143 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/3.555, allocations: 10.81 kB / 1.143 GB, free: 65.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/3.557, allocations: 446.5 kB / 1.144 GB, free: 65.57 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.006088/3.563, allocations: 2.599 MB / 1.146 GB, free: 63.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/3.564, allocations: 302 kB / 1.147 GB, free: 63.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/3.565, allocations: 156.4 kB / 1.147 GB, free: 63.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/3.566, allocations: 327.3 kB / 1.147 GB, free: 63.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/3.566, allocations: 34.97 kB / 1.147 GB, free: 63.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 5.09e-06/3.566, allocations: 3.438 kB / 1.147 GB, free: 63.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002222/3.568, allocations: 428.4 kB / 1.147 GB, free: 63.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/3.568, allocations: 132.6 kB / 1.148 GB, free: 63.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/3.57, allocations: 388.5 kB / 1.148 GB, free: 63.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/3.57, allocations: 30.33 kB / 1.148 GB, free: 63.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/3.57, allocations: 341.3 kB / 1.148 GB, free: 62.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/3.57, allocations: 119.9 kB / 1.148 GB, free: 62.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/3.571, allocations: 14.41 kB / 1.148 GB, free: 62.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/3.571, allocations: 333.1 kB / 1.149 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/3.571, allocations: 162.8 kB / 1.149 GB, free: 62.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/3.572, allocations: 341.8 kB / 1.149 GB, free: 62.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/3.573, allocations: 210.9 kB / 1.149 GB, free: 62.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/3.573, allocations: 1.156 kB / 1.149 GB, free: 62.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002861/3.576, allocations: 0.5862 MB / 1.15 GB, free: 62.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/3.576, allocations: 10.81 kB / 1.15 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/3.576, allocations: 12.34 kB / 1.15 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/3.579, allocations: 237.8 kB / 1.15 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/3.581, allocations: 158.9 kB / 1.15 GB, free: 62.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/3.593, allocations: 28.66 MB / 1.178 GB, free: 32.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/3.594, allocations: 68.14 kB / 1.178 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/3.595, allocations: 52.97 kB / 1.178 GB, free: 32.66 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.0002748/3.595, allocations: 135.8 kB / 1.179 GB, free: 32.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/3.595, allocations: 49.88 kB / 1.179 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/3.598, allocations: 0.6397 MB / 1.179 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/3.599, allocations: 6 kB / 1.179 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/3.599, allocations: 3.938 kB / 1.179 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/3.599, allocations: 1.734 kB / 1.179 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/3.602, allocations: 1.126 MB / 1.18 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/3.602, allocations: 2.469 kB / 1.18 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/3.603, allocations: 64.75 kB / 1.18 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/3.606, allocations: 232.3 kB / 1.181 GB, free: 31.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/3.606, allocations: 15.36 kB / 1.181 GB, free: 31.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/3.607, allocations: 0.5881 MB / 1.181 GB, free: 31.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/3.607, allocations: 5.172 kB / 1.181 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/3.608, allocations: 0.5547 MB / 1.182 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/3.609, allocations: 143 kB / 1.182 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/3.609, allocations: 13.3 kB / 1.182 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/3.61, allocations: 38.98 kB / 1.182 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/3.61, allocations: 37.3 kB / 1.182 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/3.61, allocations: 17.19 kB / 1.182 GB, free: 30.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008061/3.611, allocations: 324 kB / 1.182 GB, free: 30.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/3.611, allocations: 0 / 1.182 GB, free: 30.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003987/3.615, allocations: 423.5 kB / 1.183 GB, free: 30.86 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.005675/3.62, allocations: 2.666 MB / 1.185 GB, free: 29.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/3.622, allocations: 389.5 kB / 1.186 GB, free: 29.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/3.622, allocations: 1.188 kB / 1.186 GB, free: 29.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005952/3.623, allocations: 151 kB / 1.186 GB, free: 29.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/3.626, allocations: 216.6 kB / 1.186 GB, free: 29.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/3.64, allocations: 2.401 MB / 1.188 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/3.641, allocations: 0.8728 MB / 1.189 GB, free: 28.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000976/3.642, allocations: 237.1 kB / 1.19 GB, free: 28.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/3.642, allocations: 5.031 kB / 1.19 GB, free: 28.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.68/7.322, allocations: 30.28 MB / 1.219 GB, free: 27.11 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