Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.994/2.994, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.942e-05, allocations: 8 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4734, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.262/3.735, allocations: 0.687 GB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/3.736, allocations: 81.97 kB / 1.033 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.046/7.782, allocations: 0.5452 GB / 1.578 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.627e-06/7.782, allocations: 0 / 1.578 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005242/7.782, allocations: 55.98 kB / 1.578 GB, free: 13.22 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.02278/7.805, allocations: 3.028 MB / 1.581 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.306e-05/7.805, allocations: 12.03 kB / 1.581 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001795/7.807, allocations: 180.7 kB / 1.582 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009872/7.817, allocations: 436.8 kB / 1.582 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/7.833, allocations: 1.929 MB / 1.584 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/7.834, allocations: 83.03 kB / 1.584 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/7.835, allocations: 96 kB / 1.584 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01326/7.849, allocations: 2.115 MB / 1.586 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/7.864, allocations: 2.353 MB / 1.588 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/7.864, allocations: 7.953 kB / 1.588 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007673/7.865, allocations: 4 kB / 1.588 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006803/7.865, allocations: 158.9 kB / 1.589 GB, free: 2.547 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.6602/8.526, allocations: 10.72 MB / 1.599 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006193/8.532, allocations: 1.707 MB / 1.601 GB, free: 37.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/8.535, allocations: 0.9584 MB / 1.602 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/8.537, allocations: 458 kB / 1.602 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003817/8.541, allocations: 1.043 MB / 1.603 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 8.005e-06/8.541, allocations: 0 / 1.603 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.09269/8.634, allocations: 9.334 MB / 1.612 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/8.634, allocations: 257 kB / 1.612 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/8.637, allocations: 1.076 MB / 1.614 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007929/8.638, allocations: 28.92 kB / 1.614 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/8.639, allocations: 0.9084 MB / 1.614 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/8.64, allocations: 0.5755 MB / 1.615 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/8.641, allocations: 0 / 1.615 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001965/8.641, allocations: 389 kB / 1.615 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/8.644, allocations: 0.97 MB / 1.616 GB, free: 34.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/8.648, allocations: 1.4 MB / 1.618 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/8.671, allocations: 2.302 MB / 1.62 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/8.671, allocations: 5.156 kB / 1.62 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266) (initialization): time 0.03048/8.701, allocations: 3.913 MB / 1.624 GB, free: 34.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001256/8.703, allocations: 4.247 MB / 1.628 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/8.703, allocations: 10.25 kB / 1.628 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/8.704, allocations: 171.8 kB / 1.628 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006757/8.71, allocations: 0.5393 MB / 1.629 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/8.713, allocations: 2.345 MB / 1.631 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/8.719, allocations: 171.1 kB / 1.631 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/8.72, allocations: 197.7 kB / 1.631 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/8.72, allocations: 6.219 kB / 1.631 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0275/8.748, allocations: 3.436 MB / 1.635 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/8.748, allocations: 10.78 kB / 1.635 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/8.748, allocations: 164.9 kB / 1.635 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006211/8.755, allocations: 0.5409 MB / 1.635 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/8.757, allocations: 2.334 MB / 1.638 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005109/8.762, allocations: 173.2 kB / 1.638 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/8.763, allocations: 191.8 kB / 1.638 GB, free: 25.52 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.0012/8.764, allocations: 227.9 kB / 1.638 GB, free: 25.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/8.765, allocations: 192.2 kB / 1.638 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03254/8.798, allocations: 3.88 MB / 1.642 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/8.798, allocations: 18.34 kB / 1.642 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/8.798, allocations: 4.125 kB / 1.642 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02669/8.825, allocations: 3.386 MB / 1.645 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04221/8.867, allocations: 6.873 MB / 1.652 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/8.867, allocations: 10.73 kB / 1.652 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004718/8.872, allocations: 410.1 kB / 1.653 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008039/8.873, allocations: 162.2 kB / 1.653 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005661/8.873, allocations: 70.59 kB / 1.653 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/8.876, allocations: 3.031 MB / 1.656 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/8.876, allocations: 6.594 kB / 1.656 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/8.906, allocations: 5.093 MB / 1.661 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/8.908, allocations: 0.494 MB / 1.661 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000968/8.909, allocations: 29.64 kB / 1.661 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/8.913, allocations: 92.08 kB / 1.661 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007906/8.914, allocations: 165.1 kB / 1.661 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005284/8.915, allocations: 146.1 kB / 1.662 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00209/8.917, allocations: 0.7961 MB / 1.662 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.122e-06/8.917, allocations: 0 / 1.662 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01086/8.928, allocations: 1.793 MB / 1.664 GB, free: 19.3 MB / 0.4948 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.04218/8.97, allocations: 9.653 MB / 1.674 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01328/8.983, allocations: 4.123 MB / 1.678 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/8.983, allocations: 6.219 kB / 1.678 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/8.987, allocations: 1.417 MB / 1.679 GB, free: 31.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008993/8.996, allocations: 0.7792 MB / 1.68 GB, free: 31.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/9.026, allocations: 6.296 MB / 1.686 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/9.028, allocations: 1.722 MB / 1.688 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01297/9.041, allocations: 1.405 MB / 1.689 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00399/9.045, allocations: 0.9325 MB / 1.69 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/9.045, allocations: 0 / 1.69 GB, free: 29.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/9.438, allocations: 80.82 MB / 1.769 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005168/9.438, allocations: 201.5 kB / 1.769 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.823/18.26, allocations: 5.406 kB / 1.769 GB, free: 1.52 MB / 0.5105 GB