Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 92.78 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009869/0.009869, allocations: 172.4 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9746/0.9746, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 13.16 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 82.32 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 1.005/1.204, allocations: 347.9 MB / 0.9277 GB, free: 49.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.101/1.305, allocations: 72.28 MB / 0.9983 GB, free: 39.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02038/1.325, allocations: 376.5 kB / 0.9987 GB, free: 39.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01553/1.341, allocations: 4.409 MB / 1.003 GB, free: 36.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04658/1.388, allocations: 12.52 MB / 1.015 GB, free: 28.57 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02556/1.413, allocations: 8.92 MB / 1.024 GB, free: 23.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0552/1.468, allocations: 48.53 MB / 1.071 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03246/1.501, allocations: 17.27 MB / 1.088 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04147/1.542, allocations: 14.22 MB / 1.102 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03745/1.58, allocations: 15.33 MB / 1.117 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.008238/1.588, allocations: 1.074 MB / 1.118 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/1.609, allocations: 4.739 MB / 1.123 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.01083/1.62, allocations: 4.886 MB / 1.128 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02624/1.646, allocations: 9.274 MB / 1.137 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.9534/2.6, allocations: 27.47 MB / 1.163 GB, free: 69.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/2.6, allocations: 4.188 kB / 1.163 GB, free: 69.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.257e-06/2.6, allocations: 0 / 1.163 GB, free: 69.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001121/2.601, allocations: 0.625 kB / 1.163 GB, free: 69.66 MB / 0.7794 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.05631/2.657, allocations: 20.05 MB / 1.183 GB, free: 63.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/2.657, allocations: 10.3 kB / 1.183 GB, free: 63.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/2.672, allocations: 2.277 MB / 1.185 GB, free: 62.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04534/2.718, allocations: 15.6 MB / 1.2 GB, free: 59.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/2.719, allocations: 0.6897 MB / 1.201 GB, free: 59.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006237/2.725, allocations: 0.9368 MB / 1.202 GB, free: 59.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06214/2.787, allocations: 16.6 MB / 1.218 GB, free: 59.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007109/2.788, allocations: 20.62 kB / 1.218 GB, free: 59.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006202/2.794, allocations: 333.6 kB / 1.219 GB, free: 59.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007524/2.795, allocations: 370.4 kB / 1.219 GB, free: 59.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05626/2.851, allocations: 21.04 MB / 1.239 GB, free: 59.03 MB / 0.7794 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.1471/2.999, allocations: 81.22 MB / 1.319 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/3.021, allocations: 13.02 MB / 1.332 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/3.038, allocations: 10.01 MB / 1.341 GB, free: 13.27 MB / 0.8107 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.1106/3.148, allocations: 36.29 MB / 1.377 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0203/3.169, allocations: 9.951 MB / 1.386 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03411/3.203, allocations: 9.929 MB / 1.396 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=600): time 3.899e-05/3.203, allocations: 0 / 1.396 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=916): time 1.567/4.77, allocations: 314.3 MB / 1.703 GB, free: 311.1 MB / 0.9513 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.1253/4.895, allocations: 59.04 MB / 1.761 GB, free: 250.6 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02354/4.919, allocations: 14.75 MB / 1.775 GB, free: 236 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.00489/4.924, allocations: 245.7 kB / 1.775 GB, free: 235.8 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.007295/4.931, allocations: 7.142 MB / 1.782 GB, free: 229 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0122/4.943, allocations: 3.291 MB / 1.786 GB, free: 225.8 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005645/4.949, allocations: 0.965 MB / 1.786 GB, free: 224.9 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/4.949, allocations: 305.1 kB / 1.787 GB, free: 224.6 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03333/4.982, allocations: 24.46 MB / 1.811 GB, free: 200.1 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03564/5.018, allocations: 27.18 MB / 1.837 GB, free: 171.9 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06676/5.085, allocations: 44.73 MB / 1.881 GB, free: 126.5 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-05/5.085, allocations: 12 kB / 1.881 GB, free: 126.4 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 1.099/6.184, allocations: 157.8 MB / 2.035 GB, free: 413.4 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.000828/6.184, allocations: 1.563 MB / 2.036 GB, free: 411.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.404e-05/6.184, allocations: 50.06 kB / 2.037 GB, free: 411.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6898/6.874, allocations: 150.1 MB / 2.183 GB, free: 311.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03653/6.911, allocations: 3.344 MB / 2.186 GB, free: 307.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.189/7.1, allocations: 83.82 MB / 2.268 GB, free: 223.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2253/7.325, allocations: 10.87 MB / 2.279 GB, free: 213.1 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008918/7.334, allocations: 1.636 MB / 2.28 GB, free: 211.4 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/7.334, allocations: 6.078 kB / 2.28 GB, free: 211.4 MB / 0.9513 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6631/7.997, allocations: 154.3 MB / 2.431 GB, free: 56.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/7.998, allocations: 48 kB / 2.431 GB, free: 56.86 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002/9, allocations: 150 MB / 2.578 GB, free: 385.6 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01759/9.017, allocations: 3.297 MB / 2.581 GB, free: 384.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.168/9.185, allocations: 90.12 MB / 2.669 GB, free: 297.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2231/9.409, allocations: 10.86 MB / 2.68 GB, free: 286.6 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007244/9.416, allocations: 1.598 MB / 2.681 GB, free: 285 MB / 0.9513 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.01551/9.431, allocations: 4.007 MB / 2.685 GB, free: 281.1 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007928/9.439, allocations: 1.482 MB / 2.686 GB, free: 280.3 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2286/9.668, allocations: 70.88 MB / 2.756 GB, free: 209.4 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2568/9.925, allocations: 85.37 MB / 2.839 GB, free: 123.9 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002295/9.925, allocations: 32 kB / 2.839 GB, free: 123.9 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2396/10.16, allocations: 84.24 MB / 2.921 GB, free: 39.46 MB / 0.9513 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.7192/10.88, allocations: 210.3 MB / 3.127 GB, free: 309.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001311/10.88, allocations: 4 kB / 3.127 GB, free: 309.2 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01302/10.9, allocations: 2.058 MB / 3.129 GB, free: 307.1 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6027/11.5, allocations: 149.3 MB / 3.274 GB, free: 159.3 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006386/11.51, allocations: 0.8142 MB / 3.275 GB, free: 158.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2225/11.73, allocations: 122.4 MB / 3.395 GB, free: 35.93 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5086/12.24, allocations: 49.16 MB / 3.443 GB, free: 395.8 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3262/12.56, allocations: 123.7 MB / 3.564 GB, free: 343.1 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02107/12.58, allocations: 7.601 MB / 3.571 GB, free: 336.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008431/12.59, allocations: 236.2 kB / 3.571 GB, free: 336.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1212/12.71, allocations: 5.537 MB / 3.577 GB, free: 333.4 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007372/12.72, allocations: 1.145 MB / 3.578 GB, free: 332.3 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004886/12.73, allocations: 0.8728 MB / 3.579 GB, free: 331.4 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.01981/12.75, allocations: 10.12 MB / 3.589 GB, free: 321.4 MB / 0.9513 GB Notification: Performance of sort global known variables: time 3.71e-07/12.75, allocations: 0 / 3.589 GB, free: 321.4 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.195/12.94, allocations: 86.45 MB / 3.673 GB, free: 235.1 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (595): * Single equations (assignments): 572 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 3 systems {(33,156), (1,1), (61,217)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008486/12.95, allocations: 1.747 MB / 3.675 GB, free: 233.6 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.2236/13.17, allocations: 98.72 MB / 3.771 GB, free: 135 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/13.17, allocations: 11.09 kB / 3.771 GB, free: 135 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.1591/13.33, allocations: 86.43 MB / 3.855 GB, free: 48.65 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1018/13.43, allocations: 7.611 MB / 3.863 GB, free: 41.16 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4843/13.92, allocations: 66.92 MB / 3.928 GB, free: 387.3 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02946/13.95, allocations: 10.65 MB / 3.939 GB, free: 386.1 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0471/14, allocations: 8.388 MB / 3.947 GB, free: 385.8 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01995/14.02, allocations: 2.479 MB / 3.949 GB, free: 385.8 MB / 0.9513 GB Notification: Performance of SimCode: time 1.333e-06/14.02, allocations: 0 / 3.949 GB, free: 385.8 MB / 0.9513 GB Notification: Performance of Templates: time 1.548/15.56, allocations: 0.6777 GB / 4.627 GB, free: 191.6 MB / 0.9513 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)