Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.85e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3556, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.86/2.216, allocations: 0.6037 GB / 0.9498 GB, free: 71.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.216, allocations: 94.38 kB / 0.9499 GB, free: 71.38 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.113/3.329, allocations: 222.6 MB / 1.167 GB, free: 55.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/3.329, allocations: 0 / 1.167 GB, free: 55.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.451e-05/3.329, allocations: 12 kB / 1.167 GB, free: 55.05 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.002101/3.331, allocations: 0.8371 MB / 1.168 GB, free: 54.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/3.331, allocations: 12.03 kB / 1.168 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/3.332, allocations: 147.1 kB / 1.168 GB, free: 54.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/3.334, allocations: 0.5005 MB / 1.169 GB, free: 53.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/3.334, allocations: 12 kB / 1.169 GB, free: 53.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/3.334, allocations: 20 kB / 1.169 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008187/3.335, allocations: 334.5 kB / 1.169 GB, free: 53.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/3.336, allocations: 463.6 kB / 1.17 GB, free: 52.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/3.336, allocations: 0 / 1.17 GB, free: 52.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/3.336, allocations: 7.953 kB / 1.17 GB, free: 52.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/3.336, allocations: 12 kB / 1.17 GB, free: 52.6 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.003208/3.339, allocations: 2.468 MB / 1.172 GB, free: 49.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/3.339, allocations: 167 kB / 1.172 GB, free: 49.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/3.34, allocations: 109.3 kB / 1.172 GB, free: 49.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/3.341, allocations: 0.5426 MB / 1.173 GB, free: 49.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/3.341, allocations: 34.56 kB / 1.173 GB, free: 48.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.266e-06/3.341, allocations: 0 / 1.173 GB, free: 48.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.004812/3.346, allocations: 0.7316 MB / 1.174 GB, free: 48.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/3.346, allocations: 132.5 kB / 1.174 GB, free: 48.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/3.346, allocations: 337.1 kB / 1.174 GB, free: 47.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/3.346, allocations: 25.7 kB / 1.174 GB, free: 47.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/3.347, allocations: 299.4 kB / 1.174 GB, free: 47.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/3.347, allocations: 98.58 kB / 1.174 GB, free: 47.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/3.347, allocations: 0 / 1.174 GB, free: 47.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/3.347, allocations: 354.8 kB / 1.175 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/3.347, allocations: 121.1 kB / 1.175 GB, free: 46.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/3.348, allocations: 301.8 kB / 1.175 GB, free: 46.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/3.353, allocations: 0.5773 MB / 1.176 GB, free: 45.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/3.353, allocations: 11.94 kB / 1.176 GB, free: 45.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005953/3.359, allocations: 0.9074 MB / 1.177 GB, free: 44.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/3.359, allocations: 12.03 kB / 1.177 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/3.359, allocations: 4 kB / 1.177 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/3.359, allocations: 48.81 kB / 1.177 GB, free: 44.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/3.36, allocations: 135.8 kB / 1.177 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/3.366, allocations: 11.65 MB / 1.188 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/3.367, allocations: 63.67 kB / 1.188 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/3.367, allocations: 47.98 kB / 1.188 GB, free: 32.27 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.0003343/3.368, allocations: 137.1 kB / 1.188 GB, free: 32.13 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005406/3.373, allocations: 0.7276 MB / 1.189 GB, free: 31.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/3.373, allocations: 43.48 kB / 1.189 GB, free: 31.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/3.377, allocations: 0.6158 MB / 1.19 GB, free: 30.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/3.377, allocations: 4 kB / 1.19 GB, free: 30.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/3.377, allocations: 4 kB / 1.19 GB, free: 30.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/3.377, allocations: 3.984 kB / 1.19 GB, free: 30.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/3.38, allocations: 0.8782 MB / 1.191 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/3.38, allocations: 0 / 1.191 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/3.381, allocations: 60.06 kB / 1.191 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/3.381, allocations: 52.81 kB / 1.191 GB, free: 29.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/3.381, allocations: 4 kB / 1.191 GB, free: 29.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007695/3.382, allocations: 0.5952 MB / 1.191 GB, free: 29.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/3.382, allocations: 4.062 kB / 1.191 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/3.384, allocations: 0.5631 MB / 1.192 GB, free: 28.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/3.385, allocations: 148.4 kB / 1.192 GB, free: 28.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/3.385, allocations: 0 / 1.192 GB, free: 28.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/3.386, allocations: 31.91 kB / 1.192 GB, free: 28.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/3.386, allocations: 19.97 kB / 1.192 GB, free: 28.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/3.386, allocations: 19.94 kB / 1.192 GB, free: 28.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006213/3.387, allocations: 278.9 kB / 1.192 GB, free: 27.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.12e-07/3.387, allocations: 0 / 1.192 GB, free: 27.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002637/3.389, allocations: 323.5 kB / 1.193 GB, free: 27.57 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.005839/3.395, allocations: 2.571 MB / 1.195 GB, free: 24.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/3.397, allocations: 328.6 kB / 1.195 GB, free: 24.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/3.397, allocations: 0 / 1.195 GB, free: 24.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006084/3.398, allocations: 128.2 kB / 1.196 GB, free: 24.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/3.401, allocations: 207.2 kB / 1.196 GB, free: 24.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/3.416, allocations: 2.384 MB / 1.198 GB, free: 21.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/3.417, allocations: 0.863 MB / 1.199 GB, free: 20.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002419/3.42, allocations: 186.5 kB / 1.199 GB, free: 20.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/3.42, allocations: 195.4 kB / 1.199 GB, free: 20.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/3.42, allocations: 0 / 1.199 GB, free: 20.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4352/3.856, allocations: 21.16 MB / 1.22 GB, free: 104.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003778/3.856, allocations: 218.9 kB / 1.22 GB, free: 104.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.627/7.483, allocations: 0.5938 kB / 1.22 GB, free: 104.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat