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.001072/0.001072, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8997/0.8997, allocations: 135.3 MB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8.969 kB / 0.5082 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 82.31 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 0.9689/1.127, allocations: 347.9 MB / 0.9284 GB, free: 49.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09669/1.224, allocations: 72.29 MB / 0.999 GB, free: 39.97 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02045/1.244, allocations: 376.4 kB / 0.9993 GB, free: 39.89 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01607/1.26, allocations: 4.408 MB / 1.004 GB, free: 36.64 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04117/1.302, allocations: 12.52 MB / 1.016 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02302/1.325, allocations: 8.907 MB / 1.025 GB, free: 23.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05431/1.379, allocations: 48.55 MB / 1.072 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02825/1.407, allocations: 17.26 MB / 1.089 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03331/1.441, allocations: 14.22 MB / 1.103 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02839/1.469, allocations: 15.34 MB / 1.118 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.006903/1.476, allocations: 1.07 MB / 1.119 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0191/1.495, allocations: 4.738 MB / 1.123 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.01005/1.505, allocations: 4.88 MB / 1.128 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02451/1.53, allocations: 9.263 MB / 1.137 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.03151/1.561, allocations: 21.85 MB / 1.159 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.561, allocations: 0 / 1.159 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.575e-06/1.561, allocations: 0 / 1.159 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0009734/1.562, allocations: 0 / 1.159 GB, free: 5.09 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.6072/2.17, allocations: 20.05 MB / 1.178 GB, free: 302.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/2.17, allocations: 9.062 kB / 1.178 GB, free: 302.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/2.18, allocations: 2.282 MB / 1.18 GB, free: 301.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03401/2.214, allocations: 15.59 MB / 1.196 GB, free: 295.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/2.215, allocations: 0.6876 MB / 1.196 GB, free: 294.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004576/2.22, allocations: 0.9449 MB / 1.197 GB, free: 294.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04528/2.265, allocations: 16.6 MB / 1.213 GB, free: 288.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004116/2.266, allocations: 13.73 kB / 1.213 GB, free: 288.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003786/2.27, allocations: 326.1 kB / 1.214 GB, free: 288.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005061/2.27, allocations: 364.8 kB / 1.214 GB, free: 288.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04259/2.313, allocations: 21.04 MB / 1.235 GB, free: 279.6 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.1345/2.447, allocations: 81.22 MB / 1.314 GB, free: 196.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/2.466, allocations: 13.03 MB / 1.327 GB, free: 183.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01395/2.48, allocations: 10.01 MB / 1.336 GB, free: 173.2 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 evalFunc (simulation): time 0.07191/2.552, allocations: 36.28 MB / 1.372 GB, free: 136.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01722/2.57, allocations: 9.952 MB / 1.382 GB, free: 126.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02889/2.599, allocations: 9.933 MB / 1.391 GB, free: 117 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=600): time 4.34e-05/2.599, allocations: 3.938 kB / 1.391 GB, free: 117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=916): time 1.742/4.341, allocations: 314.3 MB / 1.698 GB, free: 146.1 MB / 0.7795 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.1336/4.474, allocations: 59.03 MB / 1.756 GB, free: 85.62 MB / 0.7795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03132/4.506, allocations: 14.76 MB / 1.77 GB, free: 71 MB / 0.7795 GB Notification: Performance of collectPreVariables (initialization): time 0.005133/4.511, allocations: 237.7 kB / 1.77 GB, free: 70.76 MB / 0.7795 GB Notification: Performance of collectInitialEqns (initialization): time 0.01002/4.521, allocations: 7.132 MB / 1.777 GB, free: 64.04 MB / 0.7795 GB Notification: Performance of collectInitialBindings (initialization): time 0.01327/4.534, allocations: 3.299 MB / 1.781 GB, free: 60.84 MB / 0.7795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006654/4.541, allocations: 0.965 MB / 1.782 GB, free: 59.87 MB / 0.7795 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/4.541, allocations: 301.1 kB / 1.782 GB, free: 59.57 MB / 0.7795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03551/4.576, allocations: 24.46 MB / 1.806 GB, free: 35.09 MB / 0.7795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4262/5.003, allocations: 27.18 MB / 1.832 GB, free: 247.7 MB / 0.7795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07965/5.082, allocations: 44.73 MB / 1.876 GB, free: 236.2 MB / 0.7795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/5.083, allocations: 14.19 kB / 1.876 GB, free: 236.2 MB / 0.7795 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.6631/5.746, allocations: 157.8 MB / 2.03 GB, free: 124.6 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/5.747, allocations: 1.567 MB / 2.032 GB, free: 122.4 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/5.747, allocations: 48 kB / 2.032 GB, free: 122.3 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052/6.799, allocations: 150.1 MB / 2.178 GB, free: 230 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01946/6.819, allocations: 3.338 MB / 2.182 GB, free: 230 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1831/7.002, allocations: 83.82 MB / 2.263 GB, free: 187.8 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2196/7.222, allocations: 10.87 MB / 2.274 GB, free: 177 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007696/7.229, allocations: 1.637 MB / 2.276 GB, free: 175.4 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/7.229, allocations: 7.938 kB / 2.276 GB, free: 175.4 MB / 0.7795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.025/8.254, allocations: 154.3 MB / 2.426 GB, free: 205.1 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/8.254, allocations: 45.69 kB / 2.426 GB, free: 205.1 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6359/8.89, allocations: 150 MB / 2.573 GB, free: 174.5 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01643/8.907, allocations: 3.292 MB / 2.576 GB, free: 171.3 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/9.089, allocations: 90.12 MB / 2.664 GB, free: 81.43 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2181/9.308, allocations: 10.87 MB / 2.675 GB, free: 70.62 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007519/9.315, allocations: 1.594 MB / 2.676 GB, free: 69.02 MB / 0.7795 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.01673/9.332, allocations: 3.994 MB / 2.68 GB, free: 65.09 MB / 0.7795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008817/9.341, allocations: 1.484 MB / 2.682 GB, free: 64.32 MB / 0.7795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6652/10.01, allocations: 70.88 MB / 2.751 GB, free: 226.4 MB / 0.7795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2757/10.28, allocations: 85.37 MB / 2.834 GB, free: 209.3 MB / 0.7795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002611/10.28, allocations: 28 kB / 2.834 GB, free: 209.3 MB / 0.7795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2495/10.53, allocations: 84.25 MB / 2.916 GB, free: 125.7 MB / 0.7795 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.7851/11.32, allocations: 210.3 MB / 3.122 GB, free: 194 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000134/11.32, allocations: 3.562 kB / 3.122 GB, free: 194 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01349/11.33, allocations: 2.063 MB / 3.124 GB, free: 193.9 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5945/11.92, allocations: 149.3 MB / 3.27 GB, free: 62.93 MB / 0.7795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005338/11.93, allocations: 0.8142 MB / 3.27 GB, free: 62.11 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5993/12.53, allocations: 122.4 MB / 3.39 GB, free: 211.9 MB / 0.7795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.115/12.64, allocations: 49.17 MB / 3.438 GB, free: 188.4 MB / 0.7795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2986/12.94, allocations: 123.7 MB / 3.559 GB, free: 66.04 MB / 0.7795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02089/12.96, allocations: 7.597 MB / 3.566 GB, free: 58.43 MB / 0.7795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00853/12.97, allocations: 231.9 kB / 3.566 GB, free: 58.21 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1182/13.09, allocations: 5.537 MB / 3.572 GB, free: 52.69 MB / 0.7795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006748/13.1, allocations: 1.15 MB / 3.573 GB, free: 51.54 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004481/13.1, allocations: 0.8767 MB / 3.574 GB, free: 50.66 MB / 0.7795 GB Notification: Performance of sorting global known variables: time 0.02382/13.13, allocations: 10.11 MB / 3.584 GB, free: 40.61 MB / 0.7795 GB Notification: Performance of sort global known variables: time 6.41e-07/13.13, allocations: 0 / 3.584 GB, free: 40.61 MB / 0.7795 GB Notification: Performance of remove unused functions: time 0.5421/13.67, allocations: 86.45 MB / 3.668 GB, free: 219 MB / 0.7795 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.006765/13.68, allocations: 1.749 MB / 3.67 GB, free: 218.1 MB / 0.7795 GB Notification: Performance of simCode: created initialization part: time 0.1655/13.84, allocations: 98.7 MB / 3.766 GB, free: 148.3 MB / 0.7795 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/13.84, allocations: 4 kB / 3.766 GB, free: 148.3 MB / 0.7795 GB Notification: Performance of simCode: created simulation system equations: time 0.1532/13.99, allocations: 86.42 MB / 3.851 GB, free: 75.75 MB / 0.7795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09648/14.09, allocations: 7.619 MB / 3.858 GB, free: 68.4 MB / 0.7795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4972/14.59, allocations: 67.39 MB / 3.924 GB, free: 214.1 MB / 0.7795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02304/14.61, allocations: 10.55 MB / 3.934 GB, free: 212.9 MB / 0.7795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01808/14.63, allocations: 2.509 MB / 3.937 GB, free: 212.9 MB / 0.7795 GB Notification: Performance of SimCode: time 1.482e-06/14.63, allocations: 2.281 kB / 3.937 GB, free: 212.9 MB / 0.7795 GB Notification: Performance of Templates: time 4.356/18.98, allocations: 1.569 GB / 5.506 GB, free: 151.8 MB / 0.8108 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)