Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 270 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.765e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.866/2.003, allocations: 0.5613 GB / 0.9621 GB, free: 55.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/2.003, allocations: 82.88 kB / 0.9621 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.168/5.171, allocations: 0.506 GB / 1.468 GB, free: 51.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/5.171, allocations: 3.094 kB / 1.468 GB, free: 51.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003835/5.172, allocations: 61.33 kB / 1.468 GB, free: 51.88 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01308/5.185, allocations: 2.809 MB / 1.471 GB, free: 50.87 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/5.185, allocations: 13.22 kB / 1.471 GB, free: 50.87 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001228/5.186, allocations: 244 kB / 1.471 GB, free: 50.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004719/5.191, allocations: 443.8 kB / 1.472 GB, free: 50.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008797/5.2, allocations: 1.921 MB / 1.474 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/5.2, allocations: 132.3 kB / 1.474 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/5.201, allocations: 168.4 kB / 1.474 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008709/5.21, allocations: 2.578 MB / 1.476 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/5.21, allocations: 5.594 kB / 1.476 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004661/5.21, allocations: 74.09 kB / 1.476 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/5.211, allocations: 155.5 kB / 1.477 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/5.218, allocations: 2.169 MB / 1.479 GB, free: 49.92 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.0271/5.245, allocations: 11.02 MB / 1.489 GB, free: 44.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00518/5.251, allocations: 1.762 MB / 1.491 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/5.254, allocations: 1.053 MB / 1.492 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/5.255, allocations: 0.5107 MB / 1.493 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003863/5.259, allocations: 1.266 MB / 1.494 GB, free: 43.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 6.632e-06/5.259, allocations: 0 / 1.494 GB, free: 43.13 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.04104/5.3, allocations: 8.693 MB / 1.502 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/5.3, allocations: 365.7 kB / 1.503 GB, free: 41.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/5.304, allocations: 1.396 MB / 1.504 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007324/5.304, allocations: 65.86 kB / 1.504 GB, free: 41.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/5.305, allocations: 0.8657 MB / 1.505 GB, free: 41.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/5.307, allocations: 0.6185 MB / 1.506 GB, free: 40.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/5.307, allocations: 45.97 kB / 1.506 GB, free: 40.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001878/5.307, allocations: 383.6 kB / 1.506 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/5.31, allocations: 1.003 MB / 1.507 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/5.314, allocations: 1.423 MB / 1.508 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/5.317, allocations: 1.271 MB / 1.51 GB, free: 39.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/5.318, allocations: 3.875 kB / 1.51 GB, free: 39.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.01018/5.328, allocations: 3.06 MB / 1.513 GB, free: 39.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009383/5.329, allocations: 3.769 MB / 1.516 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/5.329, allocations: 19.31 kB / 1.516 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007845/5.33, allocations: 189.1 kB / 1.517 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/5.335, allocations: 0.5414 MB / 1.517 GB, free: 35.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/5.336, allocations: 2.33 MB / 1.519 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/5.341, allocations: 214.3 kB / 1.52 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/5.342, allocations: 187.9 kB / 1.52 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/5.342, allocations: 7.625 kB / 1.52 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008342/5.351, allocations: 2.773 MB / 1.522 GB, free: 33.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/5.351, allocations: 17.83 kB / 1.522 GB, free: 33.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/5.352, allocations: 191.9 kB / 1.523 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004744/5.356, allocations: 0.5296 MB / 1.523 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/5.358, allocations: 2.324 MB / 1.525 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/5.362, allocations: 215.5 kB / 1.526 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/5.364, allocations: 185.5 kB / 1.526 GB, free: 31.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (246): * Single equations (assignments): 240 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001339/5.365, allocations: 290.5 kB / 1.526 GB, free: 31.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008744/5.366, allocations: 216.7 kB / 1.526 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/5.381, allocations: 4.6 MB / 1.531 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/5.381, allocations: 21.69 kB / 1.531 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/5.381, allocations: 3.953 kB / 1.531 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007509/5.388, allocations: 2.741 MB / 1.533 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/5.41, allocations: 6.964 MB / 1.54 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/5.41, allocations: 6.5 kB / 1.54 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003903/5.414, allocations: 441.7 kB / 1.541 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/5.414, allocations: 189.2 kB / 1.541 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006367/5.415, allocations: 100.2 kB / 1.541 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/5.417, allocations: 3.067 MB / 1.544 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/5.417, allocations: 11.16 kB / 1.544 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/5.429, allocations: 4.721 MB / 1.549 GB, free: 24.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/5.431, allocations: 0.5364 MB / 1.549 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009603/5.432, allocations: 60.94 kB / 1.549 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/5.436, allocations: 134.7 kB / 1.549 GB, free: 24.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006948/5.437, allocations: 174.7 kB / 1.549 GB, free: 24.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004769/5.437, allocations: 163.2 kB / 1.55 GB, free: 24.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002784/5.44, allocations: 1.091 MB / 1.551 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.42e-07/5.44, allocations: 0 / 1.551 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01017/5.45, allocations: 1.802 MB / 1.552 GB, free: 23.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (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) * 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 (191): * Single equations (assignments): 185 * 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: 4 * 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: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0205/5.471, allocations: 9.08 MB / 1.561 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01269/5.484, allocations: 4.25 MB / 1.565 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/5.484, allocations: 5.922 kB / 1.565 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/5.488, allocations: 1.478 MB / 1.567 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008794/5.496, allocations: 0.9834 MB / 1.568 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/5.513, allocations: 4.954 MB / 1.573 GB, free: 17.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/5.515, allocations: 1.728 MB / 1.574 GB, free: 17.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01267/5.527, allocations: 3.222 MB / 1.578 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003431/5.531, allocations: 0.9966 MB / 1.579 GB, free: 17.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.954e-06/5.531, allocations: 3.375 kB / 1.579 GB, free: 17.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7224/6.253, allocations: 101.5 MB / 1.678 GB, free: 59.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/6.253, allocations: 240.4 kB / 1.678 GB, free: 58.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/14.15, allocations: 5.203 kB / 1.678 GB, free: 58.93 MB / 0.5573 GB