Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 270 MB / 282.7 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.616e-05, allocations: 4 kB / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3658, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.443/6.809, allocations: 2.787 GB / 3.186 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/6.809, allocations: 79.95 kB / 3.186 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.114/8.923, allocations: 443.5 MB / 3.619 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.904e-06/8.923, allocations: 0.9375 kB / 3.619 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.304e-05/8.923, allocations: 22.08 kB / 3.619 GB, free: 66.45 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006269/8.929, allocations: 1.771 MB / 3.621 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/8.93, allocations: 14.78 kB / 3.621 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/8.933, allocations: 329.4 kB / 3.622 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/8.934, allocations: 0.5653 MB / 3.622 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/8.934, allocations: 48.86 kB / 3.622 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/8.935, allocations: 53.25 kB / 3.622 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/8.937, allocations: 0.9719 MB / 3.623 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/8.937, allocations: 1.969 kB / 3.623 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/8.937, allocations: 23.12 kB / 3.623 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.979e-05/8.937, allocations: 23.06 kB / 3.623 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/8.94, allocations: 0.7966 MB / 3.624 GB, free: 65.36 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.006245/8.946, allocations: 4.771 MB / 3.629 GB, free: 62.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/8.948, allocations: 0.6973 MB / 3.629 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/8.949, allocations: 217.4 kB / 3.629 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04825/8.997, allocations: 24.23 MB / 3.653 GB, free: 47.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/8.997, allocations: 37.78 kB / 3.653 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 4.831e-06/8.997, allocations: 7.312 kB / 3.653 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003805/9.001, allocations: 1.015 MB / 3.654 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/9.001, allocations: 110.2 kB / 3.654 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/9.002, allocations: 452.6 kB / 3.655 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/9.002, allocations: 36.7 kB / 3.655 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/9.002, allocations: 371.5 kB / 3.655 GB, free: 46.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/9.002, allocations: 151 kB / 3.655 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/9.002, allocations: 15.97 kB / 3.655 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/9.002, allocations: 334.9 kB / 3.656 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/9.003, allocations: 166.8 kB / 3.656 GB, free: 46.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/9.003, allocations: 349.2 kB / 3.656 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/9.004, allocations: 201.5 kB / 3.656 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.949e-06/9.004, allocations: 2.625 kB / 3.656 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001439/9.005, allocations: 0.6048 MB / 3.657 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004233/9.006, allocations: 2.093 MB / 3.659 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/9.006, allocations: 3.875 kB / 3.659 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/9.007, allocations: 259.8 kB / 3.659 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007983/9.008, allocations: 148.9 kB / 3.659 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/9.01, allocations: 0.7501 MB / 3.66 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/9.011, allocations: 135.8 kB / 3.66 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/9.011, allocations: 32.78 kB / 3.66 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/9.011, allocations: 3.344 kB / 3.66 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/9.013, allocations: 0.5833 MB / 3.661 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/9.013, allocations: 10.89 kB / 3.661 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009781/9.014, allocations: 152.7 kB / 3.661 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/9.014, allocations: 152.3 kB / 3.661 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006988/9.015, allocations: 0.6947 MB / 3.662 GB, free: 42.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/9.016, allocations: 104 kB / 3.662 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/9.016, allocations: 34.94 kB / 3.662 GB, free: 42.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (56): * Single equations (assignments): 55 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002465/9.016, allocations: 143.2 kB / 3.662 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/9.016, allocations: 66.34 kB / 3.662 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/9.02, allocations: 2.788 MB / 3.665 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/9.02, allocations: 35.72 kB / 3.665 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.029e-06/9.02, allocations: 0 / 3.665 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/9.02, allocations: 3.844 kB / 3.665 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/9.022, allocations: 1.392 MB / 3.666 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.33e-06/9.022, allocations: 0 / 3.666 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/9.022, allocations: 108.2 kB / 3.666 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/9.025, allocations: 1.207 MB / 3.667 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/9.025, allocations: 13.88 kB / 3.667 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/9.027, allocations: 1.481 MB / 3.669 GB, free: 41.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/9.027, allocations: 0 / 3.669 GB, free: 41.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/9.029, allocations: 1.788 MB / 3.671 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/9.03, allocations: 365.6 kB / 3.671 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/9.03, allocations: 12.97 kB / 3.671 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/9.031, allocations: 82.31 kB / 3.671 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/9.031, allocations: 50.58 kB / 3.671 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/9.031, allocations: 27.98 kB / 3.671 GB, free: 41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008419/9.032, allocations: 0.5441 MB / 3.672 GB, free: 40.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.05e-07/9.032, allocations: 0 / 3.672 GB, free: 40.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005651/9.038, allocations: 1.44 MB / 3.673 GB, free: 40.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008635/9.046, allocations: 1.727 MB / 3.675 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002478/9.049, allocations: 1.017 MB / 3.676 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.854e-06/9.049, allocations: 0 / 3.676 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/9.05, allocations: 0.6223 MB / 3.676 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/9.052, allocations: 336.8 kB / 3.677 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/9.055, allocations: 1.669 MB / 3.678 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/9.056, allocations: 1.148 MB / 3.68 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/9.056, allocations: 61.33 kB / 3.68 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of SimCode: time 2.934e-06/9.056, allocations: 0 / 3.68 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.05956/9.116, allocations: 37.98 MB / 3.717 GB, free: 36.21 MB / 0.5261 GB