Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.903e-05, allocations: 7.938 kB / 299.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 54.85 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/2.211, allocations: 0.6037 GB / 0.9497 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.211, allocations: 90.95 kB / 0.9498 GB, free: 106.2 MB / 490.7 MB Error: Variable fitting1.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Error: Variable fitting2.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.062/3.273, allocations: 222.6 MB / 1.167 GB, free: 88.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/3.273, allocations: 4 kB / 1.167 GB, free: 88.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.586e-05/3.273, allocations: 14.11 kB / 1.167 GB, free: 88.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002287/3.275, allocations: 0.8474 MB / 1.168 GB, free: 88.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/3.275, allocations: 8.031 kB / 1.168 GB, free: 88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/3.277, allocations: 135.2 kB / 1.168 GB, free: 87.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/3.278, allocations: 0.504 MB / 1.169 GB, free: 87.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/3.278, allocations: 12 kB / 1.169 GB, free: 87.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/3.278, allocations: 24 kB / 1.169 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008337/3.279, allocations: 334.5 kB / 1.169 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/3.28, allocations: 463.7 kB / 1.169 GB, free: 86.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/3.28, allocations: 0 / 1.169 GB, free: 86.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/3.28, allocations: 7.953 kB / 1.169 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/3.28, allocations: 12 kB / 1.169 GB, free: 86.45 MB / 490.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.003523/3.284, allocations: 2.467 MB / 1.172 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/3.284, allocations: 170.9 kB / 1.172 GB, free: 83.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/3.284, allocations: 105.3 kB / 1.172 GB, free: 83.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/3.285, allocations: 0.531 MB / 1.173 GB, free: 82.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/3.286, allocations: 38.5 kB / 1.173 GB, free: 82.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.956e-06/3.286, allocations: 0 / 1.173 GB, free: 82.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.003944/3.289, allocations: 0.7238 MB / 1.173 GB, free: 82.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/3.29, allocations: 136.5 kB / 1.174 GB, free: 81.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/3.29, allocations: 349.1 kB / 1.174 GB, free: 81.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/3.29, allocations: 25.7 kB / 1.174 GB, free: 81.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/3.29, allocations: 295.3 kB / 1.174 GB, free: 81.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.566e-05/3.29, allocations: 94.66 kB / 1.174 GB, free: 81.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/3.291, allocations: 0 / 1.174 GB, free: 81.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/3.291, allocations: 354.8 kB / 1.175 GB, free: 80.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/3.291, allocations: 125.1 kB / 1.175 GB, free: 80.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/3.291, allocations: 293.9 kB / 1.175 GB, free: 80.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/3.294, allocations: 0.5813 MB / 1.176 GB, free: 79.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/3.294, allocations: 3.938 kB / 1.176 GB, free: 79.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004031/3.299, allocations: 0.9113 MB / 1.176 GB, free: 78.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/3.299, allocations: 8 kB / 1.176 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/3.299, allocations: 12 kB / 1.176 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/3.299, allocations: 48.81 kB / 1.177 GB, free: 78.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/3.3, allocations: 131.8 kB / 1.177 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/3.304, allocations: 11.65 MB / 1.188 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/3.305, allocations: 67.61 kB / 1.188 GB, free: 66.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/3.305, allocations: 51.98 kB / 1.188 GB, free: 66.14 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting1.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting1.a "Coefficient for quadratic term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting2.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting2.a "Coefficient for quadratic term" type: Real 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/3.306, allocations: 130.2 kB / 1.188 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003526/3.309, allocations: 0.7315 MB / 1.189 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/3.309, allocations: 43.53 kB / 1.189 GB, free: 65.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/3.312, allocations: 0.6189 MB / 1.19 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/3.312, allocations: 4 kB / 1.19 GB, free: 64.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.312, allocations: 0 / 1.19 GB, free: 64.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/3.312, allocations: 3.984 kB / 1.19 GB, free: 64.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/3.314, allocations: 0.8825 MB / 1.191 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/3.314, allocations: 0 / 1.191 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/3.315, allocations: 60.06 kB / 1.191 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/3.315, allocations: 48.81 kB / 1.191 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/3.315, allocations: 4 kB / 1.191 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005539/3.316, allocations: 0.5952 MB / 1.191 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/3.316, allocations: 0 / 1.191 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/3.317, allocations: 0.5632 MB / 1.192 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/3.317, allocations: 140.4 kB / 1.192 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/3.318, allocations: 4 kB / 1.192 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/3.318, allocations: 27.97 kB / 1.192 GB, free: 62.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/3.318, allocations: 27.91 kB / 1.192 GB, free: 62.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/3.318, allocations: 12 kB / 1.192 GB, free: 62.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004248/3.319, allocations: 282.9 kB / 1.192 GB, free: 61.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.319, allocations: 0 / 1.192 GB, free: 61.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001891/3.321, allocations: 323.4 kB / 1.193 GB, free: 61.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004427/3.325, allocations: 2.577 MB / 1.195 GB, free: 58.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/3.327, allocations: 327.6 kB / 1.195 GB, free: 58.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/3.327, allocations: 1.312 kB / 1.195 GB, free: 58.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/3.327, allocations: 128.1 kB / 1.195 GB, free: 58.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/3.329, allocations: 208.8 kB / 1.196 GB, free: 58.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/3.34, allocations: 2.381 MB / 1.198 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/3.34, allocations: 0.8591 MB / 1.199 GB, free: 55.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001375/3.342, allocations: 192.2 kB / 1.199 GB, free: 54.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/3.342, allocations: 195.4 kB / 1.199 GB, free: 54.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/3.342, allocations: 0 / 1.199 GB, free: 54.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07682/3.419, allocations: 21.17 MB / 1.22 GB, free: 33.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/3.42, allocations: 216.2 kB / 1.22 GB, free: 33.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/6.772, allocations: 3.953 kB / 1.22 GB, free: 33.18 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat