Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.365e-05, allocations: 7.938 kB / 347 MB, free: 3.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.548/6.871, allocations: 2.788 GB / 3.188 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.871, allocations: 87.94 kB / 3.188 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.588/10.46, allocations: 0.7706 GB / 3.958 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.111e-06/10.46, allocations: 3.938 kB / 3.958 GB, free: 48.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001416/10.46, allocations: 40.92 kB / 3.959 GB, free: 48.09 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01334/10.47, allocations: 2.708 MB / 3.961 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/10.47, allocations: 10.84 kB / 3.961 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006691/10.48, allocations: 0.6517 MB / 3.962 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/10.48, allocations: 0.9733 MB / 3.963 GB, free: 45.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/10.48, allocations: 96.34 kB / 3.963 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/10.48, allocations: 106.8 kB / 3.963 GB, free: 45.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006283/10.49, allocations: 1.915 MB / 3.965 GB, free: 44.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/10.49, allocations: 18.61 kB / 3.965 GB, free: 44.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/10.49, allocations: 55.2 kB / 3.965 GB, free: 44.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/10.49, allocations: 48.38 kB / 3.965 GB, free: 44.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/10.5, allocations: 1.601 MB / 3.967 GB, free: 44.4 MB / 0.5417 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.01256/10.51, allocations: 9.478 MB / 3.976 GB, free: 36.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/10.51, allocations: 1.411 MB / 3.977 GB, free: 35.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/10.51, allocations: 465 kB / 3.978 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04864/10.56, allocations: 24.33 MB / 4.001 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/10.56, allocations: 59.28 kB / 4.001 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 4.489e-06/10.56, allocations: 0 / 4.001 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.007924/10.57, allocations: 2.03 MB / 4.003 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/10.57, allocations: 167 kB / 4.004 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/10.57, allocations: 0.762 MB / 4.004 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/10.57, allocations: 45.7 kB / 4.004 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/10.57, allocations: 0.5844 MB / 4.005 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/10.57, allocations: 319.2 kB / 4.005 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/10.57, allocations: 23.94 kB / 4.005 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/10.57, allocations: 362.7 kB / 4.006 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/10.57, allocations: 338.6 kB / 4.006 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/10.57, allocations: 0.6693 MB / 4.007 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/10.58, allocations: 413.9 kB / 4.007 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/10.58, allocations: 0 / 4.007 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002795/10.58, allocations: 1.189 MB / 4.008 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001538/10.58, allocations: 3.75 MB / 4.012 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/10.58, allocations: 8 kB / 4.012 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/10.58, allocations: 461.2 kB / 4.012 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/10.58, allocations: 295.5 kB / 4.012 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/10.59, allocations: 1.462 MB / 4.014 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/10.59, allocations: 246.8 kB / 4.014 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/10.59, allocations: 63.97 kB / 4.014 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/10.59, allocations: 4 kB / 4.014 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/10.59, allocations: 0.9833 MB / 4.015 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/10.59, allocations: 19.86 kB / 4.015 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/10.59, allocations: 16 kB / 4.015 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/10.6, allocations: 447.4 kB / 4.016 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.649e-05/10.6, allocations: 27.91 kB / 4.016 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/10.6, allocations: 215 kB / 4.016 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/10.6, allocations: 63.97 kB / 4.016 GB, free: 9.441 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004493/10.6, allocations: 178.7 kB / 4.016 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/10.6, allocations: 130.5 kB / 4.016 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009487/10.61, allocations: 5.719 MB / 4.022 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/10.61, allocations: 83.88 kB / 4.022 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.653e-06/10.61, allocations: 0 / 4.022 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/10.61, allocations: 7.969 kB / 4.022 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.379/10.99, allocations: 7.828 MB / 4.03 GB, free: 67.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/10.99, allocations: 0 / 4.03 GB, free: 67.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/10.99, allocations: 225.5 kB / 4.03 GB, free: 67.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004841/10.99, allocations: 1.899 MB / 4.032 GB, free: 67.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/10.99, allocations: 33.94 kB / 4.032 GB, free: 67.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/11, allocations: 2.65 MB / 4.034 GB, free: 66.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-06/11, allocations: 1.375 kB / 4.034 GB, free: 66.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/11, allocations: 3.533 MB / 4.038 GB, free: 65.71 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/11, allocations: 0.5567 MB / 4.038 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/11, allocations: 21.56 kB / 4.038 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/11.01, allocations: 177.7 kB / 4.038 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/11.01, allocations: 107.3 kB / 4.039 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/11.01, allocations: 42.88 kB / 4.039 GB, free: 65.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001389/11.01, allocations: 0.7889 MB / 4.039 GB, free: 65.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.89e-07/11.01, allocations: 0.7812 kB / 4.039 GB, free: 65.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007649/11.02, allocations: 1.873 MB / 4.041 GB, free: 65.32 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.009707/11.02, allocations: 2.154 MB / 4.043 GB, free: 65.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00496/11.03, allocations: 2.168 MB / 4.045 GB, free: 65.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.804e-06/11.03, allocations: 3.781 kB / 4.045 GB, free: 65.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/11.03, allocations: 1.414 MB / 4.047 GB, free: 65.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/11.04, allocations: 0.6077 MB / 4.047 GB, free: 65.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/11.04, allocations: 3.479 MB / 4.051 GB, free: 64.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/11.04, allocations: 1.632 MB / 4.052 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/11.05, allocations: 117.3 kB / 4.052 GB, free: 63.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.901e-06/11.05, allocations: 3.969 kB / 4.052 GB, free: 63.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.09393/11.14, allocations: 63.58 MB / 4.115 GB, free: 60.58 MB / 0.5573 GB