Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.367/3.367, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.84e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 54.86 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.971/10.39, allocations: 2.587 GB / 2.933 GB, free: 117.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004402/10.39, allocations: 83.75 kB / 2.933 GB, free: 117.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508/11.89, allocations: 213 MB / 3.141 GB, free: 87.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/11.89, allocations: 0 / 3.141 GB, free: 87.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.912e-05/11.89, allocations: 7.531 kB / 3.141 GB, free: 87.54 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007254/11.9, allocations: 1.193 MB / 3.142 GB, free: 86.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/11.9, allocations: 7.688 kB / 3.142 GB, free: 86.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/11.9, allocations: 52.41 kB / 3.142 GB, free: 86.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/11.91, allocations: 220.7 kB / 3.142 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/11.91, allocations: 380.7 kB / 3.143 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/11.91, allocations: 19.97 kB / 3.143 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/11.91, allocations: 15.81 kB / 3.143 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/11.91, allocations: 300.1 kB / 3.143 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/11.91, allocations: 384 kB / 3.143 GB, free: 86.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/11.91, allocations: 0 / 3.143 GB, free: 86.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/11.91, allocations: 10.69 kB / 3.143 GB, free: 86.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/11.91, allocations: 7.344 kB / 3.143 GB, free: 86.52 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.01097/11.92, allocations: 3.887 MB / 3.147 GB, free: 83.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/11.92, allocations: 231.1 kB / 3.147 GB, free: 83.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/11.92, allocations: 110.5 kB / 3.148 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2441/12.17, allocations: 50.24 MB / 3.197 GB, free: 56.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/12.17, allocations: 40.33 kB / 3.197 GB, free: 56.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 3.617e-06/12.17, allocations: 0 / 3.197 GB, free: 56.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.003402/12.17, allocations: 0.505 MB / 3.197 GB, free: 56.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/12.17, allocations: 110.5 kB / 3.197 GB, free: 56.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/12.17, allocations: 240.5 kB / 3.197 GB, free: 56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/12.17, allocations: 25.7 kB / 3.198 GB, free: 55.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/12.17, allocations: 219.4 kB / 3.198 GB, free: 55.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/12.17, allocations: 79.55 kB / 3.198 GB, free: 55.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/12.17, allocations: 0 / 3.198 GB, free: 55.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/12.17, allocations: 353.1 kB / 3.198 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/12.17, allocations: 85.94 kB / 3.198 GB, free: 55.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/12.17, allocations: 204.2 kB / 3.198 GB, free: 55.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/12.17, allocations: 167.4 kB / 3.199 GB, free: 55.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/12.17, allocations: 0 / 3.199 GB, free: 55.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002002/12.18, allocations: 388 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/12.18, allocations: 4.094 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/12.18, allocations: 10.67 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/12.18, allocations: 3.594 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/12.18, allocations: 108.6 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/12.18, allocations: 11.03 kB / 3.199 GB, free: 55.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/12.18, allocations: 60.72 kB / 3.199 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/12.18, allocations: 19.22 kB / 3.199 GB, free: 55.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/12.18, allocations: 123.3 kB / 3.199 GB, free: 55.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/12.18, allocations: 33 kB / 3.199 GB, free: 55.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/12.18, allocations: 1.616 MB / 3.201 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/12.18, allocations: 33.03 kB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/12.18, allocations: 3.391 kB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/12.18, allocations: 0 / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/12.18, allocations: 0.8274 MB / 3.202 GB, free: 54.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/12.18, allocations: 7.828 kB / 3.202 GB, free: 54.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/12.18, allocations: 87.36 kB / 3.202 GB, free: 54.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/12.18, allocations: 0 / 3.202 GB, free: 54.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/12.18, allocations: 7.719 kB / 3.202 GB, free: 54.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/12.18, allocations: 0 / 3.202 GB, free: 54.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/12.18, allocations: 0 / 3.202 GB, free: 54.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/12.19, allocations: 0.9173 MB / 3.203 GB, free: 54.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/12.19, allocations: 208.3 kB / 3.203 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/12.19, allocations: 7.109 kB / 3.203 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/12.19, allocations: 44.78 kB / 3.203 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/12.19, allocations: 31.78 kB / 3.203 GB, free: 54.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/12.19, allocations: 7.688 kB / 3.203 GB, free: 54.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004911/12.19, allocations: 264.7 kB / 3.203 GB, free: 54.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/12.19, allocations: 0 / 3.203 GB, free: 54.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005927/12.19, allocations: 0.9925 MB / 3.204 GB, free: 54.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01439/12.21, allocations: 2.8 MB / 3.207 GB, free: 53.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/12.21, allocations: 459.5 kB / 3.207 GB, free: 53.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/12.21, allocations: 3.562 kB / 3.207 GB, free: 53.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007979/12.21, allocations: 420.1 kB / 3.208 GB, free: 53.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/12.21, allocations: 164 kB / 3.208 GB, free: 53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2725/12.49, allocations: 54.81 MB / 3.261 GB, free: 24.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/12.49, allocations: 0.9578 MB / 3.262 GB, free: 23.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009847/12.49, allocations: 255.8 kB / 3.263 GB, free: 23.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/12.49, allocations: 237.3 kB / 3.263 GB, free: 23.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/12.49, allocations: 0 / 3.263 GB, free: 23.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6159/13.1, allocations: 35.89 MB / 3.298 GB, free: 82.06 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000249/13.1, allocations: 190.6 kB / 3.298 GB, free: 81.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.383/18.49, allocations: 4 kB / 3.298 GB, free: 81.87 MB / 490.7 MB "" Variables in the reference:time,SourceP1.ports[1].m_flow,SourceP1.ports[1].p,SourceP1.ports[1].h_outflow,V1.port_b.m_flow,V1.port_b.p,V1.port_b.h_outflow,SinkP1.ports[1].m_flow,SinkP1.ports[1].p,SinkP1.ports[1].h_outflow,Opening.y,downstreamPressure.y Variables in the result:Opening.duration,Opening.height,Opening.offset,Opening.startTime,Opening.y,SinkP1.T,SinkP1.T_in_internal,SinkP1.X[1],SinkP1.X_in_internal[1],SinkP1.flowDirection,SinkP1.medium.MM,SinkP1.medium.R,SinkP1.medium.T,SinkP1.medium.T_degC,SinkP1.medium.X[1],SinkP1.medium.d,SinkP1.medium.h,SinkP1.medium.p,SinkP1.medium.p_bar,SinkP1.medium.phase,SinkP1.medium.preferredMediumStates,SinkP1.medium.sat.Tsat,SinkP1.medium.sat.psat,SinkP1.medium.standardOrderComponents,SinkP1.medium.state.T,SinkP1.medium.state.d,SinkP1.medium.state.h,SinkP1.medium.state.p,SinkP1.medium.state.phase,SinkP1.medium.u,SinkP1.nPorts,SinkP1.p,SinkP1.p_in,SinkP1.p_in_internal,SinkP1.ports[1].h_outflow,SinkP1.ports[1].m_flow,SinkP1.ports[1].p,SinkP1.use_C_in,SinkP1.use_T_in,SinkP1.use_X_in,SinkP1.use_p_in,SourceP1.T,SourceP1.T_in_internal,SourceP1.X[1],SourceP1.X_in_internal[1],SourceP1.flowDirection,SourceP1.medium.MM,SourceP1.medium.R,SourceP1.medium.T,SourceP1.medium.T_degC,SourceP1.medium.X[1],SourceP1.medium.d,SourceP1.medium.h,SourceP1.medium.p,SourceP1.medium.p_bar,SourceP1.medium.phase,SourceP1.medium.preferredMediumStates,SourceP1.medium.sat.Tsat,SourceP1.medium.sat.psat,SourceP1.medium.standardOrderComponents,SourceP1.medium.state.T,SourceP1.medium.state.d,SourceP1.medium.state.h,SourceP1.medium.state.p,SourceP1.medium.state.phase,SourceP1.medium.u,SourceP1.nPorts,SourceP1.p,SourceP1.p_in_internal,SourceP1.ports[1].h_outflow,SourceP1.ports[1].m_flow,SourceP1.ports[1].p,SourceP1.use_C_in,SourceP1.use_T_in,SourceP1.use_X_in,SourceP1.use_p_in,V1.V_flow,V1.allowFlowReversal,V1.dp,V1.dp_nominal,V1.dp_start,V1.k,V1.m_flow,V1.m_flow_nominal,V1.m_flow_small,V1.m_flow_start,V1.opening,V1.port_a.h_outflow,V1.port_a.m_flow,V1.port_a.p,V1.port_a_T,V1.port_a_exposesState,V1.port_b.h_outflow,V1.port_b.m_flow,V1.port_b.p,V1.port_b_T,V1.port_b_exposesState,V1.showDesignFlowDirection,V1.show_T,V1.show_V_flow,V1.state_a.T,V1.state_a.d,V1.state_a.h,V1.state_a.p,V1.state_a.phase,V1.state_b.T,V1.state_b.d,V1.state_b.h,V1.state_b.p,V1.state_b.phase,_D_cse1.R,_D_cse1.T,_D_cse1.cp,_D_cse1.cv,_D_cse1.dpT,_D_cse1.h,_D_cse1.p,_D_cse1.pd,_D_cse1.phase,_D_cse1.pt,_D_cse1.region,_D_cse1.rho,_D_cse1.s,_D_cse1.vp,_D_cse1.vt,_D_cse1.x,_D_cse10.R,_D_cse10.T,_D_cse10.cp,_D_cse10.cv,_D_cse10.dpT,_D_cse10.h,_D_cse10.p,_D_cse10.pd,_D_cse10.phase,_D_cse10.pt,_D_cse10.region,_D_cse10.rho,_D_cse10.s,_D_cse10.vp,_D_cse10.vt,_D_cse10.x,_D_cse11.R,_D_cse11.T,_D_cse11.cp,_D_cse11.cv,_D_cse11.d,_D_cse11.dpT,_D_cse11.h,_D_cse11.pd,_D_cse11.pt,_D_cse11.region3boundary,_D_cse11.s,_D_cse11.vp,_D_cse11.vt,_D_cse12.R,_D_cse12.T,_D_cse12.cp,_D_cse12.cv,_D_cse12.d,_D_cse12.dpT,_D_cse12.h,_D_cse12.pd,_D_cse12.pt,_D_cse12.region3boundary,_D_cse12.s,_D_cse12.vp,_D_cse12.vt,_D_cse2.R,_D_cse2.T,_D_cse2.cp,_D_cse2.cv,_D_cse2.dpT,_D_cse2.h,_D_cse2.p,_D_cse2.pd,_D_cse2.phase,_D_cse2.pt,_D_cse2.region,_D_cse2.rho,_D_cse2.s,_D_cse2.vp,_D_cse2.vt,_D_cse2.x,_D_cse3.R,_D_cse3.T,_D_cse3.cp,_D_cse3.cv,_D_cse3.d,_D_cse3.dpT,_D_cse3.h,_D_cse3.pd,_D_cse3.pt,_D_cse3.region3boundary,_D_cse3.s,_D_cse3.vp,_D_cse3.vt,_D_cse4.R,_D_cse4.T,_D_cse4.cp,_D_cse4.cv,_D_cse4.d,_D_cse4.dpT,_D_cse4.h,_D_cse4.pd,_D_cse4.pt,_D_cse4.region3boundary,_D_cse4.s,_D_cse4.vp,_D_cse4.vt,_D_cse5.R,_D_cse5.T,_D_cse5.cp,_D_cse5.cv,_D_cse5.dpT,_D_cse5.h,_D_cse5.p,_D_cse5.pd,_D_cse5.phase,_D_cse5.pt,_D_cse5.region,_D_cse5.rho,_D_cse5.s,_D_cse5.vp,_D_cse5.vt,_D_cse5.x,_D_cse6.R,_D_cse6.T,_D_cse6.cp,_D_cse6.cv,_D_cse6.dpT,_D_cse6.h,_D_cse6.p,_D_cse6.pd,_D_cse6.phase,_D_cse6.pt,_D_cse6.region,_D_cse6.rho,_D_cse6.s,_D_cse6.vp,_D_cse6.vt,_D_cse6.x,_D_cse7.R,_D_cse7.T,_D_cse7.cp,_D_cse7.cv,_D_cse7.dpT,_D_cse7.h,_D_cse7.p,_D_cse7.pd,_D_cse7.phase,_D_cse7.pt,_D_cse7.region,_D_cse7.rho,_D_cse7.s,_D_cse7.vp,_D_cse7.vt,_D_cse7.x,_D_cse8.R,_D_cse8.T,_D_cse8.cp,_D_cse8.cv,_D_cse8.dpT,_D_cse8.h,_D_cse8.p,_D_cse8.pd,_D_cse8.phase,_D_cse8.pt,_D_cse8.region,_D_cse8.rho,_D_cse8.s,_D_cse8.vp,_D_cse8.vt,_D_cse8.x,_D_cse9,downstreamPressure.duration,downstreamPressure.height,downstreamPressure.offset,downstreamPressure.startTime,downstreamPressure.y,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time