Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.272e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.808/7.137, allocations: 2.757 GB / 3.156 GB, free: 128 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/7.137, allocations: 83.66 kB / 3.156 GB, free: 128 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.024/8.161, allocations: 217.7 MB / 3.369 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.178e-06/8.161, allocations: 0 / 3.369 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.458e-05/8.161, allocations: 4.719 kB / 3.369 GB, free: 97.29 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006919/8.168, allocations: 1.755 MB / 3.371 GB, free: 96.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/8.168, allocations: 15.34 kB / 3.371 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/8.17, allocations: 224.5 kB / 3.371 GB, free: 96.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/8.171, allocations: 282.9 kB / 3.371 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/8.171, allocations: 22.06 kB / 3.371 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/8.171, allocations: 32.81 kB / 3.371 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/8.173, allocations: 0.8496 MB / 3.372 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/8.173, allocations: 9.812 kB / 3.372 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/8.174, allocations: 11.22 kB / 3.372 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/8.174, allocations: 7.406 kB / 3.372 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/8.177, allocations: 0.9403 MB / 3.373 GB, free: 96.03 MB / 0.5261 GB 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.003851/8.181, allocations: 2.782 MB / 3.376 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/8.182, allocations: 412.3 kB / 3.376 GB, free: 94.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/8.182, allocations: 73.33 kB / 3.376 GB, free: 94.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.969/9.151, allocations: 224.8 MB / 3.596 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001599/9.153, allocations: 0.5035 MB / 3.596 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 3.79e-06/9.153, allocations: 0 / 3.596 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003589/9.157, allocations: 0.7781 MB / 3.597 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/9.157, allocations: 375.4 kB / 3.597 GB, free: 81.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/9.157, allocations: 163.3 kB / 3.598 GB, free: 81.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/9.157, allocations: 38.67 kB / 3.598 GB, free: 81.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/9.157, allocations: 256.9 kB / 3.598 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/9.157, allocations: 121 kB / 3.598 GB, free: 80.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/9.157, allocations: 11.06 kB / 3.598 GB, free: 80.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/9.157, allocations: 334.1 kB / 3.598 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/9.157, allocations: 69.69 kB / 3.598 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/9.158, allocations: 328.4 kB / 3.599 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/9.158, allocations: 122.4 kB / 3.599 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-06/9.158, allocations: 3.875 kB / 3.599 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000957/9.159, allocations: 413.9 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/9.159, allocations: 10.78 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/9.159, allocations: 11.53 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/9.159, allocations: 17.75 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/9.16, allocations: 133.4 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/9.16, allocations: 23.05 kB / 3.599 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/9.16, allocations: 49.08 kB / 3.599 GB, free: 80.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/9.16, allocations: 40.86 kB / 3.599 GB, free: 80.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/9.16, allocations: 149.3 kB / 3.6 GB, free: 79.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/9.16, allocations: 27.22 kB / 3.6 GB, free: 79.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/9.163, allocations: 1.76 MB / 3.601 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/9.163, allocations: 20.78 kB / 3.601 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.284e-06/9.163, allocations: 6.719 kB / 3.601 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/9.163, allocations: 10.78 kB / 3.601 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/9.164, allocations: 0.9027 MB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.251e-06/9.164, allocations: 2.875 kB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/9.164, allocations: 78.66 kB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.723e-06/9.164, allocations: 3.531 kB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/9.164, allocations: 22.48 kB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.462e-06/9.164, allocations: 7.75 kB / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.402e-06/9.164, allocations: 0 / 3.602 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/9.165, allocations: 0.8182 MB / 3.603 GB, free: 78.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/9.166, allocations: 340.4 kB / 3.604 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/9.166, allocations: 16 kB / 3.604 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/9.166, allocations: 21.23 kB / 3.604 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/9.166, allocations: 46.39 kB / 3.604 GB, free: 78.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/9.166, allocations: 22.48 kB / 3.604 GB, free: 78.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005489/9.167, allocations: 426.8 kB / 3.604 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.8e-07/9.167, allocations: 0 / 3.604 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005662/9.173, allocations: 1.52 MB / 3.605 GB, free: 78.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009754/9.182, allocations: 1.9 MB / 3.607 GB, free: 78.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007841/9.183, allocations: 367.5 kB / 3.608 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.314e-06/9.183, allocations: 5.781 kB / 3.608 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003677/9.184, allocations: 278.7 kB / 3.608 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/9.185, allocations: 115.2 kB / 3.608 GB, free: 78.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.776/11.96, allocations: 0.7562 GB / 4.364 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/11.96, allocations: 0.9698 MB / 4.365 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/11.96, allocations: 79.17 kB / 4.365 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.333e-06/11.96, allocations: 0 / 4.365 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.05639/12.02, allocations: 34.39 MB / 4.399 GB, free: 100.1 MB / 0.5417 GB