Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006873/0.006873, allocations: 174.8 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.707/1.707, allocations: 170.6 MB / 178.4 MB, free: 15.74 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001818/0.001817, allocations: 103.9 kB / 217.7 MB, free: 8.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.226/0.226, allocations: 37.97 MB / 294.8 MB, free: 9.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.288e-06, allocations: 0 / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 48.7 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.084, allocations: 2.517 GB / 2.906 GB, free: 107.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/6.084, allocations: 85.69 kB / 2.906 GB, free: 107.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.348/7.432, allocations: 441.6 MB / 3.337 GB, free: 32.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001535/7.432, allocations: 38.81 kB / 3.337 GB, free: 32.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009023/7.441, allocations: 2.278 MB / 3.339 GB, free: 31.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/7.441, allocations: 7.781 kB / 3.339 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/7.445, allocations: 446.7 kB / 3.34 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/7.449, allocations: 1.012 MB / 3.341 GB, free: 29.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/7.449, allocations: 44 kB / 3.341 GB, free: 29.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/7.449, allocations: 83 kB / 3.341 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002355/7.452, allocations: 0.9268 MB / 3.342 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/7.454, allocations: 1.214 MB / 3.343 GB, free: 27.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.263e-05/7.454, allocations: 7.844 kB / 3.343 GB, free: 27.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/7.454, allocations: 6.25 kB / 3.343 GB, free: 27.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/7.454, allocations: 46.31 kB / 3.343 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.432/7.886, allocations: 71.85 MB / 3.413 GB, free: 67.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/7.887, allocations: 319.8 kB / 3.414 GB, free: 67.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/7.888, allocations: 251.4 kB / 3.414 GB, free: 67.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04948/7.937, allocations: 17.03 MB / 3.43 GB, free: 56.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/7.937, allocations: 38.25 kB / 3.431 GB, free: 55.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 4.658e-06/7.937, allocations: 3.938 kB / 3.431 GB, free: 55.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.04596/7.983, allocations: 4.973 MB / 3.435 GB, free: 54.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/7.984, allocations: 143.2 kB / 3.436 GB, free: 54.77 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/7.985, allocations: 0.7212 MB / 3.436 GB, free: 54.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/7.985, allocations: 25.7 kB / 3.436 GB, free: 54.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/7.986, allocations: 0.6228 MB / 3.437 GB, free: 54.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/7.986, allocations: 278.2 kB / 3.437 GB, free: 54.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/7.986, allocations: 0 / 3.437 GB, free: 54.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/7.986, allocations: 354.3 kB / 3.437 GB, free: 53.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009829/7.987, allocations: 384.1 kB / 3.438 GB, free: 53.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/7.989, allocations: 0.8707 MB / 3.439 GB, free: 53.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/7.992, allocations: 0.6237 MB / 3.439 GB, free: 53.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/7.992, allocations: 3.625 kB / 3.439 GB, free: 53.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007474/7.999, allocations: 1.883 MB / 3.441 GB, free: 53.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001327/8.001, allocations: 6.343 MB / 3.447 GB, free: 46.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/8.001, allocations: 20.83 kB / 3.447 GB, free: 46.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/8.005, allocations: 0.58 MB / 3.448 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/8.006, allocations: 298.5 kB / 3.448 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/8.012, allocations: 1.92 MB / 3.45 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/8.014, allocations: 121.5 kB / 3.45 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/8.015, allocations: 81.58 kB / 3.45 GB, free: 45.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/8.015, allocations: 3.688 kB / 3.45 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006084/8.021, allocations: 1.371 MB / 3.452 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/8.021, allocations: 17.25 kB / 3.452 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/8.023, allocations: 395.5 kB / 3.452 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/8.025, allocations: 305.4 kB / 3.452 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/8.028, allocations: 1.609 MB / 3.454 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/8.03, allocations: 91.81 kB / 3.454 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/8.03, allocations: 70.22 kB / 3.454 GB, free: 44.12 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (142): * Single equations (assignments): 140 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005637/8.031, allocations: 163.6 kB / 3.454 GB, free: 44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/8.032, allocations: 317.7 kB / 3.454 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006068/8.038, allocations: 2.49 MB / 3.457 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/8.038, allocations: 29.45 kB / 3.457 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/8.038, allocations: 3.906 kB / 3.457 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/8.038, allocations: 3.375 kB / 3.457 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/8.05, allocations: 4.45 MB / 3.461 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/8.05, allocations: 0 / 3.461 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/8.05, allocations: 126.6 kB / 3.461 GB, free: 43.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/8.054, allocations: 1.068 MB / 3.462 GB, free: 43.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/8.054, allocations: 18.12 kB / 3.462 GB, free: 43.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/8.059, allocations: 2.343 MB / 3.465 GB, free: 42.1 MB / 442.7 MB Error: Too many equations, over-determined system. The model has 43 equation(s) and 39 variable(s). Warning: Equation 10 (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.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Already solved: Equations used to solve those variables: Warning: Equation 11 (size: 16) Modelica.Media.Common.IF97BaseTwoPhase(0.0, 0.0, $cse12.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.h.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.cv.$pDERStateSetJac6.dummyVarStateSetJac6, Valve.state_a.d.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse12.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.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Equations used to solve those variables: Equation 10 (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) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Machines.mo:450:7-451:58:writable] Warning: Equation 12 (size: 1) $STATESET1.J.1.$pDERStateSetJac6.dummyVarStateSetJac6 = pump.W_single.$pDERStateSetJac6.dummyVarStateSetJac6 + (-pump.dp_pump) * pump.V_flow_single.$pDERStateSetJac6.dummyVarStateSetJac6 / pump.eta - pump_medium_pSeedStateSetJac6 * pump.V_flow_single / pump.eta is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse3.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Equations used to solve those variables: Equation 10 (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) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Machines.mo:431:7-432:109:writable] Warning: Equation 13 (size: 1) $STATESET1.J.2.$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.T.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.s.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pd.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.pt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cv.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.dpT.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.vt.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.p.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.R.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.x.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.cp.$pDERStateSetJac6.dummyVarStateSetJac6, $cse3.h.$pDERStateSetJac6.dummyVarStateSetJac6, pump.rho.$pDERStateSetJac6.dummyVarStateSetJac6 Equations used to solve those variables: Equation 10 (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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1957:10-1957:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1889:9-1889:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 8,3 17} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4354:9-4354:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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]