Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.068e-05, allocations: 9.391 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.978/2.084, allocations: 0.6014 GB / 0.9157 GB, free: 59.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/2.084, allocations: 92.06 kB / 0.9158 GB, free: 59.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386/3.47, allocations: 230.6 MB / 1.141 GB, free: 66.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/3.47, allocations: 0 / 1.141 GB, free: 66.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.387e-05/3.47, allocations: 15.98 kB / 1.141 GB, free: 66.19 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.00309/3.473, allocations: 0.9234 MB / 1.142 GB, free: 65.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/3.473, allocations: 9.625 kB / 1.142 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/3.474, allocations: 80.84 kB / 1.142 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/3.475, allocations: 136.9 kB / 1.142 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/3.477, allocations: 0.5349 MB / 1.143 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/3.477, allocations: 30.7 kB / 1.143 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/3.477, allocations: 42.22 kB / 1.143 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/3.479, allocations: 0.5691 MB / 1.143 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/3.479, allocations: 2.859 kB / 1.143 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/3.479, allocations: 23.75 kB / 1.143 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/3.479, allocations: 10.59 kB / 1.143 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/3.481, allocations: 450 kB / 1.144 GB, free: 65.39 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.004568/3.485, allocations: 2.605 MB / 1.146 GB, free: 63.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/3.486, allocations: 305.2 kB / 1.147 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/3.487, allocations: 151.7 kB / 1.147 GB, free: 63.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/3.487, allocations: 335.1 kB / 1.147 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/3.487, allocations: 39.47 kB / 1.147 GB, free: 63.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.406e-06/3.487, allocations: 0 / 1.147 GB, free: 63.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001563/3.489, allocations: 428.8 kB / 1.147 GB, free: 63.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/3.489, allocations: 138.8 kB / 1.148 GB, free: 63.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/3.49, allocations: 382.8 kB / 1.148 GB, free: 62.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.222e-05/3.49, allocations: 36.3 kB / 1.148 GB, free: 62.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/3.49, allocations: 295.7 kB / 1.148 GB, free: 62.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/3.49, allocations: 122.4 kB / 1.148 GB, free: 62.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/3.49, allocations: 8.188 kB / 1.148 GB, free: 62.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/3.49, allocations: 358.9 kB / 1.149 GB, free: 62.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/3.491, allocations: 169 kB / 1.149 GB, free: 62.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/3.491, allocations: 340.4 kB / 1.149 GB, free: 62.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/3.492, allocations: 213.8 kB / 1.149 GB, free: 62.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/3.492, allocations: 4.625 kB / 1.149 GB, free: 62.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001802/3.494, allocations: 0.6238 MB / 1.15 GB, free: 62.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/3.494, allocations: 8.203 kB / 1.15 GB, free: 62.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/3.494, allocations: 7.625 kB / 1.15 GB, free: 62.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/3.496, allocations: 239.7 kB / 1.15 GB, free: 62.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/3.497, allocations: 160.5 kB / 1.15 GB, free: 62.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009998/3.508, allocations: 28.71 MB / 1.178 GB, free: 32.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/3.509, allocations: 66.22 kB / 1.179 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/3.509, allocations: 54.11 kB / 1.179 GB, free: 32.52 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.0002352/3.509, allocations: 142 kB / 1.179 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/3.509, allocations: 48.78 kB / 1.179 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/3.512, allocations: 0.6434 MB / 1.179 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/3.512, allocations: 8.844 kB / 1.179 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/3.512, allocations: 0 / 1.179 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/3.512, allocations: 1.406 kB / 1.179 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/3.515, allocations: 1.131 MB / 1.181 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/3.515, allocations: 2.125 kB / 1.181 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/3.515, allocations: 65.95 kB / 1.181 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/3.517, allocations: 228.2 kB / 1.181 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/3.518, allocations: 13.55 kB / 1.181 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/3.518, allocations: 0.5971 MB / 1.181 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/3.518, allocations: 6.5 kB / 1.181 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/3.519, allocations: 0.5525 MB / 1.182 GB, free: 30.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/3.52, allocations: 145.5 kB / 1.182 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/3.52, allocations: 11.89 kB / 1.182 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/3.52, allocations: 36.8 kB / 1.182 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/3.52, allocations: 30.81 kB / 1.182 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/3.521, allocations: 24.95 kB / 1.182 GB, free: 30.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006503/3.521, allocations: 322.4 kB / 1.182 GB, free: 30.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.521, allocations: 0 / 1.182 GB, free: 30.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002855/3.524, allocations: 424.9 kB / 1.183 GB, free: 30.72 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.004442/3.529, allocations: 2.66 MB / 1.185 GB, free: 29.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/3.53, allocations: 392.7 kB / 1.186 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/3.53, allocations: 0 / 1.186 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/3.531, allocations: 152.6 kB / 1.186 GB, free: 29.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/3.533, allocations: 225.5 kB / 1.186 GB, free: 29.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/3.544, allocations: 2.379 MB / 1.189 GB, free: 28.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/3.544, allocations: 0.8743 MB / 1.189 GB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001445/3.546, allocations: 192.9 kB / 1.19 GB, free: 28.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/3.546, allocations: 211.4 kB / 1.19 GB, free: 28.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/3.547, allocations: 0 / 1.19 GB, free: 28.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/3.661, allocations: 34.56 MB / 1.224 GB, free: 26.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/3.661, allocations: 249.3 kB / 1.224 GB, free: 26.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.945/7.606, allocations: 3.609 kB / 1.224 GB, free: 26.26 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat