Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 92.62 kB / 16.02 MB, free: 80 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.001116/0.001116, allocations: 181.1 kB / 16.92 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.312/1.312, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7095/0.7095, allocations: 132.3 MB / 424.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8 kB / 0.5046 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4641, allocations: 81.58 MB / 0.5843 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.711/1.175, allocations: 348 MB / 0.9241 GB, free: 45.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08707/1.262, allocations: 72.27 MB / 0.9947 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01787/1.28, allocations: 377.5 kB / 0.995 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01608/1.296, allocations: 4.399 MB / 0.9993 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.04139/1.338, allocations: 12.53 MB / 1.012 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02352/1.361, allocations: 8.916 MB / 1.02 GB, free: 8.008 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.05849/1.42, allocations: 48.34 MB / 1.067 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02937/1.449, allocations: 17.25 MB / 1.084 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03114/1.48, allocations: 14.17 MB / 1.098 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.927/2.407, allocations: 15.29 MB / 1.113 GB, free: 24.97 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.009972/2.417, allocations: 1.062 MB / 1.114 GB, free: 24.97 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02284/2.44, allocations: 4.726 MB / 1.119 GB, free: 24.97 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.01147/2.452, allocations: 4.862 MB / 1.124 GB, free: 24.97 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.02672/2.479, allocations: 9.246 MB / 1.133 GB, free: 24.68 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.03414/2.513, allocations: 21.75 MB / 1.154 GB, free: 23.95 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/2.513, allocations: 0 / 1.154 GB, free: 23.95 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.527e-06/2.513, allocations: 4.5 kB / 1.154 GB, free: 23.95 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001029/2.514, allocations: 0 / 1.154 GB, free: 23.95 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.05265/2.567, allocations: 20.05 MB / 1.173 GB, free: 16.92 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/2.567, allocations: 7.062 kB / 1.173 GB, free: 16.92 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/2.58, allocations: 2.272 MB / 1.176 GB, free: 15.96 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03625/2.616, allocations: 15.56 MB / 1.191 GB, free: 12.93 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008065/2.617, allocations: 0.6861 MB / 1.191 GB, free: 12.91 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005564/2.622, allocations: 0.9224 MB / 1.192 GB, free: 12.89 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/2.662, allocations: 16.47 MB / 1.208 GB, free: 8 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003285/2.662, allocations: 11.06 kB / 1.208 GB, free: 7.996 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003999/2.666, allocations: 328.9 kB / 1.209 GB, free: 7.996 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003435/2.666, allocations: 367 kB / 1.209 GB, free: 7.957 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03761/2.704, allocations: 20.95 MB / 1.23 GB, free: 4.832 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.1447/2.849, allocations: 82.05 MB / 1.31 GB, free: 4.602 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/2.872, allocations: 12.72 MB / 1.322 GB, free: 8.141 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01621/2.889, allocations: 9.517 MB / 1.331 GB, free: 14.61 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.08058/2.969, allocations: 35.67 MB / 1.366 GB, free: 10.59 MB / 0.8732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01863/2.988, allocations: 9.731 MB / 1.376 GB, free: 0.793 MB / 0.8732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03093/3.019, allocations: 9.92 MB / 1.385 GB, free: 7.008 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=576): time 3.717e-05/3.019, allocations: 0 / 1.385 GB, free: 7.008 MB / 0.8888 GB Notification: Performance of matching and sorting (n=868): time 1.578/4.597, allocations: 301.7 MB / 1.68 GB, free: 53.3 MB / 0.92 GB 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[2].m_flow ; tabsSouth1[1].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[1].m_flow since U(2,2) = 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 : 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 2 : 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 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; 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 ] 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.1178/4.715, allocations: 55.16 MB / 1.734 GB, free: 14.69 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3463/5.061, allocations: 14.81 MB / 1.748 GB, free: 420.6 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.005219/5.066, allocations: 225.7 kB / 1.749 GB, free: 420.5 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.01014/5.077, allocations: 7.205 MB / 1.756 GB, free: 419.3 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0128/5.089, allocations: 3.126 MB / 1.759 GB, free: 418.6 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007769/5.097, allocations: 0.9551 MB / 1.76 GB, free: 418.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/5.097, allocations: 305.1 kB / 1.76 GB, free: 417.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03862/5.136, allocations: 24.22 MB / 1.784 GB, free: 411.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03819/5.174, allocations: 26.87 MB / 1.81 GB, free: 401.8 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06795/5.242, allocations: 44.33 MB / 1.853 GB, free: 383.4 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.592e-05/5.242, allocations: 12 kB / 1.853 GB, free: 383.4 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.6258/5.868, allocations: 155.7 MB / 2.005 GB, free: 237 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006377/5.869, allocations: 1.721 MB / 2.007 GB, free: 234.5 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.015e-05/5.869, allocations: 56.41 kB / 2.007 GB, free: 234.5 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5966/6.465, allocations: 145.5 MB / 2.149 GB, free: 88.77 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01812/6.484, allocations: 3.526 MB / 2.152 GB, free: 85.23 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4696/6.953, allocations: 81.32 MB / 2.232 GB, free: 391.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2152/7.168, allocations: 10.9 MB / 2.242 GB, free: 391.6 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007091/7.176, allocations: 1.634 MB / 2.244 GB, free: 391.6 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/7.176, allocations: 7.781 kB / 2.244 GB, free: 391.6 MB / 0.9357 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6195/7.795, allocations: 152.8 MB / 2.393 GB, free: 313.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/7.795, allocations: 52 kB / 2.393 GB, free: 313.7 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6036/8.399, allocations: 144.5 MB / 2.534 GB, free: 169 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01743/8.416, allocations: 3.494 MB / 2.538 GB, free: 165.5 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1395/8.556, allocations: 84.86 MB / 2.621 GB, free: 80.56 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2102/8.766, allocations: 10.88 MB / 2.631 GB, free: 69.73 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00681/8.773, allocations: 1.605 MB / 2.633 GB, free: 68.12 MB / 0.9357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1024): * Single equations (assignments): 1006 * 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01486/8.788, allocations: 3.971 MB / 2.637 GB, free: 64.16 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006025/8.794, allocations: 1.476 MB / 2.638 GB, free: 63.48 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5461/9.34, allocations: 68.96 MB / 2.706 GB, free: 394.6 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2383/9.578, allocations: 83.59 MB / 2.787 GB, free: 379.5 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001856/9.579, allocations: 35.62 kB / 2.787 GB, free: 379.4 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2259/9.805, allocations: 82.48 MB / 2.868 GB, free: 300.1 MB / 0.9357 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.364/10.17, allocations: 207.4 MB / 3.07 GB, free: 92.76 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/10.17, allocations: 0 / 3.07 GB, free: 92.76 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01261/10.18, allocations: 2.153 MB / 3.072 GB, free: 90.63 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9687/11.15, allocations: 146.6 MB / 3.216 GB, free: 373.7 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004946/11.15, allocations: 0.8083 MB / 3.216 GB, free: 373.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.194/11.35, allocations: 120.1 MB / 3.334 GB, free: 290.9 MB / 0.9357 GB Warning: The linear system: 1 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[1].dp ; -valSouth2[4].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 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 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].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 ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.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 : valSouth2[4].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth2[4].dp ; -valSouth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].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[1].m_flow ; tabsSouth1[2].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.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[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2285:10-2285:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2202:9-2202:79:writable] Error: Internal error function createJacobian failed 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 (619): * Single equations (assignments): 596 * 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 {(36,81), (1,1), (61,193)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4560:9-4560:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:764:5-764:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]