Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.314e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3619, allocations: 48.7 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.07174/0.4337, allocations: 38.61 MB / 363.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04342/0.4772, allocations: 20.96 MB / 384.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.479, allocations: 39.69 kB / 384.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.4814, allocations: 477.8 kB / 385 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02026/0.5017, allocations: 4.144 MB / 389.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.5156, allocations: 3.572 MB / 392.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.519, allocations: 1.219 MB / 393.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.5201, allocations: 399.3 kB / 394.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02398/0.5442, allocations: 8.912 MB / 403.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03675/0.581, allocations: 14.16 MB / 417.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02248/0.6035, allocations: 7.683 MB / 425 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003547/0.6071, allocations: 468 kB / 425.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.6078, allocations: 263.2 kB / 425.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005194/0.6084, allocations: 112 kB / 425.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.6205, allocations: 3.886 MB / 429.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6206, allocations: 0 / 429.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6206, allocations: 0 / 429.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.587e-05/0.6207, allocations: 0 / 429.8 MB, free: 6.461 MB / 362.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.007604/0.6283, allocations: 1.798 MB / 431.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6283, allocations: 8.031 kB / 431.6 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/0.6322, allocations: 370.3 kB / 431.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.6342, allocations: 0.703 MB / 432.6 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.6344, allocations: 73.97 kB / 432.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.6346, allocations: 79.98 kB / 432.8 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005321/0.6399, allocations: 1.443 MB / 434.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.64, allocations: 3.938 kB / 434.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.6402, allocations: 31.98 kB / 434.3 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.6403, allocations: 77.89 kB / 434.3 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/0.6463, allocations: 1.342 MB / 435.7 MB, free: 376 kB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01462/0.661, allocations: 6.545 MB / 442.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.6659, allocations: 1.013 MB / 443.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/0.7897, allocations: 32.38 MB / 475.6 MB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.075e-05/0.7899, allocations: 43 kB / 475.7 MB, free: 3.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.549e-06/0.7899, allocations: 4 kB / 475.7 MB, free: 3.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.02019/0.8101, allocations: 3.309 MB / 479 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.8103, allocations: 166.7 kB / 479.1 MB, free: 400 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2681/1.078, allocations: 0.6259 MB / 479.8 MB, free: 137.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/1.079, allocations: 38.72 kB / 479.8 MB, free: 137.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/1.079, allocations: 424.1 kB / 480.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.079, allocations: 211.8 kB / 480.4 MB, free: 137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/1.079, allocations: 14.75 kB / 480.4 MB, free: 136.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.079, allocations: 391.2 kB / 480.8 MB, free: 136.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/1.081, allocations: 414.5 kB / 481.2 MB, free: 136.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.083, allocations: 0.6188 MB / 481.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/1.084, allocations: 483 kB / 482.3 MB, free: 135.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.084, allocations: 3.156 kB / 482.3 MB, free: 135.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00466/1.089, allocations: 1.356 MB / 483.7 MB, free: 135.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005499/1.09, allocations: 2.446 MB / 486.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.09, allocations: 6.594 kB / 486.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/1.095, allocations: 0.6675 MB / 486.8 MB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.096, allocations: 164.6 kB / 486.9 MB, free: 132.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/1.099, allocations: 1.296 MB / 488.2 MB, free: 132 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.101, allocations: 111.5 kB / 488.3 MB, free: 132 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.101, allocations: 42.7 kB / 488.4 MB, free: 131.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.101, allocations: 4.031 kB / 488.4 MB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004866/1.106, allocations: 1.229 MB / 489.6 MB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.106, allocations: 5.719 kB / 489.6 MB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/1.109, allocations: 446.4 kB / 490.1 MB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.111, allocations: 170.3 kB / 490.2 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.113, allocations: 1.111 MB / 491.3 MB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.114, allocations: 101.7 kB / 491.4 MB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/1.114, allocations: 39.53 kB / 491.5 MB, free: 130.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.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 (69): * Single equations (assignments): 68 * 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.0007065/1.115, allocations: 292.4 kB / 491.8 MB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/1.115, allocations: 88.2 kB / 491.8 MB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00708/1.122, allocations: 3.329 MB / 495.2 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.326e-05/1.122, allocations: 38.14 kB / 495.2 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.122, allocations: 3.656 kB / 495.2 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005337/1.128, allocations: 2.786 MB / 498 MB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/1.137, allocations: 4.57 MB / 0.4908 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.137, allocations: 1.281 kB / 0.4908 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.138, allocations: 173 kB / 0.491 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/1.139, allocations: 91.75 kB / 0.4911 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/1.139, allocations: 22.94 kB / 0.4911 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004958/1.139, allocations: 0.6486 MB / 0.4917 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.139, allocations: 0 / 0.4917 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006253/1.146, allocations: 2.931 MB / 0.4946 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/1.147, allocations: 448.8 kB / 0.495 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.147, allocations: 27.38 kB / 0.495 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.148, allocations: 79.2 kB / 0.4951 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.148, allocations: 59.81 kB / 0.4952 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/1.149, allocations: 27.48 kB / 0.4952 GB, free: 122.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001433/1.15, allocations: 0.7837 MB / 0.4959 GB, free: 122.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.15, allocations: 3.938 kB / 0.496 GB, free: 122.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005646/1.156, allocations: 1.576 MB / 0.4975 GB, free: 122.3 MB / 410.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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.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 (75): * Single equations (assignments): 64 * 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.008407/1.164, allocations: 1.572 MB / 0.499 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005612/1.17, allocations: 1.872 MB / 0.5009 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.17, allocations: 0 / 0.5009 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/1.172, allocations: 0.9083 MB / 0.5017 GB, free: 118.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/1.176, allocations: 467.9 kB / 0.5022 GB, free: 118.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/1.182, allocations: 3.73 MB / 0.5058 GB, free: 114.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/1.183, allocations: 1.354 MB / 0.5072 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002698/1.186, allocations: 0.9674 MB / 0.5081 GB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.186, allocations: 71.42 kB / 0.5082 GB, free: 111.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.186, allocations: 0 / 0.5082 GB, free: 111.9 MB / 410.7 MB Notification: Performance of Templates: time 0.09608/1.282, allocations: 48.57 MB / 0.5556 GB, free: 63.36 MB / 410.7 MB