Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.478e-05, allocations: 1.969 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.855/1.992, allocations: 0.5614 GB / 0.9622 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.992, allocations: 77.89 kB / 0.9622 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.374/5.366, allocations: 0.5634 GB / 1.526 GB, free: 49.69 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.944e-06/5.366, allocations: 0 / 1.526 GB, free: 49.69 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003698/5.366, allocations: 70.61 kB / 1.526 GB, free: 49.68 MB / 0.5417 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.01338/5.38, allocations: 2.946 MB / 1.529 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/5.38, allocations: 8.75 kB / 1.529 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/5.381, allocations: 255.5 kB / 1.529 GB, free: 48.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/5.386, allocations: 458.1 kB / 1.529 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009347/5.396, allocations: 1.993 MB / 1.531 GB, free: 47.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/5.396, allocations: 143.7 kB / 1.531 GB, free: 47.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/5.397, allocations: 176.3 kB / 1.532 GB, free: 47.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/5.411, allocations: 2.7 MB / 1.534 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003921/5.412, allocations: 13.7 kB / 1.534 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001952/5.414, allocations: 80 kB / 1.534 GB, free: 47.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004649/5.414, allocations: 147.8 kB / 1.534 GB, free: 47.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/5.422, allocations: 2.264 MB / 1.537 GB, free: 47.32 MB / 0.5417 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.03524/5.457, allocations: 11.61 MB / 1.548 GB, free: 41.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006239/5.464, allocations: 1.827 MB / 1.55 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/5.467, allocations: 1.107 MB / 1.551 GB, free: 40.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/5.469, allocations: 0.513 MB / 1.551 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003826/5.473, allocations: 1.328 MB / 1.553 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 5.62e-06/5.473, allocations: 0 / 1.553 GB, free: 40.1 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.04541/5.518, allocations: 9.682 MB / 1.562 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/5.518, allocations: 360 kB / 1.562 GB, free: 38.42 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/5.521, allocations: 1.464 MB / 1.564 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007679/5.522, allocations: 67.64 kB / 1.564 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/5.523, allocations: 0.9102 MB / 1.565 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/5.524, allocations: 0.6749 MB / 1.565 GB, free: 37.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/5.525, allocations: 45.91 kB / 1.565 GB, free: 37.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001558/5.525, allocations: 392.7 kB / 1.566 GB, free: 37.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/5.528, allocations: 1.05 MB / 1.567 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/5.531, allocations: 1.54 MB / 1.568 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/5.535, allocations: 1.327 MB / 1.57 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/5.535, allocations: 3.719 kB / 1.57 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01029/5.546, allocations: 3.291 MB / 1.573 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/5.547, allocations: 4.337 MB / 1.577 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/5.547, allocations: 14.8 kB / 1.577 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/5.548, allocations: 302.5 kB / 1.577 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/5.555, allocations: 0.5689 MB / 1.578 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/5.558, allocations: 2.995 MB / 1.581 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/5.565, allocations: 224.6 kB / 1.581 GB, free: 27.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009329/5.566, allocations: 204.9 kB / 1.581 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/5.566, allocations: 3.75 kB / 1.581 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01191/5.578, allocations: 3.01 MB / 1.584 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/5.578, allocations: 11.38 kB / 1.584 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/5.58, allocations: 302.5 kB / 1.585 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006429/5.586, allocations: 0.557 MB / 1.585 GB, free: 25.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/5.589, allocations: 3 MB / 1.588 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006182/5.595, allocations: 222.1 kB / 1.588 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/5.596, allocations: 205.3 kB / 1.588 GB, free: 23.14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (261): * Single equations (assignments): 254 * 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.001312/5.598, allocations: 300.5 kB / 1.589 GB, free: 22.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009863/5.599, allocations: 231.3 kB / 1.589 GB, free: 22.76 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/5.618, allocations: 4.784 MB / 1.594 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/5.618, allocations: 19.69 kB / 1.594 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/5.618, allocations: 3.953 kB / 1.594 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009757/5.628, allocations: 2.997 MB / 1.597 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/5.651, allocations: 7.213 MB / 1.604 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/5.651, allocations: 8 kB / 1.604 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004492/5.655, allocations: 467.5 kB / 1.604 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/5.657, allocations: 319.7 kB / 1.604 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007017/5.658, allocations: 114.4 kB / 1.605 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/5.661, allocations: 3.74 MB / 1.608 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/5.661, allocations: 11.94 kB / 1.608 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/5.672, allocations: 5.038 MB / 1.613 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/5.674, allocations: 0.57 MB / 1.614 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008877/5.675, allocations: 63.75 kB / 1.614 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/5.679, allocations: 134.1 kB / 1.614 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/5.68, allocations: 196.7 kB / 1.614 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005112/5.68, allocations: 192.9 kB / 1.614 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002331/5.683, allocations: 1.114 MB / 1.615 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.61e-07/5.683, allocations: 2.344 kB / 1.615 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008759/5.691, allocations: 1.901 MB / 1.617 GB, free: 0.9648 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (206): * Single equations (assignments): 199 * 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.02277/5.714, allocations: 9.401 MB / 1.626 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01509/5.729, allocations: 4.537 MB / 1.631 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/5.729, allocations: 0 / 1.631 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005239/5.735, allocations: 1.62 MB / 1.632 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/5.745, allocations: 1.132 MB / 1.633 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/5.765, allocations: 5.227 MB / 1.639 GB, free: 13.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/5.768, allocations: 1.767 MB / 1.64 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01517/5.783, allocations: 3.308 MB / 1.644 GB, free: 9.711 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/5.787, allocations: 1.073 MB / 1.645 GB, free: 8.758 MB / 0.573 GB Notification: Performance of SimCode: time 1.904e-06/5.787, allocations: 3.938 kB / 1.645 GB, free: 8.754 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7059/6.493, allocations: 110 MB / 1.752 GB, free: 68.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/6.494, allocations: 235.9 kB / 1.752 GB, free: 68.49 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.836/15.33, allocations: 0 / 1.752 GB, free: 68.49 MB / 0.573 GB