Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7536/0.7536, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 404.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 107.6 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009845, allocations: 63.91 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1216, allocations: 80.42 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.9839/1.106, allocations: 353 MB / 0.9869 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.08807/1.194, allocations: 72.99 MB / 1.058 GB, free: 45.08 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01457/1.208, allocations: 392.8 kB / 1.059 GB, free: 45.08 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01481/1.223, allocations: 4.429 MB / 1.063 GB, free: 43.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03432/1.257, allocations: 12.52 MB / 1.075 GB, free: 36.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02226/1.28, allocations: 8.891 MB / 1.084 GB, free: 31.31 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0446/1.324, allocations: 48.46 MB / 1.131 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02866/1.353, allocations: 17.54 MB / 1.148 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03291/1.386, allocations: 14.66 MB / 1.163 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02772/1.414, allocations: 15.71 MB / 1.178 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007279/1.421, allocations: 1.207 MB / 1.179 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/1.44, allocations: 4.873 MB / 1.184 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.009853/1.449, allocations: 5.092 MB / 1.189 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02432/1.474, allocations: 9.51 MB / 1.198 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0404/1.514, allocations: 27.89 MB / 1.225 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.514, allocations: 0 / 1.225 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.483e-06/1.514, allocations: 0 / 1.225 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009355/1.515, allocations: 4 kB / 1.225 GB, free: 6.906 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06163/1.577, allocations: 22.11 MB / 1.247 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.577, allocations: 12.03 kB / 1.247 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.588, allocations: 2.227 MB / 1.249 GB, free: 14.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9126/2.501, allocations: 15.55 MB / 1.264 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/2.502, allocations: 0.6773 MB / 1.265 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004995/2.507, allocations: 0.9236 MB / 1.266 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04177/2.549, allocations: 16.42 MB / 1.282 GB, free: 129.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004513/2.549, allocations: 17.47 kB / 1.282 GB, free: 129.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004005/2.553, allocations: 323.1 kB / 1.282 GB, free: 129.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004825/2.554, allocations: 369.8 kB / 1.283 GB, free: 129.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04338/2.597, allocations: 20.88 MB / 1.303 GB, free: 129 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.136/2.733, allocations: 80.84 MB / 1.382 GB, free: 80.08 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/2.75, allocations: 12.42 MB / 1.394 GB, free: 67.89 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01284/2.763, allocations: 9.738 MB / 1.404 GB, free: 58.15 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.06937/2.833, allocations: 34.17 MB / 1.437 GB, free: 23.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01621/2.849, allocations: 9.615 MB / 1.446 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02999/2.879, allocations: 8.555 MB / 1.455 GB, free: 6.168 MB / 0.823 GB Notification: Performance of pre-optimization done (n=555): time 8.312e-05/2.879, allocations: 0 / 1.455 GB, free: 6.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=826): time 1.494/4.373, allocations: 214.5 MB / 1.664 GB, free: 451.6 MB / 0.9638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1323/4.506, allocations: 55.23 MB / 1.718 GB, free: 412.5 MB / 0.9638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0201/4.526, allocations: 14.82 MB / 1.733 GB, free: 397.9 MB / 0.9638 GB Notification: Performance of collectPreVariables (initialization): time 0.003318/4.529, allocations: 217.7 kB / 1.733 GB, free: 397.7 MB / 0.9638 GB Notification: Performance of collectInitialEqns (initialization): time 0.005531/4.535, allocations: 7.198 MB / 1.74 GB, free: 391.8 MB / 0.9638 GB Notification: Performance of collectInitialBindings (initialization): time 0.007051/4.542, allocations: 2.943 MB / 1.743 GB, free: 389.4 MB / 0.9638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01002/4.552, allocations: 3.54 MB / 1.746 GB, free: 385.9 MB / 0.9638 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/4.552, allocations: 305.1 kB / 1.746 GB, free: 385.6 MB / 0.9638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02464/4.576, allocations: 18.88 MB / 1.765 GB, free: 366.7 MB / 0.9638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02637/4.603, allocations: 21.46 MB / 1.786 GB, free: 344.2 MB / 0.9638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04955/4.652, allocations: 36.05 MB / 1.821 GB, free: 307.3 MB / 0.9638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/4.653, allocations: 16 kB / 1.821 GB, free: 307.3 MB / 0.9638 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.5709/5.223, allocations: 131.3 MB / 1.949 GB, free: 175.9 MB / 0.9638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/5.224, allocations: 62.48 kB / 1.949 GB, free: 175.8 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/5.224, allocations: 52 kB / 1.949 GB, free: 175.8 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5715/5.795, allocations: 117.9 MB / 2.065 GB, free: 57.89 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/5.812, allocations: 3.272 MB / 2.068 GB, free: 54.61 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4791/6.291, allocations: 77.53 MB / 2.143 GB, free: 434.8 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09611/6.387, allocations: 6.724 MB / 2.15 GB, free: 434.6 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004947/6.392, allocations: 1.286 MB / 2.151 GB, free: 434.5 MB / 0.9638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03218/6.424, allocations: 21.9 MB / 2.173 GB, free: 427.8 MB / 0.9638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03009/6.454, allocations: 21.02 MB / 2.193 GB, free: 419.5 MB / 0.9638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04881/6.503, allocations: 35.17 MB / 2.227 GB, free: 394.6 MB / 0.9638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.598e-05/6.503, allocations: 16 kB / 2.228 GB, free: 394.6 MB / 0.9638 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5707/7.074, allocations: 129.9 MB / 2.354 GB, free: 265.7 MB / 0.9638 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/7.074, allocations: 54.67 kB / 2.354 GB, free: 265.7 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.273e-05/7.074, allocations: 55.94 kB / 2.354 GB, free: 265.6 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5835/7.658, allocations: 117.6 MB / 2.469 GB, free: 148.4 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0157/7.674, allocations: 3.252 MB / 2.472 GB, free: 145.1 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/7.82, allocations: 81.48 MB / 2.552 GB, free: 63.55 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09654/7.916, allocations: 6.749 MB / 2.559 GB, free: 56.83 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006225/7.922, allocations: 1.251 MB / 2.56 GB, free: 55.58 MB / 0.9638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008467/7.931, allocations: 0.7176 MB / 2.561 GB, free: 54.85 MB / 0.9638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007895/7.939, allocations: 1.462 MB / 2.562 GB, free: 54.03 MB / 0.9638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5741/8.513, allocations: 60.07 MB / 2.621 GB, free: 444.5 MB / 0.9638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2219/8.735, allocations: 66.42 MB / 2.686 GB, free: 424.7 MB / 0.9638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002017/8.735, allocations: 30.75 kB / 2.686 GB, free: 424.7 MB / 0.9638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2057/8.941, allocations: 65.77 MB / 2.75 GB, free: 360.1 MB / 0.9638 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.2791/9.22, allocations: 128.9 MB / 2.876 GB, free: 231.3 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.785e-05/9.22, allocations: 0 / 2.876 GB, free: 231.3 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01057/9.231, allocations: 1.883 MB / 2.878 GB, free: 229.4 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3184/9.549, allocations: 81.4 MB / 2.957 GB, free: 148.2 MB / 0.9638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003641/9.553, allocations: 0.569 MB / 2.958 GB, free: 147.6 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09539/9.648, allocations: 55.72 MB / 3.012 GB, free: 91.8 MB / 0.9638 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; 1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1096/9.758, allocations: 53.17 MB / 3.064 GB, free: 37.58 MB / 0.9638 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.