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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008072/0.0008073, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006443/0.006443, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7785/0.7785, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 12.62 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4938, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 0.757/1.251, allocations: 348 MB / 0.9235 GB, free: 45.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0821/1.333, allocations: 72.27 MB / 0.994 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01802/1.351, allocations: 377.5 kB / 0.9944 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01733/1.368, allocations: 4.403 MB / 0.9987 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.03874/1.407, allocations: 12.53 MB / 1.011 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02362/1.431, allocations: 8.914 MB / 1.02 GB, free: 8.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05634/1.487, allocations: 48.54 MB / 1.067 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02775/1.515, allocations: 17.27 MB / 1.084 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0353/1.55, allocations: 14.23 MB / 1.098 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9438/2.494, allocations: 15.33 MB / 1.113 GB, free: 25.07 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.009375/2.504, allocations: 1.075 MB / 1.114 GB, free: 25.07 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02384/2.528, allocations: 4.733 MB / 1.118 GB, free: 25.07 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.01332/2.541, allocations: 4.884 MB / 1.123 GB, free: 25.07 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.02494/2.566, allocations: 9.263 MB / 1.132 GB, free: 24.75 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.04484/2.611, allocations: 27.49 MB / 1.159 GB, free: 21.98 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/2.611, allocations: 0 / 1.159 GB, free: 21.98 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.746e-06/2.611, allocations: 1.75 kB / 1.159 GB, free: 21.98 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001116/2.612, allocations: 3.75 kB / 1.159 GB, free: 21.98 MB / 0.7482 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.05638/2.668, allocations: 20.05 MB / 1.179 GB, free: 14.96 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/2.668, allocations: 11.81 kB / 1.179 GB, free: 14.96 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/2.681, allocations: 2.273 MB / 1.181 GB, free: 14 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03511/2.717, allocations: 15.6 MB / 1.196 GB, free: 10.34 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007544/2.717, allocations: 0.6914 MB / 1.197 GB, free: 10.32 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005518/2.723, allocations: 0.9357 MB / 1.198 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/2.762, allocations: 16.6 MB / 1.214 GB, free: 5.375 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003774/2.763, allocations: 22.25 kB / 1.214 GB, free: 5.371 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004341/2.767, allocations: 328.3 kB / 1.214 GB, free: 5.371 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003913/2.767, allocations: 361.9 kB / 1.215 GB, free: 5.332 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04135/2.809, allocations: 21.04 MB / 1.235 GB, free: 2.184 MB / 0.7482 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.1741/2.983, allocations: 81.74 MB / 1.315 GB, free: 15.46 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02556/3.009, allocations: 13.03 MB / 1.328 GB, free: 2.43 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01896/3.028, allocations: 10.01 MB / 1.337 GB, free: 8.395 MB / 0.8419 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.09673/3.124, allocations: 36.27 MB / 1.373 GB, free: 3.75 MB / 0.8732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02222/3.147, allocations: 9.957 MB / 1.383 GB, free: 9.727 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03534/3.182, allocations: 9.931 MB / 1.392 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=600): time 5.114e-05/3.182, allocations: 0 / 1.392 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=916): time 1.53/4.712, allocations: 314.3 MB / 1.699 GB, free: 214.7 MB / 0.92 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.1243/4.837, allocations: 59.04 MB / 1.757 GB, free: 154.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02692/4.864, allocations: 14.76 MB / 1.771 GB, free: 139.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.004442/4.868, allocations: 238.7 kB / 1.772 GB, free: 139.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.009728/4.878, allocations: 7.143 MB / 1.779 GB, free: 132.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.01486/4.893, allocations: 3.294 MB / 1.782 GB, free: 129.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006335/4.899, allocations: 0.9728 MB / 1.783 GB, free: 128.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/4.899, allocations: 301.1 kB / 1.783 GB, free: 128 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03498/4.934, allocations: 24.46 MB / 1.807 GB, free: 103.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03745/4.972, allocations: 27.18 MB / 1.833 GB, free: 75.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06717/5.039, allocations: 44.72 MB / 1.877 GB, free: 29.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.409e-05/5.039, allocations: 19.88 kB / 1.877 GB, free: 29.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=1408) (initialization): time 1.058/6.097, allocations: 157.8 MB / 2.031 GB, free: 349.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008463/6.098, allocations: 1.57 MB / 2.033 GB, free: 347.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-05/6.098, allocations: 44 kB / 2.033 GB, free: 347.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6421/6.74, allocations: 150.1 MB / 2.179 GB, free: 196.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01816/6.758, allocations: 3.326 MB / 2.183 GB, free: 193.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1443/6.903, allocations: 83.81 MB / 2.264 GB, free: 109.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2205/7.123, allocations: 10.88 MB / 2.275 GB, free: 98.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006442/7.13, allocations: 1.641 MB / 2.277 GB, free: 97.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/7.13, allocations: 4.766 kB / 2.277 GB, free: 97.13 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.018/8.148, allocations: 154.3 MB / 2.427 GB, free: 371.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-05/8.148, allocations: 43.78 kB / 2.427 GB, free: 371.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6493/8.797, allocations: 150 MB / 2.574 GB, free: 251.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/8.815, allocations: 3.294 MB / 2.577 GB, free: 248.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1592/8.974, allocations: 90.13 MB / 2.665 GB, free: 158.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2173/9.191, allocations: 10.86 MB / 2.676 GB, free: 147.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007249/9.199, allocations: 1.602 MB / 2.677 GB, free: 146.1 MB / 0.92 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.0137/9.212, allocations: 3.996 MB / 2.681 GB, free: 142.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005451/9.218, allocations: 1.487 MB / 2.683 GB, free: 141.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2241/9.442, allocations: 70.88 MB / 2.752 GB, free: 70.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6036/10.05, allocations: 85.36 MB / 2.835 GB, free: 362.9 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002166/10.05, allocations: 31.81 kB / 2.835 GB, free: 362.9 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2443/10.29, allocations: 84.25 MB / 2.918 GB, free: 345.9 MB / 0.92 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.3856/10.68, allocations: 210.3 MB / 3.123 GB, free: 143.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002214/10.68, allocations: 4 kB / 3.123 GB, free: 143.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02019/10.7, allocations: 2.054 MB / 3.125 GB, free: 141.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038/11.73, allocations: 149.3 MB / 3.271 GB, free: 364.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004461/11.74, allocations: 0.8228 MB / 3.271 GB, free: 364.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2113/11.95, allocations: 122.4 MB / 3.391 GB, free: 323 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1066/12.06, allocations: 49.15 MB / 3.439 GB, free: 273.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3007/12.36, allocations: 123.7 MB / 3.56 GB, free: 150.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02063/12.38, allocations: 7.608 MB / 3.567 GB, free: 144 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008878/12.39, allocations: 235.9 kB / 3.567 GB, free: 143.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1189/12.51, allocations: 5.535 MB / 3.573 GB, free: 138.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007211/12.51, allocations: 1.151 MB / 3.574 GB, free: 137.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004741/12.52, allocations: 0.8767 MB / 3.575 GB, free: 136.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.02155/12.54, allocations: 10.11 MB / 3.585 GB, free: 126.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.71e-07/12.54, allocations: 0 / 3.585 GB, free: 126.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.1932/12.73, allocations: 86.44 MB / 3.669 GB, free: 39.9 MB / 0.92 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.00872/12.74, allocations: 1.766 MB / 3.671 GB, free: 38.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.5709/13.31, allocations: 98.71 MB / 3.767 GB, free: 378.8 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/13.31, allocations: 4.5 kB / 3.767 GB, free: 378.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.1512/13.46, allocations: 86.44 MB / 3.852 GB, free: 320.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09446/13.56, allocations: 7.595 MB / 3.859 GB, free: 313.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/13.67, allocations: 66.94 MB / 3.924 GB, free: 246.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01677/13.68, allocations: 10.65 MB / 3.935 GB, free: 236.1 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.03675/13.72, allocations: 8.381 MB / 3.943 GB, free: 227.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0159/13.74, allocations: 2.478 MB / 3.945 GB, free: 225.2 MB / 0.92 GB Notification: Performance of SimCode: time 1.663e-06/13.74, allocations: 0 / 3.945 GB, free: 225.2 MB / 0.92 GB Notification: Performance of Templates: time 1.957/15.69, allocations: 0.6777 GB / 4.623 GB, free: 349.4 MB / 0.92 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)