Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00148/0.00148, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9248/0.9248, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 72.52 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.9842/1.161, allocations: 352.2 MB / 0.9284 GB, free: 41.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08751/1.249, allocations: 72.34 MB / 0.9991 GB, free: 29.6 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01762/1.266, allocations: 397 kB / 0.9994 GB, free: 29.6 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0163/1.283, allocations: 4.634 MB / 1.004 GB, free: 26.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04134/1.324, allocations: 12.57 MB / 1.016 GB, free: 18.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02492/1.349, allocations: 8.971 MB / 1.025 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.052/1.401, allocations: 37.73 MB / 1.062 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03224/1.433, allocations: 19.76 MB / 1.081 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04262/1.476, allocations: 16.88 MB / 1.098 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03104/1.507, allocations: 16.26 MB / 1.114 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.008551/1.516, allocations: 1.859 MB / 1.115 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/1.539, allocations: 5.75 MB / 1.121 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.01215/1.551, allocations: 5.805 MB / 1.127 GB, free: 8.207 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0256/1.577, allocations: 10.31 MB / 1.137 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.05153/1.628, allocations: 28.55 MB / 1.165 GB, free: 2.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.628, allocations: 0 / 1.165 GB, free: 2.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/1.628, allocations: 0 / 1.165 GB, free: 2.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001019/1.629, allocations: 0 / 1.165 GB, free: 2.59 MB / 0.795 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.5852/2.214, allocations: 22.11 MB / 1.186 GB, free: 318.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/2.214, allocations: 9.281 kB / 1.186 GB, free: 318.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/2.224, allocations: 2.228 MB / 1.188 GB, free: 317.5 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03391/2.258, allocations: 15.56 MB / 1.204 GB, free: 310.8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009522/2.259, allocations: 0.6786 MB / 1.204 GB, free: 310.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00498/2.264, allocations: 0.9253 MB / 1.205 GB, free: 310.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04281/2.306, allocations: 16.41 MB / 1.221 GB, free: 304.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/2.307, allocations: 17.97 kB / 1.221 GB, free: 304.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003631/2.311, allocations: 328.6 kB / 1.221 GB, free: 304 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004936/2.311, allocations: 363.8 kB / 1.222 GB, free: 303.9 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03598/2.347, allocations: 20.9 MB / 1.242 GB, free: 295.6 MB / 0.795 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.1192/2.466, allocations: 80.82 MB / 1.321 GB, free: 212.8 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/2.484, allocations: 12.41 MB / 1.333 GB, free: 200.6 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0132/2.497, allocations: 9.741 MB / 1.343 GB, free: 190.9 MB / 0.795 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.06643/2.564, allocations: 34.17 MB / 1.376 GB, free: 156.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01697/2.581, allocations: 9.605 MB / 1.386 GB, free: 146.6 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02526/2.606, allocations: 7.519 MB / 1.393 GB, free: 139.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=555): time 4.379e-05/2.606, allocations: 1.594 kB / 1.393 GB, free: 139.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=826): time 1.321/3.927, allocations: 214.6 MB / 1.602 GB, free: 266.3 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1387/4.066, allocations: 55.98 MB / 1.657 GB, free: 226 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02277/4.089, allocations: 14.81 MB / 1.672 GB, free: 211.4 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 0.003688/4.092, allocations: 225.7 kB / 1.672 GB, free: 211.2 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.007445/4.1, allocations: 7.189 MB / 1.679 GB, free: 205.3 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.007913/4.108, allocations: 2.939 MB / 1.682 GB, free: 203.8 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01277/4.121, allocations: 3.54 MB / 1.685 GB, free: 200.2 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/4.121, allocations: 301.1 kB / 1.685 GB, free: 199.9 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02604/4.147, allocations: 18.89 MB / 1.704 GB, free: 181 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02675/4.173, allocations: 21.48 MB / 1.725 GB, free: 158.5 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05291/4.226, allocations: 36.07 MB / 1.76 GB, free: 121.7 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.967e-05/4.226, allocations: 16 kB / 1.76 GB, free: 121.6 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.8267/5.053, allocations: 131.3 MB / 1.888 GB, free: 262.9 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/5.053, allocations: 57.75 kB / 1.888 GB, free: 262.9 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.88e-05/5.053, allocations: 52.81 kB / 1.888 GB, free: 262.9 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5328/5.586, allocations: 118 MB / 2.004 GB, free: 200.6 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/5.602, allocations: 3.279 MB / 2.007 GB, free: 197.4 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1504/5.752, allocations: 81.57 MB / 2.087 GB, free: 115.8 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07839/5.831, allocations: 6.725 MB / 2.093 GB, free: 109.1 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006167/5.837, allocations: 1.286 MB / 2.094 GB, free: 107.8 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03638/5.873, allocations: 21.91 MB / 2.116 GB, free: 85.91 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02749/5.901, allocations: 21.03 MB / 2.136 GB, free: 63.89 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05093/5.952, allocations: 35.18 MB / 2.171 GB, free: 27.93 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.484e-05/5.952, allocations: 16 kB / 2.171 GB, free: 27.91 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.8556/6.807, allocations: 129.9 MB / 2.297 GB, free: 222.6 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/6.808, allocations: 57.7 kB / 2.298 GB, free: 222.6 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/6.808, allocations: 52 kB / 2.298 GB, free: 222.5 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5258/7.333, allocations: 117.7 MB / 2.412 GB, free: 105.2 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/7.348, allocations: 3.256 MB / 2.416 GB, free: 102 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3983/7.747, allocations: 86.14 MB / 2.5 GB, free: 248.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07536/7.822, allocations: 6.739 MB / 2.506 GB, free: 248.5 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005025/7.827, allocations: 1.254 MB / 2.508 GB, free: 248.5 MB / 0.7952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004773/7.832, allocations: 0.7251 MB / 2.508 GB, free: 248.3 MB / 0.7952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005495/7.837, allocations: 1.464 MB / 2.51 GB, free: 248.3 MB / 0.7952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1989/8.036, allocations: 60.11 MB / 2.568 GB, free: 240.4 MB / 0.7952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.193/8.229, allocations: 66.49 MB / 2.633 GB, free: 198.6 MB / 0.7952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001556/8.229, allocations: 31.75 kB / 2.633 GB, free: 198.6 MB / 0.7952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1813/8.411, allocations: 65.82 MB / 2.698 GB, free: 132.9 MB / 0.7952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5872/8.998, allocations: 128.6 MB / 2.823 GB, free: 242.6 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.709e-05/8.998, allocations: 0 / 2.823 GB, free: 242.6 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0124/9.01, allocations: 1.88 MB / 2.825 GB, free: 242.6 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2997/9.31, allocations: 81.53 MB / 2.905 GB, free: 225.9 MB / 0.7952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003692/9.314, allocations: 0.5662 MB / 2.905 GB, free: 225.6 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09248/9.406, allocations: 58.23 MB / 2.962 GB, free: 179.8 MB / 0.7952 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : 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 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].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 + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 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 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].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 + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1015/9.508, allocations: 54.04 MB / 3.015 GB, free: 124.7 MB / 0.7952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2176/9.726, allocations: 94.98 MB / 3.108 GB, free: 30.75 MB / 0.7952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01446/9.74, allocations: 5.652 MB / 3.113 GB, free: 25.72 MB / 0.7952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006436/9.747, allocations: 208 kB / 3.113 GB, free: 25.52 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04455/9.791, allocations: 3.618 MB / 3.117 GB, free: 21.92 MB / 0.7952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005334/9.797, allocations: 0.8654 MB / 3.118 GB, free: 21.05 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003057/9.8, allocations: 0.6198 MB / 3.118 GB, free: 20.43 MB / 0.7952 GB Notification: Performance of sorting global known variables: time 0.3094/10.11, allocations: 10.13 MB / 3.128 GB, free: 247 MB / 0.7952 GB Notification: Performance of sort global known variables: time 7.51e-07/10.11, allocations: 0 / 3.128 GB, free: 247 MB / 0.7952 GB Notification: Performance of remove unused functions: time 0.09815/10.21, allocations: 38.47 MB / 3.166 GB, free: 247 MB / 0.7952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($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],vol.p) * 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 (610): * Single equations (assignments): 589 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {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 {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006173/10.21, allocations: 1.691 MB / 3.168 GB, free: 246.9 MB / 0.7952 GB Notification: Performance of simCode: created initialization part: time 0.1796/10.39, allocations: 97.93 MB / 3.263 GB, free: 187.4 MB / 0.7952 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/10.39, allocations: 4 kB / 3.263 GB, free: 187.4 MB / 0.7952 GB Notification: Performance of simCode: created simulation system equations: time 0.04856/10.44, allocations: 25.25 MB / 3.288 GB, free: 166.9 MB / 0.7952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05254/10.49, allocations: 7.205 MB / 3.295 GB, free: 161.7 MB / 0.7952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08658/10.58, allocations: 57.2 MB / 3.351 GB, free: 112.1 MB / 0.7952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/10.59, allocations: 9.733 MB / 3.36 GB, free: 104.2 MB / 0.7952 GB Notification: Performance of simCode: alias equations: time 0.03049/10.63, allocations: 7.425 MB / 3.367 GB, free: 96.91 MB / 0.7952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01128/10.64, allocations: 1.926 MB / 3.369 GB, free: 94.98 MB / 0.7952 GB Notification: Performance of SimCode: time 1.213e-06/10.64, allocations: 0 / 3.369 GB, free: 94.98 MB / 0.7952 GB Notification: Performance of Templates: time 1.367/12, allocations: 0.6075 GB / 3.977 GB, free: 73.09 MB / 0.7952 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)