Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.329/3.329, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.807e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4339, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.788/3.222, allocations: 0.6871 GB / 1.033 GB, free: 127.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/3.222, allocations: 76.33 kB / 1.033 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.367/7.59, allocations: 0.6092 GB / 1.642 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.845e-06/7.59, allocations: 0 / 1.642 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004104/7.59, allocations: 67.2 kB / 1.643 GB, free: 39.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.01753/7.608, allocations: 3.184 MB / 1.646 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/7.608, allocations: 10.44 kB / 1.646 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/7.609, allocations: 187.6 kB / 1.646 GB, free: 37.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/7.615, allocations: 463.5 kB / 1.646 GB, free: 37.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/7.626, allocations: 2.002 MB / 1.648 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/7.626, allocations: 78.62 kB / 1.648 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/7.627, allocations: 105.8 kB / 1.648 GB, free: 37.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008125/7.635, allocations: 2.201 MB / 1.651 GB, free: 37.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009726/7.645, allocations: 2.454 MB / 1.653 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/7.645, allocations: 3.469 kB / 1.653 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006279/7.646, allocations: 7.219 kB / 1.653 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004059/7.646, allocations: 157.3 kB / 1.653 GB, free: 36.84 MB / 0.4948 GB 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.02923/7.676, allocations: 11.22 MB / 1.664 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/7.681, allocations: 1.757 MB / 1.666 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/7.684, allocations: 1.03 MB / 1.667 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/7.686, allocations: 462.2 kB / 1.667 GB, free: 30.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003193/7.689, allocations: 1.124 MB / 1.668 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=167): time 6.131e-06/7.689, allocations: 2.156 kB / 1.668 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.08506/7.774, allocations: 10.24 MB / 1.678 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/7.774, allocations: 255.9 kB / 1.679 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/7.777, allocations: 1.107 MB / 1.68 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006821/7.777, allocations: 28.83 kB / 1.68 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/7.778, allocations: 0.9478 MB / 1.681 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009618/7.779, allocations: 0.638 MB / 1.681 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/7.78, allocations: 0 / 1.681 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001729/7.78, allocations: 394.1 kB / 1.682 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/7.783, allocations: 1.01 MB / 1.683 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/7.786, allocations: 1.486 MB / 1.684 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01922/7.805, allocations: 2.368 MB / 1.686 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/7.805, allocations: 2.906 kB / 1.686 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.0256/7.831, allocations: 4.125 MB / 1.69 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/7.832, allocations: 4.787 MB / 1.695 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/7.832, allocations: 15.39 kB / 1.695 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/7.833, allocations: 272.3 kB / 1.695 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/7.839, allocations: 0.5696 MB / 1.696 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/7.842, allocations: 3.029 MB / 1.699 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005167/7.847, allocations: 183.3 kB / 1.699 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009997/7.848, allocations: 210 kB / 1.699 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/7.848, allocations: 3.969 kB / 1.699 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03324/7.882, allocations: 3.634 MB / 1.703 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/7.882, allocations: 15.52 kB / 1.703 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/7.883, allocations: 272 kB / 1.703 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/7.891, allocations: 0.5622 MB / 1.704 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/7.896, allocations: 3.027 MB / 1.707 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/7.903, allocations: 179.5 kB / 1.707 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/7.904, allocations: 206 kB / 1.707 GB, free: 32.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002003/7.906, allocations: 235.5 kB / 1.707 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/7.907, allocations: 199.4 kB / 1.707 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04828/7.956, allocations: 4.368 MB / 1.712 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/7.956, allocations: 23.81 kB / 1.712 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/7.956, allocations: 0 / 1.712 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04036/7.996, allocations: 3.721 MB / 1.715 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04668/8.043, allocations: 7.441 MB / 1.723 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/8.043, allocations: 6.219 kB / 1.723 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005166/8.048, allocations: 448.3 kB / 1.723 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/8.05, allocations: 300.5 kB / 1.723 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007858/8.051, allocations: 83.14 kB / 1.723 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/8.056, allocations: 3.715 MB / 1.727 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/8.056, allocations: 11.31 kB / 1.727 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03668/8.092, allocations: 5.554 MB / 1.732 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003536/8.096, allocations: 0.5272 MB / 1.733 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/8.097, allocations: 32.36 kB / 1.733 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/8.101, allocations: 94.58 kB / 1.733 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/8.102, allocations: 183.8 kB / 1.733 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006047/8.103, allocations: 177.9 kB / 1.733 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002344/8.105, allocations: 0.7971 MB / 1.734 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.322e-06/8.105, allocations: 0 / 1.734 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01149/8.117, allocations: 1.895 MB / 1.736 GB, free: 25.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 9 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T,junctionVolume.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.04415/8.161, allocations: 10.3 MB / 1.746 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01523/8.176, allocations: 4.388 MB / 1.75 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.9e-05/8.176, allocations: 7.906 kB / 1.75 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00658/8.183, allocations: 1.536 MB / 1.752 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/8.196, allocations: 0.9219 MB / 1.753 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04121/8.237, allocations: 6.58 MB / 1.759 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/8.241, allocations: 1.777 MB / 1.761 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0188/8.26, allocations: 1.467 MB / 1.762 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004689/8.265, allocations: 0.998 MB / 1.763 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/8.265, allocations: 0 / 1.763 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7915/9.056, allocations: 88.3 MB / 1.85 GB, free: 63.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003317/9.056, allocations: 194.6 kB / 1.85 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.067/18.12, allocations: 1.969 kB / 1.85 GB, free: 62.81 MB / 0.5261 GB