Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.43e-05, allocations: 7.234 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.821/1.959, allocations: 0.5613 GB / 0.962 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.96, allocations: 78.7 kB / 0.9621 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/5.122, allocations: 0.506 GB / 1.468 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/5.122, allocations: 0 / 1.468 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003163/5.123, allocations: 63.52 kB / 1.468 GB, free: 52.16 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.01221/5.135, allocations: 2.807 MB / 1.471 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/5.135, allocations: 11.12 kB / 1.471 GB, free: 51.12 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/5.136, allocations: 243.1 kB / 1.471 GB, free: 51.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/5.141, allocations: 442.3 kB / 1.472 GB, free: 50.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/5.149, allocations: 1.93 MB / 1.474 GB, free: 50.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/5.15, allocations: 133.1 kB / 1.474 GB, free: 50.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/5.151, allocations: 166.5 kB / 1.474 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/5.159, allocations: 2.585 MB / 1.476 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-05/5.16, allocations: 5.594 kB / 1.476 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000796/5.16, allocations: 76.11 kB / 1.476 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003398/5.161, allocations: 158.3 kB / 1.477 GB, free: 50.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007124/5.168, allocations: 2.166 MB / 1.479 GB, free: 50.16 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.02603/5.194, allocations: 11.01 MB / 1.489 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/5.199, allocations: 1.755 MB / 1.491 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/5.202, allocations: 1.048 MB / 1.492 GB, free: 44.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/5.203, allocations: 0.513 MB / 1.493 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003648/5.207, allocations: 1.276 MB / 1.494 GB, free: 43.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 6.281e-06/5.207, allocations: 0 / 1.494 GB, free: 43.38 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.04139/5.248, allocations: 8.691 MB / 1.502 GB, free: 42.19 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/5.249, allocations: 360.5 kB / 1.503 GB, free: 41.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/5.252, allocations: 1.404 MB / 1.504 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007664/5.253, allocations: 66.86 kB / 1.504 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/5.254, allocations: 0.8633 MB / 1.505 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/5.255, allocations: 0.6166 MB / 1.506 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/5.255, allocations: 45.47 kB / 1.506 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001869/5.256, allocations: 388.5 kB / 1.506 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/5.259, allocations: 0.9962 MB / 1.507 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/5.263, allocations: 1.433 MB / 1.508 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/5.267, allocations: 1.27 MB / 1.51 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/5.268, allocations: 3.906 kB / 1.51 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.0096/5.277, allocations: 3.059 MB / 1.513 GB, free: 39.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008412/5.278, allocations: 3.767 MB / 1.516 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/5.278, allocations: 13.97 kB / 1.516 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/5.279, allocations: 186.5 kB / 1.516 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/5.284, allocations: 0.5425 MB / 1.517 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/5.286, allocations: 2.32 MB / 1.519 GB, free: 33.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/5.29, allocations: 225.8 kB / 1.52 GB, free: 33.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009649/5.291, allocations: 187 kB / 1.52 GB, free: 33.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/5.291, allocations: 3.312 kB / 1.52 GB, free: 33.72 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008519/5.3, allocations: 2.777 MB / 1.522 GB, free: 33.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/5.3, allocations: 13.83 kB / 1.522 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/5.3, allocations: 188.2 kB / 1.523 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004789/5.305, allocations: 0.5325 MB / 1.523 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/5.307, allocations: 2.329 MB / 1.525 GB, free: 31.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/5.311, allocations: 203.4 kB / 1.526 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008993/5.312, allocations: 187.3 kB / 1.526 GB, free: 31.46 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.001184/5.314, allocations: 299.6 kB / 1.526 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007779/5.314, allocations: 222.9 kB / 1.526 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/5.329, allocations: 4.6 MB / 1.531 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/5.329, allocations: 20.61 kB / 1.531 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/5.329, allocations: 3.953 kB / 1.531 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007416/5.336, allocations: 2.737 MB / 1.533 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/5.356, allocations: 6.961 MB / 1.54 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/5.356, allocations: 5.562 kB / 1.54 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003934/5.36, allocations: 440.2 kB / 1.541 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/5.361, allocations: 187.3 kB / 1.541 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006433/5.362, allocations: 99.67 kB / 1.541 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/5.364, allocations: 3.071 MB / 1.544 GB, free: 25.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/5.364, allocations: 9.75 kB / 1.544 GB, free: 25.87 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/5.376, allocations: 4.726 MB / 1.549 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/5.378, allocations: 0.5366 MB / 1.549 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/5.379, allocations: 57.23 kB / 1.549 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003556/5.383, allocations: 140.6 kB / 1.549 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/5.384, allocations: 172.4 kB / 1.549 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004795/5.384, allocations: 163.5 kB / 1.55 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002615/5.387, allocations: 1.092 MB / 1.551 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.72e-07/5.387, allocations: 0 / 1.551 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009376/5.396, allocations: 1.796 MB / 1.552 GB, free: 23.9 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.01862/5.415, allocations: 9.082 MB / 1.561 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01235/5.427, allocations: 4.258 MB / 1.565 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/5.427, allocations: 0 / 1.565 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003796/5.431, allocations: 1.482 MB / 1.567 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008895/5.44, allocations: 0.9709 MB / 1.568 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/5.458, allocations: 4.956 MB / 1.573 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/5.459, allocations: 1.729 MB / 1.574 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01609/5.476, allocations: 3.227 MB / 1.578 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005926/5.482, allocations: 1.002 MB / 1.579 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of SimCode: time 2.195e-06/5.482, allocations: 0 / 1.579 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6897/6.171, allocations: 101.2 MB / 1.677 GB, free: 61.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/6.172, allocations: 232.5 kB / 1.678 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/14.4, allocations: 0 / 1.678 GB, free: 61.31 MB / 0.5573 GB