Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.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/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/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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001786, allocations: 183.2 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/package.mo): time 0.7749/0.7749, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.369/1.369, allocations: 222.9 MB / 403.3 MB, free: 7.066 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.001014/0.001014, allocations: 109.9 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009724, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1297, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 0.9853/1.115, allocations: 353 MB / 0.9849 GB, free: 48.43 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.08686/1.202, allocations: 73 MB / 1.056 GB, free: 45.25 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01772/1.22, allocations: 400 kB / 1.057 GB, free: 45.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01645/1.236, allocations: 4.417 MB / 1.061 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03603/1.272, allocations: 12.53 MB / 1.073 GB, free: 37.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02665/1.299, allocations: 8.879 MB / 1.082 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.06915/1.368, allocations: 48.77 MB / 1.129 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03221/1.4, allocations: 17.57 MB / 1.147 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.031/1.431, allocations: 14.75 MB / 1.161 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02694/1.458, allocations: 15.8 MB / 1.176 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.008688/1.467, allocations: 1.219 MB / 1.178 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02566/1.493, allocations: 4.886 MB / 1.182 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01056/1.503, allocations: 5.135 MB / 1.187 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.02198/1.525, allocations: 9.556 MB / 1.197 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.04301/1.569, allocations: 28.09 MB / 1.224 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.569, allocations: 0 / 1.224 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.803e-06/1.569, allocations: 0 / 1.224 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009053/1.57, allocations: 0 / 1.224 GB, free: 7.316 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.06233/1.632, allocations: 22.18 MB / 1.246 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.632, allocations: 8.031 kB / 1.246 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/1.643, allocations: 2.239 MB / 1.248 GB, free: 14.94 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5519/2.195, allocations: 15.61 MB / 1.263 GB, free: 361.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008388/2.196, allocations: 0.6895 MB / 1.264 GB, free: 361.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004648/2.201, allocations: 0.9362 MB / 1.265 GB, free: 361.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/2.245, allocations: 16.59 MB / 1.281 GB, free: 355.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003574/2.246, allocations: 12.31 kB / 1.281 GB, free: 355.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004315/2.25, allocations: 328.1 kB / 1.281 GB, free: 355.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004057/2.25, allocations: 365.1 kB / 1.282 GB, free: 355.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03887/2.289, allocations: 21.01 MB / 1.302 GB, free: 347.9 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.1328/2.422, allocations: 79.66 MB / 1.38 GB, free: 274.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/2.442, allocations: 13 MB / 1.393 GB, free: 261.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01365/2.456, allocations: 10.01 MB / 1.402 GB, free: 251.9 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.06988/2.526, allocations: 35.01 MB / 1.437 GB, free: 217.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01632/2.542, allocations: 9.939 MB / 1.446 GB, free: 207.1 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02624/2.569, allocations: 8.564 MB / 1.455 GB, free: 199.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=600): time 3.163e-05/2.569, allocations: 0 / 1.455 GB, free: 199.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=916): time 1.535/4.104, allocations: 249.2 MB / 1.698 GB, free: 313.8 MB / 0.8231 GB Warning: The linear system: 1 : valNorth2[7].dp = valNorth2[2].port_a.p - valNorth2[7].port_b.p 2 : valNorth2[5].dp = valNorth2[2].port_a.p - valNorth2[5].port_b.p 3 : tabsNorth2[5].dp = valNorth2[5].port_b.p - tabsSouth1[1].port_b.p 4 : tabsNorth2[7].dp = valNorth2[7].port_b.p - tabsSouth1[1].port_b.p [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2[7].port_b.p ; tabsSouth1[1].port_b.p ; valNorth2[5].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[7].dp ; -valNorth2[5].dp ; -tabsNorth2[5].dp ; -tabsNorth2[7].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(4,4) = 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 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2[7].dp = valNorth2[2].port_a.p - valNorth2[7].port_b.p 2 : tabsNorth2[7].dp = valNorth2[7].port_b.p - tabsSouth1[1].port_b.p 3 : tabsNorth2[5].dp = valNorth2[5].port_b.p - tabsSouth1[1].port_b.p 4 : valNorth2[5].dp = valNorth2[2].port_a.p - valNorth2[5].port_b.p [ -1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2[2].port_a.p ; valNorth2[5].port_b.p ; tabsSouth1[1].port_b.p ; valNorth2[7].port_b.p ] = [ -valNorth2[7].dp ; -tabsNorth2[7].dp ; -tabsNorth2[5].dp ; -valNorth2[5].dp ] might be structurally or numerically singular for variable valNorth2[7].port_b.p since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : 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 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 2 : tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 3 : tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 4 : valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 [ -1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ -valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 2 : valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 3 : tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 4 : tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 = valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , -1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth2.7.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.5.port_b.p.$pDERStateSetJac0.dummyVarStateSetJac0 ; valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ -valNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -valNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.5.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ; -tabsNorth2.7.dp.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable valNorth2.2.port_a.p.$pDERStateSetJac0.dummyVarStateSetJac0 since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.134/4.238, allocations: 58.35 MB / 1.755 GB, free: 276.3 MB / 0.8231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02827/4.266, allocations: 14.75 MB / 1.769 GB, free: 264 MB / 0.8231 GB Notification: Performance of collectPreVariables (initialization): time 0.004928/4.271, allocations: 237.7 kB / 1.77 GB, free: 263.8 MB / 0.8231 GB Notification: Performance of collectInitialEqns (initialization): time 0.007654/4.279, allocations: 7.137 MB / 1.777 GB, free: 257.9 MB / 0.8231 GB Notification: Performance of collectInitialBindings (initialization): time 0.01183/4.291, allocations: 3.293 MB / 1.78 GB, free: 255.1 MB / 0.8231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01559/4.306, allocations: 4.146 MB / 1.784 GB, free: 251 MB / 0.8231 GB Notification: Performance of setup shared object (initialization): time 4.242e-05/4.306, allocations: 301.1 kB / 1.784 GB, free: 250.7 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03178/4.338, allocations: 24.5 MB / 1.808 GB, free: 226.2 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03438/4.372, allocations: 27.16 MB / 1.835 GB, free: 198 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06502/4.437, allocations: 44.7 MB / 1.878 GB, free: 152.6 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.985e-05/4.438, allocations: 12 kB / 1.878 GB, free: 152.6 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.9882/5.426, allocations: 144.9 MB / 2.02 GB, free: 300 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/5.426, allocations: 52.08 kB / 2.02 GB, free: 300 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.463e-05/5.426, allocations: 48.91 kB / 2.02 GB, free: 300 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6073/6.033, allocations: 124.4 MB / 2.141 GB, free: 247.6 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/6.051, allocations: 3.333 MB / 2.145 GB, free: 244.4 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1503/6.201, allocations: 82.48 MB / 2.225 GB, free: 161.9 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.22/6.422, allocations: 10.87 MB / 2.236 GB, free: 151.1 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007185/6.429, allocations: 1.633 MB / 2.237 GB, free: 149.5 MB / 0.8231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04012/6.469, allocations: 27.46 MB / 2.264 GB, free: 122 MB / 0.8231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03371/6.503, allocations: 26.6 MB / 2.29 GB, free: 94.35 MB / 0.8231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06158/6.564, allocations: 43.59 MB / 2.333 GB, free: 50.04 MB / 0.8231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.861e-05/6.564, allocations: 15.98 kB / 2.333 GB, free: 50.03 MB / 0.8231 GB Notification: Performance of matching and sorting (n=1408) (initialization_lambda0): time 0.9345/7.499, allocations: 142.8 MB / 2.472 GB, free: 264.1 MB / 0.8231 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/7.499, allocations: 53.7 kB / 2.472 GB, free: 264.1 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-05/7.499, allocations: 48 kB / 2.472 GB, free: 264 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6063/8.106, allocations: 124.3 MB / 2.594 GB, free: 140.1 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01708/8.123, allocations: 3.287 MB / 2.597 GB, free: 136.8 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.16/8.283, allocations: 88.66 MB / 2.684 GB, free: 48.31 MB / 0.8231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2289/8.512, allocations: 10.89 MB / 2.694 GB, free: 37.46 MB / 0.8231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005754/8.517, allocations: 1.598 MB / 2.696 GB, free: 35.86 MB / 0.8231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (952): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(33,119), (33,119)} Notification: Performance of prepare postOptimizeDAE: time 0.005898/8.523, allocations: 0.723 MB / 2.696 GB, free: 35.13 MB / 0.8231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006058/8.529, allocations: 1.488 MB / 2.698 GB, free: 34.44 MB / 0.8231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5423/9.072, allocations: 69.89 MB / 2.766 GB, free: 294.9 MB / 0.8231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3408/9.413, allocations: 84.39 MB / 2.849 GB, free: 233 MB / 0.8231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002739/9.413, allocations: 32 kB / 2.849 GB, free: 233 MB / 0.8231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.278/9.691, allocations: 83.27 MB / 2.93 GB, free: 149.8 MB / 0.8231 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.6959/10.39, allocations: 209.2 MB / 3.134 GB, free: 269.1 MB / 0.8231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.923e-05/10.39, allocations: 3.969 kB / 3.134 GB, free: 269.1 MB / 0.8231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/10.4, allocations: 2.055 MB / 3.136 GB, free: 269 MB / 0.8231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5858/10.98, allocations: 147.4 MB / 3.28 GB, free: 138.7 MB / 0.8231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004126/10.99, allocations: 0.8142 MB / 3.281 GB, free: 137.9 MB / 0.8231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1305/11.12, allocations: 71.73 MB / 3.351 GB, free: 66.1 MB / 0.8231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.113/11.23, allocations: 48.86 MB / 3.399 GB, free: 17.07 MB / 0.8231 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.