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.001231/0.001231, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.00125/0.00125, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 422.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 60.12 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4074, allocations: 80.19 MB / 0.5802 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.6844/1.092, allocations: 352.2 MB / 0.9241 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1069/1.199, allocations: 72.36 MB / 0.9948 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01777/1.217, allocations: 393.5 kB / 0.9951 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01657/1.233, allocations: 4.629 MB / 0.9997 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04014/1.273, allocations: 12.57 MB / 1.012 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02569/1.299, allocations: 8.969 MB / 1.021 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.5844/1.883, allocations: 37.85 MB / 1.058 GB, free: 25.72 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03435/1.918, allocations: 19.79 MB / 1.077 GB, free: 23.74 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0432/1.961, allocations: 16.94 MB / 1.094 GB, free: 22.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03185/1.993, allocations: 16.32 MB / 1.109 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.01066/2.004, allocations: 1.869 MB / 1.111 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0241/2.028, allocations: 5.76 MB / 1.117 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01265/2.041, allocations: 5.835 MB / 1.123 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02906/2.07, allocations: 10.35 MB / 1.133 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.037/2.107, allocations: 22.58 MB / 1.155 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/2.107, allocations: 4 kB / 1.155 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.116e-06/2.107, allocations: 3.938 kB / 1.155 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.001204/2.108, allocations: 0 / 1.155 GB, free: 13.7 MB / 0.7481 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.07509/2.183, allocations: 22.13 MB / 1.176 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/2.183, allocations: 8.031 kB / 1.176 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/2.198, allocations: 2.237 MB / 1.179 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04226/2.24, allocations: 15.57 MB / 1.194 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/2.241, allocations: 0.6827 MB / 1.194 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006283/2.247, allocations: 0.9263 MB / 1.195 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04787/2.295, allocations: 16.46 MB / 1.211 GB, free: 10.72 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004066/2.296, allocations: 11.09 kB / 1.211 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004538/2.3, allocations: 328.8 kB / 1.212 GB, free: 10.4 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004609/2.301, allocations: 370.6 kB / 1.212 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04395/2.345, allocations: 20.94 MB / 1.233 GB, free: 5.145 MB / 0.8106 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.1546/2.499, allocations: 80.46 MB / 1.311 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/2.522, allocations: 12.7 MB / 1.324 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01552/2.538, allocations: 9.515 MB / 1.333 GB, free: 12.33 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 preOpt evalFunc (simulation): time 0.7277/3.265, allocations: 34.4 MB / 1.366 GB, free: 465.1 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02113/3.287, allocations: 9.715 MB / 1.376 GB, free: 463.8 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0254/3.312, allocations: 7.521 MB / 1.383 GB, free: 463.2 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=576): time 5.128e-05/3.312, allocations: 0 / 1.383 GB, free: 463.2 MB / 0.9357 GB Notification: Performance of matching and sorting (n=868): time 0.9107/4.223, allocations: 236.6 MB / 1.614 GB, free: 250.2 MB / 0.9357 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.1228/4.346, allocations: 55.25 MB / 1.668 GB, free: 193.4 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02796/4.374, allocations: 14.81 MB / 1.683 GB, free: 178.8 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.004999/4.379, allocations: 225.7 kB / 1.683 GB, free: 178.5 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.009037/4.388, allocations: 7.21 MB / 1.69 GB, free: 171.4 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.01396/4.402, allocations: 3.129 MB / 1.693 GB, free: 168.3 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01726/4.419, allocations: 4.097 MB / 1.697 GB, free: 164.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.561e-05/4.419, allocations: 309.2 kB / 1.697 GB, free: 163.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03241/4.452, allocations: 24.25 MB / 1.721 GB, free: 139.6 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03513/4.487, allocations: 26.86 MB / 1.747 GB, free: 111.8 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06605/4.553, allocations: 44.3 MB / 1.791 GB, free: 66.65 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-05/4.553, allocations: 16 kB / 1.791 GB, free: 66.63 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 1.241/5.794, allocations: 142.8 MB / 1.93 GB, free: 400.9 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/5.794, allocations: 57.03 kB / 1.93 GB, free: 400.9 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-05/5.794, allocations: 54.53 kB / 1.93 GB, free: 400.9 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5429/6.337, allocations: 119.9 MB / 2.047 GB, free: 290.3 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/6.356, allocations: 3.519 MB / 2.051 GB, free: 286.8 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1423/6.498, allocations: 84.03 MB / 2.133 GB, free: 202.7 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1854/6.684, allocations: 10.88 MB / 2.143 GB, free: 191.8 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007798/6.692, allocations: 1.642 MB / 2.145 GB, free: 190.1 MB / 0.9358 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04165/6.733, allocations: 27.27 MB / 2.171 GB, free: 162.9 MB / 0.9358 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03276/6.766, allocations: 26.4 MB / 2.197 GB, free: 135.4 MB / 0.9358 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06212/6.828, allocations: 43.38 MB / 2.24 GB, free: 91.25 MB / 0.9358 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.552e-05/6.828, allocations: 16 kB / 2.24 GB, free: 91.23 MB / 0.9358 GB Notification: Performance of matching and sorting (n=1384) (initialization_lambda0): time 1.004/7.832, allocations: 141.2 MB / 2.378 GB, free: 398.8 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/7.832, allocations: 59.22 kB / 2.378 GB, free: 398.7 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.037e-05/7.833, allocations: 50.88 kB / 2.378 GB, free: 398.7 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5408/8.373, allocations: 118.9 MB / 2.494 GB, free: 303.3 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01798/8.391, allocations: 3.476 MB / 2.497 GB, free: 299.9 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1505/8.542, allocations: 88.27 MB / 2.583 GB, free: 211.6 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1787/8.721, allocations: 10.91 MB / 2.594 GB, free: 200.7 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007851/8.729, allocations: 1.598 MB / 2.596 GB, free: 199.1 MB / 0.9358 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.009971/8.739, allocations: 0.7319 MB / 2.596 GB, free: 198.3 MB / 0.9358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009167/8.748, allocations: 1.479 MB / 2.598 GB, free: 197.6 MB / 0.9358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2023/8.95, allocations: 68.05 MB / 2.664 GB, free: 129.6 MB / 0.9358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2169/9.167, allocations: 82.55 MB / 2.745 GB, free: 47.02 MB / 0.9358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001578/9.167, allocations: 28 kB / 2.745 GB, free: 46.99 MB / 0.9358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5826/9.75, allocations: 81.42 MB / 2.824 GB, free: 393.5 MB / 0.9358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/10.07, allocations: 206.1 MB / 3.026 GB, free: 227 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001126/10.07, allocations: 4 kB / 3.026 GB, free: 227 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01231/10.09, allocations: 2.144 MB / 3.028 GB, free: 224.9 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5168/10.6, allocations: 144.9 MB / 3.169 GB, free: 80.25 MB / 0.9358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004912/10.61, allocations: 0.8064 MB / 3.17 GB, free: 79.45 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.491/11.1, allocations: 71.92 MB / 3.24 GB, free: 402.9 MB / 0.9358 GB Warning: The linear system: 1 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valSouth1[2].port_a.p ] = [ -valSouth1[3].dp ; -valSouth1[4].dp ] might be structurally or numerically singular for variable valSouth1[2].port_a.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) - $cse375 - 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 + $cse375 + (-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 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth1[4].dp ; -valSouth1[3].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) - $cse375 - 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 + $cse375 + (-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. 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:2347:10-2347:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2264:9-2264: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 (620): * Single equations (assignments): 597 * 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), (63,191)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4638:9-4638:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:798:5-798:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]