Notification: Performance of loadModel(ModelicaTest): time 1.887/1.887, allocations: 235 MB / 240.9 MB, free: 7.434 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2473/2.135, allocations: 57.2 MB / 298.1 MB, free: 8.344 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/2.221, allocations: 54.86 MB / 352.9 MB, free: 9.301 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/7.245, allocations: 2.628 GB / 2.972 GB, free: 118.2 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/7.246, allocations: 89.23 kB / 2.973 GB, free: 118.2 MB / 488.6 MB Notification: Performance of Generate backend data structure: time 1.78/9.026, allocations: 455.4 MB / 3.417 GB, free: 49.17 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/9.026, allocations: 9.031 kB / 3.417 GB, free: 49.17 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/9.031, allocations: 467 kB / 3.418 GB, free: 49.06 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/9.034, allocations: 1.009 MB / 3.419 GB, free: 48.46 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/9.035, allocations: 53.06 kB / 3.419 GB, free: 48.45 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/9.035, allocations: 79.53 kB / 3.419 GB, free: 48.45 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003002/9.038, allocations: 0.9486 MB / 3.42 GB, free: 48.09 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/9.041, allocations: 1.232 MB / 3.421 GB, free: 47.46 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-05/9.041, allocations: 11.19 kB / 3.421 GB, free: 47.45 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/9.042, allocations: 3.375 kB / 3.421 GB, free: 47.45 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/9.042, allocations: 45.73 kB / 3.421 GB, free: 47.45 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3985/9.44, allocations: 71.89 MB / 3.491 GB, free: 96.79 MB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/9.441, allocations: 333.7 kB / 3.492 GB, free: 96.77 MB / 0.4928 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/9.441, allocations: 265.5 kB / 3.492 GB, free: 96.76 MB / 0.4928 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04281/9.484, allocations: 17.03 MB / 3.508 GB, free: 86.15 MB / 0.4928 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/9.484, allocations: 38.22 kB / 3.508 GB, free: 86.11 MB / 0.4928 GB Notification: Performance of pre-optimization done (n=63): time 5.155e-06/9.484, allocations: 0 / 3.508 GB, free: 86.11 MB / 0.4928 GB Notification: Performance of matching and sorting (n=83): time 0.03801/9.522, allocations: 5.037 MB / 3.513 GB, free: 85.11 MB / 0.4928 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/9.522, allocations: 139.8 kB / 3.514 GB, free: 84.96 MB / 0.4928 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/9.524, allocations: 0.7221 MB / 3.514 GB, free: 84.8 MB / 0.4928 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/9.524, allocations: 25.7 kB / 3.514 GB, free: 84.77 MB / 0.4928 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/9.524, allocations: 0.6186 MB / 3.515 GB, free: 84.46 MB / 0.4928 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/9.525, allocations: 290.2 kB / 3.515 GB, free: 84.32 MB / 0.4928 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/9.525, allocations: 0 / 3.515 GB, free: 84.32 MB / 0.4928 GB Notification: Performance of setup shared object (initialization): time 0.000108/9.525, allocations: 360.5 kB / 3.515 GB, free: 84.01 MB / 0.4928 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/9.526, allocations: 403.8 kB / 3.516 GB, free: 84.01 MB / 0.4928 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/9.527, allocations: 0.8811 MB / 3.517 GB, free: 83.41 MB / 0.4928 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/9.53, allocations: 0.6467 MB / 3.517 GB, free: 83.4 MB / 0.4928 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/9.53, allocations: 5.219 kB / 3.517 GB, free: 83.4 MB / 0.4928 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007496/9.538, allocations: 1.896 MB / 3.519 GB, free: 83.28 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.001281/9.539, allocations: 6.257 MB / 3.525 GB, free: 76.76 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/9.539, allocations: 17.53 kB / 3.525 GB, free: 76.76 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/9.542, allocations: 472.5 kB / 3.526 GB, free: 76.75 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/9.543, allocations: 308.5 kB / 3.526 GB, free: 76.75 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/9.548, allocations: 1.774 MB / 3.528 GB, free: 75.7 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/9.55, allocations: 126.3 kB / 3.528 GB, free: 75.7 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/9.55, allocations: 83.89 kB / 3.528 GB, free: 75.7 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/9.55, allocations: 11.5 kB / 3.528 GB, free: 75.7 MB / 0.4928 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00518/9.556, allocations: 1.333 MB / 3.529 GB, free: 75.66 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/9.556, allocations: 18.41 kB / 3.529 GB, free: 75.66 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/9.558, allocations: 312.6 kB / 3.53 GB, free: 75.64 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/9.559, allocations: 317.8 kB / 3.53 GB, free: 75.64 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/9.562, allocations: 1.478 MB / 3.531 GB, free: 74.59 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/9.564, allocations: 106 kB / 3.531 GB, free: 74.59 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/9.564, allocations: 75.23 kB / 3.532 GB, free: 74.59 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.0001472/9.564, allocations: 81.09 kB / 3.532 GB, free: 74.52 MB / 0.4928 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/9.565, allocations: 329.5 kB / 3.532 GB, free: 74.46 MB / 0.4928 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/9.571, allocations: 2.564 MB / 3.534 GB, free: 74.29 MB / 0.4928 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0042/9.575, allocations: 2.024 MB / 3.536 GB, free: 74.18 MB / 0.4928 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/9.575, allocations: 3.875 kB / 3.536 GB, free: 74.18 MB / 0.4928 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/9.575, allocations: 6.562 kB / 3.536 GB, free: 74.18 MB / 0.4928 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009775/9.585, allocations: 4.478 MB / 3.541 GB, free: 73.7 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/9.585, allocations: 1.969 kB / 3.541 GB, free: 73.7 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/9.586, allocations: 134.1 kB / 3.541 GB, free: 73.7 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/9.589, allocations: 0.9813 MB / 3.542 GB, free: 73.64 MB / 0.4928 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/9.589, allocations: 18.92 kB / 3.542 GB, free: 73.64 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/9.593, allocations: 2.3 MB / 3.544 GB, free: 72.58 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] Error: Internal error SimCode: The model ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer could not be translated to FMU