Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.621e-05, allocations: 1.547 kB / 273.1 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.621/7.729, allocations: 2.545 GB / 2.859 GB, free: 12.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/7.729, allocations: 73.66 kB / 2.859 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.443/10.17, allocations: 453 MB / 3.301 GB, free: 42.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/10.17, allocations: 0 / 3.301 GB, free: 42.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.951e-05/10.17, allocations: 22.44 kB / 3.301 GB, free: 42.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01028/10.18, allocations: 2.098 MB / 3.303 GB, free: 40.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/10.18, allocations: 7.875 kB / 3.303 GB, free: 40.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003879/10.18, allocations: 130 kB / 3.304 GB, free: 40.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/10.19, allocations: 355.7 kB / 3.304 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/10.19, allocations: 0.8766 MB / 3.305 GB, free: 40.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/10.19, allocations: 74.23 kB / 3.305 GB, free: 40.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/10.19, allocations: 80.95 kB / 3.305 GB, free: 40.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/10.19, allocations: 1.462 MB / 3.306 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/10.19, allocations: 7.031 kB / 3.306 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/10.19, allocations: 35.22 kB / 3.306 GB, free: 39.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/10.2, allocations: 54.81 kB / 3.306 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/10.2, allocations: 1.25 MB / 3.308 GB, free: 39.14 MB / 442.7 MB 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.01246/10.21, allocations: 6.547 MB / 3.314 GB, free: 34.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/10.22, allocations: 0.9376 MB / 3.315 GB, free: 33.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/10.22, allocations: 388.1 kB / 3.315 GB, free: 33.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1/10.32, allocations: 32.05 MB / 3.347 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/10.32, allocations: 46.25 kB / 3.347 GB, free: 12.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.148e-06/10.32, allocations: 4 kB / 3.347 GB, free: 12.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.009811/10.33, allocations: 2.802 MB / 3.349 GB, free: 10.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/10.33, allocations: 188.5 kB / 3.35 GB, free: 10.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/10.33, allocations: 0.6357 MB / 3.35 GB, free: 9.984 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/10.33, allocations: 37.7 kB / 3.35 GB, free: 9.941 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/10.33, allocations: 421.1 kB / 3.351 GB, free: 9.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/10.33, allocations: 206.8 kB / 3.351 GB, free: 9.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/10.33, allocations: 16 kB / 3.351 GB, free: 9.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/10.33, allocations: 395.9 kB / 3.351 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/10.33, allocations: 341.9 kB / 3.351 GB, free: 8.699 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/10.33, allocations: 0.5501 MB / 3.352 GB, free: 8.102 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/10.33, allocations: 428.9 kB / 3.352 GB, free: 7.746 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/10.33, allocations: 3.938 kB / 3.352 GB, free: 7.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002947/10.33, allocations: 1.203 MB / 3.354 GB, free: 6.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004626/10.33, allocations: 2.261 MB / 3.356 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/10.33, allocations: 8 kB / 3.356 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004886/10.34, allocations: 0.6378 MB / 3.356 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/10.34, allocations: 162.5 kB / 3.357 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/10.34, allocations: 1.258 MB / 3.358 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/10.34, allocations: 110.8 kB / 3.358 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/10.34, allocations: 35.84 kB / 3.358 GB, free: 2.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/10.34, allocations: 4 kB / 3.358 GB, free: 2.324 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003038/10.35, allocations: 1.073 MB / 3.359 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/10.35, allocations: 4 kB / 3.359 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/10.35, allocations: 403.4 kB / 3.359 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/10.35, allocations: 166.2 kB / 3.36 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/10.35, allocations: 1.077 MB / 3.361 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/10.36, allocations: 104.6 kB / 3.361 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/10.36, allocations: 43.78 kB / 3.361 GB, free: 15.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003527/10.36, allocations: 159.3 kB / 3.361 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/10.36, allocations: 86.97 kB / 3.361 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/10.36, allocations: 3.242 MB / 3.364 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/10.36, allocations: 38.45 kB / 3.364 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/10.36, allocations: 0 / 3.364 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004545/10.37, allocations: 2.688 MB / 3.367 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/10.38, allocations: 4.477 MB / 3.371 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/10.38, allocations: 7.938 kB / 3.371 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/10.38, allocations: 176.5 kB / 3.371 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/10.38, allocations: 97.09 kB / 3.371 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/10.38, allocations: 20 kB / 3.371 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/10.38, allocations: 0.6443 MB / 3.372 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/10.38, allocations: 0 / 3.372 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/10.38, allocations: 2.74 MB / 3.375 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/10.39, allocations: 458.7 kB / 3.375 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/10.39, allocations: 27.84 kB / 3.375 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/10.39, allocations: 90.98 kB / 3.375 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/10.39, allocations: 63.64 kB / 3.375 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/10.39, allocations: 23.89 kB / 3.375 GB, free: 2.383 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001836/10.39, allocations: 0.7886 MB / 3.376 GB, free: 1.645 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/10.39, allocations: 0 / 3.376 GB, free: 1.645 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008725/10.4, allocations: 1.746 MB / 3.378 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.349/10.75, allocations: 5.267 MB / 3.383 GB, free: 58.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004616/10.75, allocations: 1.684 MB / 3.385 GB, free: 58.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/10.75, allocations: 0.9688 kB / 3.385 GB, free: 58.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001943/10.75, allocations: 0.8498 MB / 3.386 GB, free: 58.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/10.76, allocations: 472.2 kB / 3.386 GB, free: 58.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/10.77, allocations: 3.184 MB / 3.389 GB, free: 57.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/10.77, allocations: 1.346 MB / 3.39 GB, free: 57.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00366/10.77, allocations: 0.9751 MB / 3.391 GB, free: 57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/10.78, allocations: 0.5541 MB / 3.392 GB, free: 56.99 MB / 458.7 MB Notification: Performance of SimCode: time 2.034e-06/10.78, allocations: 0 / 3.392 GB, free: 56.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.163/10.94, allocations: 70.04 MB / 3.46 GB, free: 54.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/10.94, allocations: 238.5 kB / 3.461 GB, free: 53.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.615/16.55, allocations: 0 / 3.461 GB, free: 53.97 MB / 458.7 MB