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.97/1.97, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.233e-05, allocations: 7.938 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.782/7.894, allocations: 2.544 GB / 2.853 GB, free: 45.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/7.894, allocations: 79.02 kB / 2.853 GB, free: 45.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.461/10.36, allocations: 448.6 MB / 3.291 GB, free: 45.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/10.36, allocations: 0 / 3.291 GB, free: 45.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001243/10.36, allocations: 27.48 kB / 3.291 GB, free: 45.78 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.009962/10.37, allocations: 2.1 MB / 3.293 GB, free: 44.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/10.37, allocations: 7.156 kB / 3.293 GB, free: 44.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/10.37, allocations: 363.8 kB / 3.294 GB, free: 44.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/10.37, allocations: 0.877 MB / 3.295 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/10.37, allocations: 36.03 kB / 3.295 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/10.37, allocations: 47.91 kB / 3.295 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002265/10.38, allocations: 0.9207 MB / 3.296 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/10.38, allocations: 1.087 MB / 3.297 GB, free: 44.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/10.38, allocations: 7.234 kB / 3.297 GB, free: 44.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/10.38, allocations: 3.906 kB / 3.297 GB, free: 44.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/10.38, allocations: 56 kB / 3.297 GB, free: 44.21 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.3133/10.69, allocations: 101.1 MB / 3.395 GB, free: 25.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/10.69, allocations: 476.1 kB / 3.396 GB, free: 24.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/10.69, allocations: 269.7 kB / 3.396 GB, free: 24.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05334/10.75, allocations: 16.77 MB / 3.412 GB, free: 8.387 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/10.75, allocations: 40.47 kB / 3.413 GB, free: 8.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.827e-06/10.75, allocations: 0 / 3.413 GB, free: 8.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=46): time 0.01026/10.76, allocations: 2.262 MB / 3.415 GB, free: 6.871 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/10.76, allocations: 132.5 kB / 3.415 GB, free: 6.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/10.76, allocations: 0.5595 MB / 3.415 GB, free: 6.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/10.76, allocations: 25.7 kB / 3.415 GB, free: 6.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/10.76, allocations: 479.3 kB / 3.416 GB, free: 6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/10.76, allocations: 152.5 kB / 3.416 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/10.76, allocations: 4 kB / 3.416 GB, free: 5.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/10.76, allocations: 383.2 kB / 3.416 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/10.76, allocations: 320.7 kB / 3.417 GB, free: 5.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/10.76, allocations: 0.5266 MB / 3.417 GB, free: 4.957 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006797/10.77, allocations: 0.9444 MB / 3.418 GB, free: 4.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/10.77, allocations: 0 / 3.418 GB, free: 4.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.008902/10.78, allocations: 1.674 MB / 3.42 GB, free: 3.469 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000895/10.78, allocations: 2.27 MB / 3.422 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.78, allocations: 4 kB / 3.422 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/10.78, allocations: 483.1 kB / 3.422 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/10.78, allocations: 157.7 kB / 3.423 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3412/11.12, allocations: 1.348 MB / 3.424 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/11.12, allocations: 121.5 kB / 3.424 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/11.12, allocations: 39.03 kB / 3.424 GB, free: 92.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/11.12, allocations: 3.344 kB / 3.424 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009347/11.13, allocations: 1.482 MB / 3.426 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/11.13, allocations: 5.094 kB / 3.426 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/11.14, allocations: 384.6 kB / 3.426 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/11.14, allocations: 172.7 kB / 3.426 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/11.14, allocations: 1.075 MB / 3.427 GB, free: 92.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/11.14, allocations: 100.6 kB / 3.427 GB, free: 92.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/11.14, allocations: 39.91 kB / 3.427 GB, free: 92.12 MB / 490.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,pipe.statesFM[2].phase,sink.medium.phase,source.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.000342/11.14, allocations: 129.5 kB / 3.427 GB, free: 92.02 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003296/11.15, allocations: 0.7354 MB / 3.428 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/11.15, allocations: 70.19 kB / 3.428 GB, free: 91.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/11.15, allocations: 1.86 MB / 3.43 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/11.15, allocations: 25.94 kB / 3.43 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/11.15, allocations: 1.219 kB / 3.43 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003601/11.15, allocations: 1.775 MB / 3.432 GB, free: 91.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/11.16, allocations: 2.85 MB / 3.435 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/11.16, allocations: 0.9688 kB / 3.435 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/11.16, allocations: 121.2 kB / 3.435 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/11.16, allocations: 86.23 kB / 3.435 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/11.16, allocations: 15.72 kB / 3.435 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005867/11.16, allocations: 0.6712 MB / 3.435 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/11.16, allocations: 5.094 kB / 3.435 GB, free: 90.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/11.17, allocations: 1.968 MB / 3.437 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007358/11.17, allocations: 254.3 kB / 3.438 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/11.17, allocations: 7.219 kB / 3.438 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/11.17, allocations: 66.86 kB / 3.438 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/11.17, allocations: 45.11 kB / 3.438 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/11.17, allocations: 23.64 kB / 3.438 GB, free: 90.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008284/11.17, allocations: 427.2 kB / 3.438 GB, free: 90.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/11.17, allocations: 0 / 3.438 GB, free: 90.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008377/11.18, allocations: 1.617 MB / 3.44 GB, free: 90.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 11 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01742/11.2, allocations: 4.732 MB / 3.444 GB, free: 88.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003611/11.2, allocations: 1.416 MB / 3.446 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/11.2, allocations: 0 / 3.446 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/11.2, allocations: 0.5837 MB / 3.446 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/11.21, allocations: 327.1 kB / 3.447 GB, free: 88.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/11.22, allocations: 2.451 MB / 3.449 GB, free: 88.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/11.22, allocations: 1.174 MB / 3.45 GB, free: 87.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00316/11.22, allocations: 1.074 MB / 3.451 GB, free: 87.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009276/11.22, allocations: 386.7 kB / 3.452 GB, free: 87.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/11.22, allocations: 0 / 3.452 GB, free: 87.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/11.38, allocations: 53.57 MB / 3.504 GB, free: 85.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/11.39, allocations: 197.6 kB / 3.504 GB, free: 85.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.737/16.12, allocations: 0 / 3.504 GB, free: 85.33 MB / 490.7 MB