Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.031/3.031, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.982e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4335, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/11.09, allocations: 2.655 GB / 3.001 GB, free: 93.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/11.09, allocations: 81.02 kB / 3.001 GB, free: 93.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.211/15.3, allocations: 0.5689 GB / 3.57 GB, free: 37.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.428e-06/15.3, allocations: 3.688 kB / 3.57 GB, free: 37.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00022/15.3, allocations: 44.06 kB / 3.57 GB, free: 37.8 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.01453/15.32, allocations: 2.847 MB / 3.573 GB, free: 36.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/15.32, allocations: 11.31 kB / 3.573 GB, free: 36.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000693/15.32, allocations: 143.5 kB / 3.573 GB, free: 36.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007178/15.33, allocations: 0.5415 MB / 3.573 GB, free: 36.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/15.33, allocations: 1.44 MB / 3.575 GB, free: 35.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/15.33, allocations: 71.58 kB / 3.575 GB, free: 35.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006155/15.33, allocations: 74.41 kB / 3.575 GB, free: 35.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005421/15.34, allocations: 1.561 MB / 3.577 GB, free: 35.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/15.34, allocations: 1.769 MB / 3.578 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.931e-05/15.34, allocations: 7.625 kB / 3.578 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/15.34, allocations: 3.656 kB / 3.578 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000263/15.34, allocations: 100.7 kB / 3.578 GB, free: 35.38 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.3542/15.7, allocations: 73.37 MB / 3.65 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/15.7, allocations: 0.9215 MB / 3.651 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/15.7, allocations: 0.5591 MB / 3.651 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6289/16.33, allocations: 17.44 MB / 3.668 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003598/16.34, allocations: 0.7108 MB / 3.669 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 8.736e-06/16.34, allocations: 0 / 3.669 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.03737/16.37, allocations: 4.672 MB / 3.674 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/16.37, allocations: 381.5 kB / 3.674 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/16.38, allocations: 0.7953 MB / 3.675 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004268/16.38, allocations: 26.8 kB / 3.675 GB, free: 67.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/16.38, allocations: 0.6944 MB / 3.676 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/16.38, allocations: 318.1 kB / 3.676 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/16.38, allocations: 2.781 kB / 3.676 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001361/16.38, allocations: 355.9 kB / 3.676 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/16.38, allocations: 0.5946 MB / 3.677 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/16.38, allocations: 0.9138 MB / 3.678 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/16.4, allocations: 1.756 MB / 3.679 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/16.4, allocations: 3.375 kB / 3.679 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.02051/16.42, allocations: 2.772 MB / 3.682 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008227/16.42, allocations: 3.258 MB / 3.685 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.807e-05/16.42, allocations: 10.42 kB / 3.685 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/16.42, allocations: 128.8 kB / 3.685 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/16.42, allocations: 321.3 kB / 3.686 GB, free: 62.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/16.43, allocations: 1.271 MB / 3.687 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/16.43, allocations: 172.8 kB / 3.687 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/16.43, allocations: 61.7 kB / 3.687 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/16.43, allocations: 3.125 kB / 3.687 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01906/16.45, allocations: 2.501 MB / 3.69 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-05/16.45, allocations: 13.8 kB / 3.69 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/16.45, allocations: 132.7 kB / 3.69 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/16.45, allocations: 319 kB / 3.69 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/16.45, allocations: 1.262 MB / 3.691 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/16.46, allocations: 148.1 kB / 3.691 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/16.46, allocations: 62.47 kB / 3.692 GB, free: 60.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 17 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,pipe1.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000632/16.46, allocations: 187.9 kB / 3.692 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/16.46, allocations: 128.7 kB / 3.692 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00993/16.47, allocations: 3.764 MB / 3.695 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.152e-05/16.47, allocations: 42.75 kB / 3.696 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/16.47, allocations: 3.25 kB / 3.696 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007271/16.48, allocations: 2.96 MB / 3.698 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/16.49, allocations: 5.239 MB / 3.704 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/16.49, allocations: 3.375 kB / 3.704 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/16.49, allocations: 200.1 kB / 3.704 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009706/16.49, allocations: 172 kB / 3.704 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/16.49, allocations: 20.16 kB / 3.704 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/16.5, allocations: 1.354 MB / 3.705 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/16.5, allocations: 0 / 3.705 GB, free: 57.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/16.5, allocations: 3.62 MB / 3.709 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/16.51, allocations: 497.3 kB / 3.709 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/16.51, allocations: 16.16 kB / 3.709 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/16.51, allocations: 92.83 kB / 3.709 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/16.51, allocations: 80.22 kB / 3.709 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/16.51, allocations: 41.75 kB / 3.709 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001876/16.51, allocations: 0.7976 MB / 3.71 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.92e-07/16.51, allocations: 2.156 kB / 3.71 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01124/16.52, allocations: 2.105 MB / 3.712 GB, free: 57.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 26 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$whenCondition1,pipe1.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02524/16.55, allocations: 6.825 MB / 3.719 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008289/16.56, allocations: 2.864 MB / 3.722 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/16.56, allocations: 3.5 kB / 3.722 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/16.56, allocations: 1.2 MB / 3.723 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/16.57, allocations: 0.4993 MB / 3.723 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/16.58, allocations: 4.365 MB / 3.728 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/16.58, allocations: 1.644 MB / 3.729 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006764/16.59, allocations: 1.74 MB / 3.731 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/16.59, allocations: 0.7357 MB / 3.732 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.873e-06/16.59, allocations: 0 / 3.732 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2324/16.82, allocations: 74.25 MB / 3.804 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002723/16.82, allocations: 180.9 kB / 3.804 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.791/24.62, allocations: 0 / 3.804 GB, free: 44.18 MB / 0.5105 GB