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.986/1.986, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.574e-05/5.593e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.963/8.091, allocations: 2.545 GB / 2.859 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/8.091, allocations: 71.16 kB / 2.859 GB, free: 10.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.5/10.59, allocations: 453 MB / 3.301 GB, free: 41.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.422e-06/10.59, allocations: 0 / 3.301 GB, free: 41.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.829e-05/10.59, allocations: 24.84 kB / 3.301 GB, free: 41.85 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.009309/10.6, allocations: 2.091 MB / 3.303 GB, free: 40.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/10.6, allocations: 18.11 kB / 3.303 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002626/10.6, allocations: 124.7 kB / 3.304 GB, free: 40.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/10.61, allocations: 358.5 kB / 3.304 GB, free: 40.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/10.61, allocations: 0.8796 MB / 3.305 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/10.61, allocations: 69.86 kB / 3.305 GB, free: 39.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/10.61, allocations: 79.14 kB / 3.305 GB, free: 39.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/10.61, allocations: 1.447 MB / 3.306 GB, free: 39.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/10.61, allocations: 3.906 kB / 3.306 GB, free: 39.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/10.61, allocations: 34.78 kB / 3.306 GB, free: 39.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/10.61, allocations: 60.86 kB / 3.306 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/10.62, allocations: 1.236 MB / 3.308 GB, free: 38.89 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.01099/10.63, allocations: 6.554 MB / 3.314 GB, free: 33.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/10.63, allocations: 0.9292 MB / 3.315 GB, free: 33.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/10.63, allocations: 393.6 kB / 3.315 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1008/10.73, allocations: 32.04 MB / 3.347 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/10.73, allocations: 39.12 kB / 3.347 GB, free: 12.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.627e-06/10.73, allocations: 0 / 3.347 GB, free: 12.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.00962/10.74, allocations: 2.801 MB / 3.349 GB, free: 9.781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/10.74, allocations: 196.1 kB / 3.35 GB, free: 9.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/10.74, allocations: 0.6359 MB / 3.35 GB, free: 8.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/10.74, allocations: 41.64 kB / 3.35 GB, free: 8.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/10.74, allocations: 415.3 kB / 3.351 GB, free: 8.547 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/10.74, allocations: 210.8 kB / 3.351 GB, free: 8.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/10.74, allocations: 12 kB / 3.351 GB, free: 8.348 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/10.74, allocations: 391.9 kB / 3.351 GB, free: 7.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/10.75, allocations: 343.6 kB / 3.351 GB, free: 7.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009316/10.75, allocations: 0.5508 MB / 3.352 GB, free: 7.086 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/10.75, allocations: 418 kB / 3.352 GB, free: 6.734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/10.75, allocations: 0 / 3.352 GB, free: 6.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002918/10.75, allocations: 1.19 MB / 3.354 GB, free: 5.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004998/10.75, allocations: 2.264 MB / 3.356 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/10.75, allocations: 8 kB / 3.356 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004935/10.76, allocations: 0.6397 MB / 3.356 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/10.76, allocations: 158.7 kB / 3.357 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/10.76, allocations: 1.259 MB / 3.358 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/10.76, allocations: 102.2 kB / 3.358 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/10.76, allocations: 43.8 kB / 3.358 GB, free: 1.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/10.76, allocations: 7.938 kB / 3.358 GB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/10.76, allocations: 1.051 MB / 3.359 GB, free: 420 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/10.76, allocations: 8 kB / 3.359 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/10.77, allocations: 395.2 kB / 3.359 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/10.77, allocations: 173.8 kB / 3.36 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/10.77, allocations: 1.066 MB / 3.361 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/10.77, allocations: 102.5 kB / 3.361 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/10.77, allocations: 39.84 kB / 3.361 GB, free: 14.86 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.0003556/10.77, allocations: 149.4 kB / 3.361 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/10.77, allocations: 94.39 kB / 3.361 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/10.78, allocations: 3.231 MB / 3.364 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.707e-05/10.78, allocations: 38.77 kB / 3.364 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/10.78, allocations: 4 kB / 3.364 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004868/10.78, allocations: 2.676 MB / 3.367 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009485/10.79, allocations: 4.494 MB / 3.371 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/10.79, allocations: 3.812 kB / 3.371 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/10.79, allocations: 180.4 kB / 3.371 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006264/10.8, allocations: 83.92 kB / 3.371 GB, free: 5.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/10.8, allocations: 23.8 kB / 3.371 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006917/10.8, allocations: 0.6483 MB / 3.372 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/10.8, allocations: 0 / 3.372 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/10.8, allocations: 2.747 MB / 3.375 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/10.8, allocations: 455.1 kB / 3.375 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/10.8, allocations: 27.09 kB / 3.375 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/10.8, allocations: 92.53 kB / 3.375 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/10.81, allocations: 59 kB / 3.375 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/10.81, allocations: 31.94 kB / 3.375 GB, free: 1.363 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001831/10.81, allocations: 0.787 MB / 3.376 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.21e-07/10.81, allocations: 0 / 3.376 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.3571/11.16, allocations: 1.714 MB / 3.378 GB, free: 59.46 MB / 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.01992/11.18, allocations: 5.292 MB / 3.383 GB, free: 58.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004356/11.19, allocations: 1.652 MB / 3.385 GB, free: 58.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/11.19, allocations: 1 kB / 3.385 GB, free: 58.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/11.19, allocations: 0.8376 MB / 3.385 GB, free: 58.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/11.2, allocations: 468.1 kB / 3.386 GB, free: 58.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/11.21, allocations: 3.184 MB / 3.389 GB, free: 57.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/11.21, allocations: 1.347 MB / 3.39 GB, free: 57.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003688/11.21, allocations: 0.9718 MB / 3.391 GB, free: 57.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/11.21, allocations: 0.5552 MB / 3.392 GB, free: 57.06 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/11.21, allocations: 0 / 3.392 GB, free: 57.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1668/11.38, allocations: 70.07 MB / 3.46 GB, free: 54.17 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/11.38, allocations: 237.2 kB / 3.46 GB, free: 53.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.481/16.86, allocations: 7.219 kB / 3.46 GB, free: 53.85 MB / 458.7 MB