Notification: Performance of loadModel(ModelicaTest): time 1.811/1.811, allocations: 234.4 MB / 240 MB, free: 7.742 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 8.883e-06/9.075e-06, allocations: 1.125 kB / 296.6 MB, free: 8.652 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08589, allocations: 54.72 MB / 351.3 MB, free: 10.88 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.884/4.97, allocations: 2.628 GB / 2.971 GB, free: 111.3 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/4.97, allocations: 84.17 kB / 2.971 GB, free: 111.3 MB / 488.6 MB Notification: Performance of FrontEnd: time 1.687/6.657, allocations: 453 MB / 3.413 GB, free: 55.22 MB / 488.6 MB Notification: Performance of Transformations before backend: time 0.0001246/6.657, allocations: 38.47 kB / 3.413 GB, free: 55.21 MB / 488.6 MB Notification: Performance of Generate backend data structure: time 0.008159/6.665, allocations: 2.346 MB / 3.416 GB, free: 53.88 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/6.665, allocations: 8.375 kB / 3.416 GB, free: 53.88 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005079/6.67, allocations: 472.7 kB / 3.416 GB, free: 53.77 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/6.673, allocations: 1.007 MB / 3.417 GB, free: 53.17 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/6.673, allocations: 49.5 kB / 3.417 GB, free: 53.16 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/6.674, allocations: 86.02 kB / 3.417 GB, free: 53.16 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002505/6.676, allocations: 0.9531 MB / 3.418 GB, free: 52.79 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/6.679, allocations: 1.221 MB / 3.419 GB, free: 52.17 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.699e-05/6.679, allocations: 15.38 kB / 3.419 GB, free: 52.16 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/6.679, allocations: 3.719 kB / 3.419 GB, free: 52.16 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/6.679, allocations: 50.95 kB / 3.419 GB, free: 52.15 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2105/6.89, allocations: 71.89 MB / 3.49 GB, free: 9.836 MB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/6.891, allocations: 339.2 kB / 3.49 GB, free: 9.5 MB / 0.4928 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/6.891, allocations: 258.8 kB / 3.49 GB, free: 9.246 MB / 0.4928 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2098/7.101, allocations: 17.02 MB / 3.507 GB, free: 101 MB / 0.4928 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/7.101, allocations: 50.66 kB / 3.507 GB, free: 101 MB / 0.4928 GB Notification: Performance of pre-optimization done (n=63): time 5.358e-06/7.101, allocations: 0 / 3.507 GB, free: 101 MB / 0.4928 GB Notification: Performance of matching and sorting (n=83): time 0.03765/7.139, allocations: 5.048 MB / 3.512 GB, free: 100 MB / 0.4928 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/7.139, allocations: 139.8 kB / 3.512 GB, free: 99.89 MB / 0.4928 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/7.141, allocations: 0.718 MB / 3.513 GB, free: 99.74 MB / 0.4928 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/7.141, allocations: 25.7 kB / 3.513 GB, free: 99.71 MB / 0.4928 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/7.141, allocations: 0.6285 MB / 3.513 GB, free: 99.33 MB / 0.4928 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/7.141, allocations: 290 kB / 3.514 GB, free: 99.19 MB / 0.4928 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/7.141, allocations: 0 / 3.514 GB, free: 99.19 MB / 0.4928 GB Notification: Performance of setup shared object (initialization): time 0.0001022/7.142, allocations: 361.4 kB / 3.514 GB, free: 98.88 MB / 0.4928 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/7.143, allocations: 399 kB / 3.514 GB, free: 98.87 MB / 0.4928 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/7.144, allocations: 0.8816 MB / 3.515 GB, free: 98.27 MB / 0.4928 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/7.147, allocations: 0.6409 MB / 3.516 GB, free: 98.26 MB / 0.4928 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/7.147, allocations: 6.5 kB / 3.516 GB, free: 98.26 MB / 0.4928 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00754/7.154, allocations: 1.842 MB / 3.518 GB, free: 98.17 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/7.156, allocations: 6.261 MB / 3.524 GB, free: 91.65 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/7.156, allocations: 16.31 kB / 3.524 GB, free: 91.65 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/7.158, allocations: 447.4 kB / 3.524 GB, free: 91.64 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/7.16, allocations: 307 kB / 3.524 GB, free: 91.64 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/7.164, allocations: 1.745 MB / 3.526 GB, free: 90.59 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/7.166, allocations: 121.3 kB / 3.526 GB, free: 90.59 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/7.166, allocations: 83.11 kB / 3.526 GB, free: 90.59 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/7.166, allocations: 4.906 kB / 3.526 GB, free: 90.59 MB / 0.4928 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005157/7.172, allocations: 1.333 MB / 3.528 GB, free: 90.55 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/7.172, allocations: 16.12 kB / 3.528 GB, free: 90.55 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/7.173, allocations: 296.8 kB / 3.528 GB, free: 90.54 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/7.175, allocations: 309.2 kB / 3.528 GB, free: 90.54 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/7.177, allocations: 1.455 MB / 3.53 GB, free: 89.5 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/7.179, allocations: 112.6 kB / 3.53 GB, free: 89.49 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/7.179, allocations: 75.98 kB / 3.53 GB, free: 89.49 MB / 0.4928 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001402/7.179, allocations: 7.594 kB / 3.53 GB, free: 89.49 MB / 0.4928 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/7.181, allocations: 322 kB / 3.53 GB, free: 89.43 MB / 0.4928 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/7.187, allocations: 2.574 MB / 3.533 GB, free: 89.27 MB / 0.4928 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004232/7.191, allocations: 2.025 MB / 3.535 GB, free: 89.16 MB / 0.4928 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/7.191, allocations: 0 / 3.535 GB, free: 89.16 MB / 0.4928 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/7.191, allocations: 7.125 kB / 3.535 GB, free: 89.16 MB / 0.4928 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009701/7.201, allocations: 4.467 MB / 3.539 GB, free: 88.7 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/7.201, allocations: 9.281 kB / 3.539 GB, free: 88.7 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009231/7.202, allocations: 141.4 kB / 3.539 GB, free: 88.7 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/7.205, allocations: 0.9797 MB / 3.54 GB, free: 88.64 MB / 0.4928 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/7.205, allocations: 19.84 kB / 3.54 GB, free: 88.64 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/7.209, allocations: 2.301 MB / 3.542 GB, free: 87.57 MB / 0.4928 GB Error: Too many equations, over-determined system. The model has 40 equation(s) and 36 variable(s). Warning: Equation 8 (size: 16) Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.medium.p, pump.medium.h, pump.heatTransfer.states[1].phase, 0, pump_medium_pSeedStateSetJac6, pump_medium_hSeedStateSetJac6) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Already solved: Equations used to solve those variables: Warning: Equation 9 (size: 16) Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse13.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.cv.$pDERStateSetJac6.dummyVarStateSetJac6, Valve.state_a.d.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse13.dpT.$pDERStateSetJac6.dummyVarStateSetJac6) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.medium.p, pump.medium.h, 0, 0, pump_medium_pSeedStateSetJac6, pump_medium_hSeedStateSetJac6) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Equations used to solve those variables: Equation 8 (size: 16): Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.medium.p, pump.medium.h, pump.heatTransfer.states[1].phase, 0, pump_medium_pSeedStateSetJac6, pump_medium_hSeedStateSetJac6) [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Machines.mo:431:7-432:109:writable] Warning: Equation 10 (size: 1) $STATESET1.J.$pDERStateSetJac6.dummyVarStateSetJac6 = pump.head.$pDERStateSetJac6.dummyVarStateSetJac6 + -2.0 * pump.N * pump.N.$pDERStateSetJac6.dummyVarStateSetJac6 * $cse5 / pump.N_nominal / pump.N_nominal - (pump.N / pump.N_nominal) ^ 2.0 * $cse5.$pDERStateSetJac6.dummyVarStateSetJac6 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Equations used to solve those variables: Equation 8 (size: 16): Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6) = $DER$$PModelica$PMedia$PWater$PIF97_Utilities$PwaterBaseProp_ph(pump.medium.p, pump.medium.h, pump.heatTransfer.states[1].phase, 0, pump_medium_pSeedStateSetJac6, pump_medium_hSeedStateSetJac6) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1957:10-1957:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1889:9-1889:79:writable] Error: Internal error function createJacobian failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4354:9-4354:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]