Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.465/3.465, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.172e-05, allocations: 4 kB / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4622, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.186/3.649, allocations: 0.687 GB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/3.649, allocations: 77.64 kB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.551/7.2, allocations: 0.5452 GB / 1.578 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.966e-06/7.2, allocations: 0 / 1.578 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003944/7.201, allocations: 55.98 kB / 1.578 GB, free: 12.37 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01694/7.218, allocations: 3.028 MB / 1.581 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/7.218, allocations: 8.031 kB / 1.581 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001318/7.219, allocations: 184.7 kB / 1.582 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0063/7.226, allocations: 440.8 kB / 1.582 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/7.237, allocations: 1.937 MB / 1.584 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/7.237, allocations: 75.03 kB / 1.584 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/7.238, allocations: 96 kB / 1.584 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008664/7.247, allocations: 2.115 MB / 1.586 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009268/7.256, allocations: 2.357 MB / 1.588 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/7.256, allocations: 7.891 kB / 1.588 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004698/7.257, allocations: 8 kB / 1.588 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004502/7.257, allocations: 155 kB / 1.589 GB, free: 1.684 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.5382/7.795, allocations: 10.72 MB / 1.599 GB, free: 37.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/7.801, allocations: 1.708 MB / 1.601 GB, free: 36.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/7.804, allocations: 0.9647 MB / 1.602 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/7.806, allocations: 451.4 kB / 1.602 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003518/7.81, allocations: 1.039 MB / 1.603 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 7.144e-06/7.81, allocations: 0.9688 kB / 1.603 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.08754/7.897, allocations: 9.335 MB / 1.612 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/7.898, allocations: 256.9 kB / 1.612 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/7.9, allocations: 1.072 MB / 1.614 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007717/7.901, allocations: 28.89 kB / 1.614 GB, free: 35.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/7.903, allocations: 0.9153 MB / 1.614 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/7.904, allocations: 0.5724 MB / 1.615 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/7.904, allocations: 1.156 kB / 1.615 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002216/7.905, allocations: 390 kB / 1.615 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/7.908, allocations: 0.9618 MB / 1.616 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/7.912, allocations: 1.4 MB / 1.618 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/7.934, allocations: 2.304 MB / 1.62 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.288e-05/7.934, allocations: 3.531 kB / 1.62 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.02885/7.963, allocations: 3.919 MB / 1.624 GB, free: 33.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001115/7.964, allocations: 4.24 MB / 1.628 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/7.964, allocations: 15.09 kB / 1.628 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/7.965, allocations: 167 kB / 1.628 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00628/7.971, allocations: 0.5446 MB / 1.629 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/7.973, allocations: 2.349 MB / 1.631 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/7.979, allocations: 168.3 kB / 1.631 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/7.98, allocations: 190.8 kB / 1.631 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/7.98, allocations: 8.969 kB / 1.631 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02573/8.006, allocations: 3.434 MB / 1.635 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/8.006, allocations: 11.36 kB / 1.635 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/8.007, allocations: 177.7 kB / 1.635 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006028/8.013, allocations: 0.5313 MB / 1.635 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/8.015, allocations: 2.34 MB / 1.638 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/8.02, allocations: 165 kB / 1.638 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/8.021, allocations: 189 kB / 1.638 GB, free: 24.88 MB / 0.4948 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 (250): * Single equations (assignments): 244 * 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.001169/8.022, allocations: 237.9 kB / 1.638 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008338/8.023, allocations: 191.3 kB / 1.638 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03199/8.055, allocations: 3.882 MB / 1.642 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/8.055, allocations: 21.44 kB / 1.642 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/8.055, allocations: 0 / 1.642 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02668/8.082, allocations: 3.381 MB / 1.645 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04142/8.123, allocations: 6.87 MB / 1.652 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/8.123, allocations: 8.719 kB / 1.652 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005109/8.129, allocations: 414 kB / 1.653 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/8.129, allocations: 170.3 kB / 1.653 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008138/8.13, allocations: 68.16 kB / 1.653 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/8.134, allocations: 3.033 MB / 1.656 GB, free: 36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/8.134, allocations: 7 kB / 1.656 GB, free: 36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03036/8.165, allocations: 5.089 MB / 1.661 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/8.167, allocations: 0.5021 MB / 1.661 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008883/8.168, allocations: 29.88 kB / 1.661 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00347/8.172, allocations: 94.75 kB / 1.661 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006435/8.172, allocations: 152.8 kB / 1.662 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005131/8.173, allocations: 150.9 kB / 1.662 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002089/8.175, allocations: 0.7958 MB / 1.662 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.813e-06/8.175, allocations: 0 / 1.662 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0103/8.185, allocations: 1.795 MB / 1.664 GB, free: 34.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (184): * Single equations (assignments): 178 * 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.04124/8.226, allocations: 9.662 MB / 1.674 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01278/8.239, allocations: 4.119 MB / 1.678 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/8.239, allocations: 0 / 1.678 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003996/8.243, allocations: 1.409 MB / 1.679 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009053/8.252, allocations: 0.7692 MB / 1.68 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/8.282, allocations: 6.309 MB / 1.686 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/8.284, allocations: 1.719 MB / 1.688 GB, free: 29.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01331/8.298, allocations: 1.402 MB / 1.689 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004019/8.302, allocations: 0.9338 MB / 1.69 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/8.302, allocations: 0 / 1.69 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2732/8.575, allocations: 80.83 MB / 1.769 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003762/8.575, allocations: 193.8 kB / 1.769 GB, free: 448 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.675/17.25, allocations: 4 kB / 1.769 GB, free: 444 kB / 0.5105 GB