Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.943/1.943, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.308e-05, allocations: 4 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 48.71 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.967/2.094, allocations: 0.5971 GB / 0.906 GB, free: 61.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.094, allocations: 96.19 kB / 0.9061 GB, free: 61.27 MB / 426.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.009/3.103, allocations: 222.6 MB / 1.123 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/3.103, allocations: 0 / 1.123 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.366e-05/3.103, allocations: 16 kB / 1.124 GB, free: 10.71 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002088/3.105, allocations: 0.8553 MB / 1.124 GB, free: 9.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/3.105, allocations: 8.031 kB / 1.124 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/3.106, allocations: 131.2 kB / 1.124 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/3.107, allocations: 0.4965 MB / 1.125 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/3.107, allocations: 12 kB / 1.125 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/3.108, allocations: 24 kB / 1.125 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007985/3.108, allocations: 330.5 kB / 1.125 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/3.109, allocations: 471.7 kB / 1.126 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/3.109, allocations: 3.953 kB / 1.126 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/3.109, allocations: 0 / 1.126 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/3.109, allocations: 12 kB / 1.126 GB, free: 8.262 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.003213/3.113, allocations: 2.483 MB / 1.128 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/3.113, allocations: 162.5 kB / 1.128 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/3.113, allocations: 108.8 kB / 1.128 GB, free: 5.293 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/3.114, allocations: 0.5387 MB / 1.129 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/3.114, allocations: 42.5 kB / 1.129 GB, free: 4.613 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.826e-06/3.114, allocations: 0 / 1.129 GB, free: 4.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003778/3.118, allocations: 0.7204 MB / 1.13 GB, free: 3.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/3.118, allocations: 144.5 kB / 1.13 GB, free: 3.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/3.119, allocations: 333.1 kB / 1.13 GB, free: 3.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/3.119, allocations: 33.69 kB / 1.13 GB, free: 3.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/3.119, allocations: 295.3 kB / 1.13 GB, free: 3.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/3.119, allocations: 94.66 kB / 1.131 GB, free: 2.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/3.119, allocations: 0 / 1.131 GB, free: 2.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/3.119, allocations: 354.8 kB / 1.131 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/3.12, allocations: 125.1 kB / 1.131 GB, free: 2.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/3.12, allocations: 294.3 kB / 1.131 GB, free: 2.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/3.123, allocations: 0.5813 MB / 1.132 GB, free: 1.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/3.123, allocations: 4 kB / 1.132 GB, free: 1.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004036/3.127, allocations: 0.9109 MB / 1.133 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/3.127, allocations: 8 kB / 1.133 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/3.127, allocations: 7.938 kB / 1.133 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/3.127, allocations: 44.81 kB / 1.133 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/3.128, allocations: 140.3 kB / 1.133 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3039/3.432, allocations: 11.64 MB / 1.144 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/3.433, allocations: 60.5 kB / 1.144 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/3.433, allocations: 52.67 kB / 1.144 GB, free: 60.79 MB / 426.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.0003135/3.434, allocations: 130.9 kB / 1.145 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004026/3.438, allocations: 0.7268 MB / 1.145 GB, free: 60.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/3.438, allocations: 44.44 kB / 1.145 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/3.441, allocations: 0.6257 MB / 1.146 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/3.441, allocations: 3.906 kB / 1.146 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/3.441, allocations: 0 / 1.146 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/3.441, allocations: 2.156 kB / 1.146 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/3.443, allocations: 0.8706 MB / 1.147 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/3.444, allocations: 1 kB / 1.147 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/3.444, allocations: 60.53 kB / 1.147 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/3.444, allocations: 48.78 kB / 1.147 GB, free: 60.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/3.444, allocations: 13.47 kB / 1.147 GB, free: 60.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006424/3.445, allocations: 0.5887 MB / 1.147 GB, free: 59.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/3.445, allocations: 2.375 kB / 1.147 GB, free: 59.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/3.447, allocations: 0.5548 MB / 1.148 GB, free: 59.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/3.447, allocations: 146.4 kB / 1.148 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/3.447, allocations: 4.281 kB / 1.148 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/3.448, allocations: 28.94 kB / 1.148 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/3.448, allocations: 22.92 kB / 1.148 GB, free: 59.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/3.448, allocations: 13.39 kB / 1.148 GB, free: 59.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005465/3.449, allocations: 284.2 kB / 1.149 GB, free: 59.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.449, allocations: 4.453 kB / 1.149 GB, free: 59.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002092/3.451, allocations: 315.9 kB / 1.149 GB, free: 59.17 MB / 426.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.004944/3.456, allocations: 2.576 MB / 1.151 GB, free: 57.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/3.458, allocations: 342.4 kB / 1.152 GB, free: 57.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/3.458, allocations: 0 / 1.152 GB, free: 57.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/3.458, allocations: 136.7 kB / 1.152 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/3.46, allocations: 204.9 kB / 1.152 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/3.472, allocations: 2.369 MB / 1.154 GB, free: 57.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/3.472, allocations: 0.8652 MB / 1.155 GB, free: 56.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001539/3.474, allocations: 181.9 kB / 1.155 GB, free: 56.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/3.474, allocations: 205 kB / 1.156 GB, free: 56.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/3.474, allocations: 0 / 1.156 GB, free: 56.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08517/3.56, allocations: 21.17 MB / 1.176 GB, free: 56.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/3.56, allocations: 208.9 kB / 1.176 GB, free: 55.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/6.846, allocations: 0 / 1.176 GB, free: 55.91 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat