Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.139e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3706, allocations: 48.7 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.06863/0.4393, allocations: 38.62 MB / 363.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04368/0.483, allocations: 20.96 MB / 384.4 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.4848, allocations: 39.69 kB / 384.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.487, allocations: 477.7 kB / 384.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01926/0.5063, allocations: 4.14 MB / 389.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01474/0.5211, allocations: 3.576 MB / 392.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003577/0.5247, allocations: 1.219 MB / 393.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009547/0.5257, allocations: 403.2 kB / 394.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02328/0.549, allocations: 8.901 MB / 403.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03808/0.5871, allocations: 14.16 MB / 417.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02447/0.6116, allocations: 7.679 MB / 425 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003638/0.6153, allocations: 468 kB / 425.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007497/0.6161, allocations: 263.2 kB / 425.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.6166, allocations: 116 kB / 425.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.6294, allocations: 3.886 MB / 429.7 MB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6294, allocations: 0 / 429.7 MB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6294, allocations: 0 / 429.7 MB, free: 6.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.6295, allocations: 4 kB / 429.7 MB, free: 6.539 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.007603/0.6371, allocations: 1.801 MB / 431.5 MB, free: 4.688 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.6372, allocations: 8.031 kB / 431.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/0.6412, allocations: 362.4 kB / 431.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.6434, allocations: 0.707 MB / 432.6 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.6436, allocations: 69.98 kB / 432.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.6438, allocations: 75.97 kB / 432.7 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/0.6492, allocations: 1.447 MB / 434.2 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.6493, allocations: 7.938 kB / 434.2 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.6495, allocations: 39.97 kB / 434.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.6497, allocations: 65.92 kB / 434.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.6554, allocations: 1.35 MB / 435.6 MB, free: 456 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.01389/0.6694, allocations: 6.545 MB / 442.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/0.6743, allocations: 1.013 MB / 443.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1167/0.791, allocations: 32.38 MB / 475.6 MB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/0.7911, allocations: 46.94 kB / 475.6 MB, free: 4.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.498e-06/0.7911, allocations: 0 / 475.6 MB, free: 4.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.01504/0.8062, allocations: 3.309 MB / 478.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8063, allocations: 166.7 kB / 479.1 MB, free: 480 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2734/1.08, allocations: 0.6232 MB / 479.7 MB, free: 136.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.08, allocations: 37.92 kB / 479.8 MB, free: 136.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/1.081, allocations: 442.2 kB / 480.2 MB, free: 136.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.081, allocations: 210 kB / 480.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/1.081, allocations: 19.94 kB / 480.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/1.081, allocations: 339 kB / 480.8 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/1.083, allocations: 414.7 kB / 481.2 MB, free: 136.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/1.085, allocations: 0.6212 MB / 481.8 MB, free: 135.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.086, allocations: 484.8 kB / 482.3 MB, free: 135.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.086, allocations: 1.281 kB / 482.3 MB, free: 135.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004581/1.091, allocations: 1.308 MB / 483.6 MB, free: 135.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005431/1.091, allocations: 2.441 MB / 486 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.091, allocations: 8.688 kB / 486 MB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/1.097, allocations: 0.6714 MB / 486.7 MB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.098, allocations: 161.9 kB / 486.8 MB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/1.101, allocations: 1.297 MB / 488.1 MB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.102, allocations: 105.5 kB / 488.2 MB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.103, allocations: 43.89 kB / 488.3 MB, free: 131.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.103, allocations: 2.688 kB / 488.3 MB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004703/1.107, allocations: 1.232 MB / 489.5 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.107, allocations: 6.797 kB / 489.5 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/1.11, allocations: 422.2 kB / 489.9 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.112, allocations: 175.7 kB / 490.1 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.114, allocations: 1.099 MB / 491.2 MB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.115, allocations: 101.5 kB / 491.3 MB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.115, allocations: 39.97 kB / 491.3 MB, free: 130.5 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.0007606/1.116, allocations: 292.2 kB / 491.6 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.116, allocations: 89.61 kB / 491.7 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00725/1.123, allocations: 3.329 MB / 495 MB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-05/1.124, allocations: 38.69 kB / 495.1 MB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.124, allocations: 5.25 kB / 495.1 MB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005493/1.129, allocations: 2.778 MB / 497.9 MB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009166/1.138, allocations: 4.571 MB / 0.4907 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.138, allocations: 0.7188 kB / 0.4907 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.14, allocations: 176.4 kB / 0.4908 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/1.14, allocations: 85.23 kB / 0.4909 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/1.14, allocations: 24.44 kB / 0.4909 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004846/1.141, allocations: 0.6467 MB / 0.4916 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.141, allocations: 4.625 kB / 0.4916 GB, free: 124.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/1.147, allocations: 2.929 MB / 0.4944 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/1.148, allocations: 448.4 kB / 0.4949 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/1.148, allocations: 15.97 kB / 0.4949 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.15, allocations: 86.55 kB / 0.495 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.15, allocations: 65.62 kB / 0.495 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/1.15, allocations: 19.5 kB / 0.495 GB, free: 122.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001433/1.151, allocations: 0.7912 MB / 0.4958 GB, free: 122.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.151, allocations: 0 / 0.4958 GB, free: 122.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005296/1.157, allocations: 1.573 MB / 0.4974 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.007934/1.165, allocations: 1.575 MB / 0.4989 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005672/1.17, allocations: 1.849 MB / 0.5007 GB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.171, allocations: 0 / 0.5007 GB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/1.173, allocations: 0.9083 MB / 0.5016 GB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.177, allocations: 475.4 kB / 0.502 GB, free: 118.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/1.184, allocations: 3.761 MB / 0.5057 GB, free: 114.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/1.184, allocations: 1.329 MB / 0.507 GB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/1.185, allocations: 91.42 kB / 0.5071 GB, free: 113.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.185, allocations: 4 kB / 0.5071 GB, free: 113.1 MB / 410.7 MB Notification: Performance of Templates: time 0.08343/1.268, allocations: 44.1 MB / 0.5502 GB, free: 68.96 MB / 410.7 MB