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.00115/0.00115, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001053/0.001053, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.784/0.784, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.84 kB / 0.5067 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 80.9 MB / 0.5857 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.583/0.9139, allocations: 355.6 MB / 0.933 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1011/1.015, allocations: 72.83 MB / 1.004 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01857/1.034, allocations: 429.5 kB / 1.005 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01734/1.051, allocations: 5.309 MB / 1.01 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04025/1.091, allocations: 13.5 MB / 1.023 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.4791/1.571, allocations: 9.737 MB / 1.032 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04516/1.616, allocations: 37.49 MB / 1.069 GB, free: 24.67 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02796/1.644, allocations: 19.8 MB / 1.088 GB, free: 22.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03568/1.679, allocations: 16.71 MB / 1.105 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02846/1.708, allocations: 15.83 MB / 1.12 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.007333/1.715, allocations: 1.859 MB / 1.122 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/1.734, allocations: 5.701 MB / 1.128 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.009465/1.744, allocations: 5.774 MB / 1.133 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02132/1.765, allocations: 10.31 MB / 1.143 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04079/1.806, allocations: 28.74 MB / 1.171 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.806, allocations: 4 kB / 1.171 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.733e-06/1.806, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0007618/1.807, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.7637 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.0643/1.871, allocations: 22.09 MB / 1.193 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.871, allocations: 13.11 kB / 1.193 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.884, allocations: 2.231 MB / 1.195 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/1.921, allocations: 15.84 MB / 1.211 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/1.922, allocations: 0.6622 MB / 1.211 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005083/1.927, allocations: 0.9206 MB / 1.212 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/1.966, allocations: 16.41 MB / 1.228 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/1.966, allocations: 19.75 kB / 1.228 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/1.969, allocations: 322.3 kB / 1.228 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/1.97, allocations: 366.9 kB / 1.229 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03924/2.009, allocations: 20.85 MB / 1.249 GB, free: 15.26 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 removeSimpleEquations (simulation): time 0.14/2.149, allocations: 81.16 MB / 1.328 GB, free: 11.63 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/2.169, allocations: 12.38 MB / 1.34 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01485/2.184, allocations: 9.733 MB / 1.35 GB, free: 5.82 MB / 0.9356 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.5633/2.747, allocations: 34.17 MB / 1.383 GB, free: 458.7 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01544/2.763, allocations: 9.595 MB / 1.393 GB, free: 454.5 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02204/2.785, allocations: 5.755 MB / 1.398 GB, free: 452.7 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=551): time 6.603e-05/2.785, allocations: 1.219 kB / 1.398 GB, free: 452.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=822): time 0.8363/3.621, allocations: 216.6 MB / 1.61 GB, free: 247.2 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1238/3.745, allocations: 55.91 MB / 1.664 GB, free: 190.2 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01907/3.764, allocations: 14.93 MB / 1.679 GB, free: 175.4 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.003402/3.768, allocations: 217.7 kB / 1.679 GB, free: 175.2 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.005019/3.773, allocations: 7.144 MB / 1.686 GB, free: 168.1 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.006598/3.779, allocations: 2.921 MB / 1.689 GB, free: 165.2 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008054/3.787, allocations: 3.54 MB / 1.693 GB, free: 161.7 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/3.787, allocations: 305.1 kB / 1.693 GB, free: 161.4 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02422/3.812, allocations: 18.88 MB / 1.711 GB, free: 142.5 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02623/3.838, allocations: 21.46 MB / 1.732 GB, free: 120 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05275/3.891, allocations: 36.03 MB / 1.767 GB, free: 83.12 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.092e-05/3.891, allocations: 19.94 kB / 1.767 GB, free: 83.11 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.062/4.953, allocations: 131.3 MB / 1.896 GB, free: 409.7 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/4.953, allocations: 54.45 kB / 1.896 GB, free: 409.7 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.112e-05/4.953, allocations: 51.62 kB / 1.896 GB, free: 409.7 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.533/5.486, allocations: 118 MB / 2.011 GB, free: 312.9 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/5.503, allocations: 3.272 MB / 2.014 GB, free: 309.8 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1334/5.636, allocations: 81.56 MB / 2.094 GB, free: 228.1 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0742/5.71, allocations: 6.308 MB / 2.1 GB, free: 221.8 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005414/5.716, allocations: 1.284 MB / 2.101 GB, free: 220.5 MB / 0.9358 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03167/5.747, allocations: 21.9 MB / 2.123 GB, free: 198.6 MB / 0.9358 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02583/5.773, allocations: 21 MB / 2.143 GB, free: 176.6 MB / 0.9358 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04864/5.822, allocations: 35.15 MB / 2.177 GB, free: 140.6 MB / 0.9358 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.679e-05/5.822, allocations: 16 kB / 2.177 GB, free: 140.6 MB / 0.9358 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.8462/6.668, allocations: 129.9 MB / 2.304 GB, free: 400.2 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/6.668, allocations: 54.39 kB / 2.304 GB, free: 400.2 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/6.668, allocations: 52.84 kB / 2.304 GB, free: 400.2 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5452/7.214, allocations: 117.6 MB / 2.419 GB, free: 360.6 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/7.229, allocations: 3.245 MB / 2.422 GB, free: 357.5 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1371/7.366, allocations: 86.11 MB / 2.507 GB, free: 271.5 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07573/7.442, allocations: 6.343 MB / 2.513 GB, free: 265.2 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005609/7.448, allocations: 1.243 MB / 2.514 GB, free: 263.9 MB / 0.9358 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 (1027): * Single equations (assignments): 1011 * 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.007039/7.455, allocations: 0.7323 MB / 2.515 GB, free: 263.3 MB / 0.9358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005944/7.461, allocations: 1.463 MB / 2.516 GB, free: 262.6 MB / 0.9358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1845/7.645, allocations: 60.03 MB / 2.575 GB, free: 202.8 MB / 0.9358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1873/7.833, allocations: 66.55 MB / 2.64 GB, free: 136.2 MB / 0.9358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.879e-05/7.833, allocations: 28 kB / 2.64 GB, free: 136.2 MB / 0.9358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1819/8.015, allocations: 65.89 MB / 2.704 GB, free: 70.32 MB / 0.9358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5816/8.596, allocations: 128.6 MB / 2.83 GB, free: 390.4 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001078/8.596, allocations: 6.781 kB / 2.83 GB, free: 390.4 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/8.607, allocations: 1.874 MB / 2.831 GB, free: 390.3 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3014/8.908, allocations: 81.38 MB / 2.911 GB, free: 326 MB / 0.9358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003457/8.912, allocations: 0.5612 MB / 2.912 GB, free: 325.4 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09157/9.004, allocations: 58.29 MB / 2.968 GB, free: 267.1 MB / 0.9358 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 + 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.104/9.108, allocations: 54 MB / 3.021 GB, free: 212 MB / 0.9358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2272/9.335, allocations: 94.87 MB / 3.114 GB, free: 118 MB / 0.9358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01846/9.353, allocations: 5.649 MB / 3.119 GB, free: 113.1 MB / 0.9358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006789/9.36, allocations: 208 kB / 3.12 GB, free: 112.9 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04397/9.404, allocations: 3.233 MB / 3.123 GB, free: 109.7 MB / 0.9358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004704/9.409, allocations: 0.8575 MB / 3.124 GB, free: 108.8 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002377/9.411, allocations: 0.6159 MB / 3.124 GB, free: 108.2 MB / 0.9358 GB Notification: Performance of sorting global known variables: time 0.01782/9.429, allocations: 10.22 MB / 3.134 GB, free: 98.03 MB / 0.9358 GB Notification: Performance of sort global known variables: time 2.6e-07/9.429, allocations: 0 / 3.134 GB, free: 98.03 MB / 0.9358 GB Notification: Performance of remove unused functions: time 0.08332/9.512, allocations: 38.1 MB / 3.171 GB, free: 60.04 MB / 0.9358 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 (605): * Single equations (assignments): 584 * 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.005825/9.518, allocations: 1.77 MB / 3.173 GB, free: 58.52 MB / 0.9358 GB Notification: Performance of simCode: created initialization part: time 0.4538/9.972, allocations: 74.11 MB / 3.245 GB, free: 423.4 MB / 0.9358 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/9.972, allocations: 2.344 kB / 3.245 GB, free: 423.4 MB / 0.9358 GB Notification: Performance of simCode: created simulation system equations: time 0.0509/10.02, allocations: 25.23 MB / 3.27 GB, free: 418.7 MB / 0.9358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05267/10.08, allocations: 7.163 MB / 3.277 GB, free: 416.8 MB / 0.9358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07959/10.16, allocations: 51.09 MB / 3.327 GB, free: 384.7 MB / 0.9358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01146/10.17, allocations: 9.74 MB / 3.336 GB, free: 375.2 MB / 0.9358 GB Notification: Performance of simCode: alias equations: time 0.02532/10.19, allocations: 7.443 MB / 3.344 GB, free: 368.3 MB / 0.9358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01115/10.2, allocations: 1.921 MB / 3.346 GB, free: 366.4 MB / 0.9358 GB Notification: Performance of SimCode: time 8.32e-07/10.2, allocations: 3.656 kB / 3.346 GB, free: 366.4 MB / 0.9358 GB Notification: Performance of Templates: time 1.13/11.33, allocations: 0.6051 GB / 3.951 GB, free: 188.7 MB / 0.9358 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)