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: 101.1 kB / 16.27 MB, free: 6.414 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.001054/0.001054, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8106/0.8106, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 0.506 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3969, allocations: 80.91 MB / 0.585 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6793/1.076, allocations: 355.6 MB / 0.9322 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1115/1.188, allocations: 72.84 MB / 1.003 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01868/1.207, allocations: 429.5 kB / 1.004 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01903/1.226, allocations: 5.311 MB / 1.009 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04431/1.27, allocations: 13.52 MB / 1.022 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.4574/1.728, allocations: 9.616 MB / 1.032 GB, free: 24.19 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04346/1.771, allocations: 37.36 MB / 1.068 GB, free: 24.15 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03/1.801, allocations: 19.81 MB / 1.087 GB, free: 22.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03531/1.836, allocations: 16.62 MB / 1.104 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02865/1.865, allocations: 15.84 MB / 1.119 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00903/1.874, allocations: 1.859 MB / 1.121 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/1.897, allocations: 5.692 MB / 1.126 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01084/1.908, allocations: 5.778 MB / 1.132 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0289/1.936, allocations: 10.31 MB / 1.142 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05121/1.988, allocations: 28.45 MB / 1.17 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.988, allocations: 0 / 1.17 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.356e-06/1.988, allocations: 4 kB / 1.17 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.001008/1.989, allocations: 3.562 kB / 1.17 GB, free: 14.55 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.07701/2.066, allocations: 22.09 MB / 1.192 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/2.066, allocations: 9.109 kB / 1.192 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/2.083, allocations: 2.231 MB / 1.194 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04096/2.124, allocations: 15.3 MB / 1.209 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000859/2.125, allocations: 0.6747 MB / 1.209 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006988/2.132, allocations: 0.9252 MB / 1.21 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04868/2.18, allocations: 16.41 MB / 1.226 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004906/2.181, allocations: 20.91 kB / 1.226 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00606/2.187, allocations: 330.8 kB / 1.227 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/2.187, allocations: 363.3 kB / 1.227 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0478/2.235, allocations: 20.86 MB / 1.247 GB, free: 15.89 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.1576/2.393, allocations: 81.49 MB / 1.327 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/2.415, allocations: 12.36 MB / 1.339 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01643/2.431, allocations: 9.727 MB / 1.348 GB, free: 6.055 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.6421/3.073, allocations: 34.17 MB / 1.382 GB, free: 459 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01426/3.087, allocations: 9.596 MB / 1.391 GB, free: 454.8 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01997/3.107, allocations: 5.754 MB / 1.397 GB, free: 453 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=551): time 3.692e-05/3.108, allocations: 0 / 1.397 GB, free: 453 MB / 0.9357 GB Notification: Performance of matching and sorting (n=822): time 0.9043/4.012, allocations: 216.7 MB / 1.608 GB, free: 247.5 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1321/4.144, allocations: 56 MB / 1.663 GB, free: 190.4 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02183/4.166, allocations: 14.92 MB / 1.678 GB, free: 175.6 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.003493/4.169, allocations: 219.2 kB / 1.678 GB, free: 175.4 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.006682/4.176, allocations: 7.185 MB / 1.685 GB, free: 168.3 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.007542/4.184, allocations: 2.927 MB / 1.688 GB, free: 165.4 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01368/4.197, allocations: 3.539 MB / 1.691 GB, free: 161.9 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/4.197, allocations: 305.1 kB / 1.692 GB, free: 161.6 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02626/4.224, allocations: 18.87 MB / 1.71 GB, free: 142.7 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02871/4.252, allocations: 21.46 MB / 1.731 GB, free: 120.2 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05567/4.308, allocations: 36.03 MB / 1.766 GB, free: 83.32 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.259e-05/4.308, allocations: 16 kB / 1.766 GB, free: 83.3 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.274/5.582, allocations: 131.3 MB / 1.894 GB, free: 409.9 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/5.582, allocations: 61.47 kB / 1.894 GB, free: 409.9 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.961e-05/5.582, allocations: 54.41 kB / 1.894 GB, free: 409.9 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6023/6.184, allocations: 118 MB / 2.01 GB, free: 313.3 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/6.201, allocations: 3.272 MB / 2.013 GB, free: 310.1 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1415/6.342, allocations: 81.58 MB / 2.093 GB, free: 228.4 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0917/6.434, allocations: 6.312 MB / 2.099 GB, free: 222.1 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005972/6.44, allocations: 1.284 MB / 2.1 GB, free: 220.8 MB / 0.9358 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03527/6.476, allocations: 21.89 MB / 2.121 GB, free: 198.9 MB / 0.9358 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02767/6.503, allocations: 21 MB / 2.142 GB, free: 176.9 MB / 0.9358 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05171/6.555, allocations: 35.15 MB / 2.176 GB, free: 140.9 MB / 0.9358 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.408e-05/6.555, allocations: 16 kB / 2.176 GB, free: 140.9 MB / 0.9358 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.9388/7.494, allocations: 129.9 MB / 2.303 GB, free: 400.5 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/7.494, allocations: 58.27 kB / 2.303 GB, free: 400.5 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-05/7.494, allocations: 51.16 kB / 2.303 GB, free: 400.5 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5987/8.093, allocations: 117.7 MB / 2.418 GB, free: 360.9 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/8.109, allocations: 3.243 MB / 2.421 GB, free: 357.9 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1475/8.256, allocations: 86.16 MB / 2.505 GB, free: 272 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09605/8.352, allocations: 6.333 MB / 2.512 GB, free: 265.7 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006519/8.359, allocations: 1.255 MB / 2.513 GB, free: 264.4 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.00732/8.366, allocations: 0.7238 MB / 2.514 GB, free: 263.8 MB / 0.9358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007294/8.373, allocations: 1.461 MB / 2.515 GB, free: 263.1 MB / 0.9358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2225/8.596, allocations: 60.05 MB / 2.574 GB, free: 203.2 MB / 0.9358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2206/8.817, allocations: 66.55 MB / 2.639 GB, free: 136.7 MB / 0.9358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002271/8.817, allocations: 28 kB / 2.639 GB, free: 136.7 MB / 0.9358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2158/9.033, allocations: 65.88 MB / 2.703 GB, free: 70.79 MB / 0.9358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6758/9.709, allocations: 128.6 MB / 2.829 GB, free: 390.7 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001294/9.709, allocations: 6.812 kB / 2.829 GB, free: 390.7 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/9.72, allocations: 1.875 MB / 2.83 GB, free: 390.6 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.336/10.06, allocations: 81.52 MB / 2.91 GB, free: 326.6 MB / 0.9358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004062/10.06, allocations: 0.569 MB / 2.911 GB, free: 326 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1027/10.16, allocations: 58.31 MB / 2.967 GB, free: 267.6 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.1092/10.27, allocations: 54.05 MB / 3.02 GB, free: 212.5 MB / 0.9358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2549/10.53, allocations: 94.86 MB / 3.113 GB, free: 118.5 MB / 0.9358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01586/10.54, allocations: 5.647 MB / 3.118 GB, free: 113.6 MB / 0.9358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007395/10.55, allocations: 204 kB / 3.119 GB, free: 113.4 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05336/10.6, allocations: 3.229 MB / 3.122 GB, free: 110.1 MB / 0.9358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005614/10.61, allocations: 0.8615 MB / 3.123 GB, free: 109.3 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003795/10.61, allocations: 0.6197 MB / 3.123 GB, free: 108.7 MB / 0.9358 GB Notification: Performance of sorting global known variables: time 0.02114/10.63, allocations: 10.22 MB / 3.133 GB, free: 98.51 MB / 0.9358 GB Notification: Performance of sort global known variables: time 6.81e-07/10.63, allocations: 0 / 3.133 GB, free: 98.51 MB / 0.9358 GB Notification: Performance of remove unused functions: time 0.08729/10.72, allocations: 38.1 MB / 3.17 GB, free: 60.52 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.006443/10.73, allocations: 1.773 MB / 3.172 GB, free: 58.99 MB / 0.9358 GB Notification: Performance of simCode: created initialization part: time 0.5675/11.3, allocations: 97.65 MB / 3.268 GB, free: 420.3 MB / 0.9358 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/11.3, allocations: 0 / 3.268 GB, free: 420.3 MB / 0.9358 GB Notification: Performance of simCode: created simulation system equations: time 0.05523/11.35, allocations: 25.22 MB / 3.292 GB, free: 412.4 MB / 0.9358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05424/11.41, allocations: 7.178 MB / 3.299 GB, free: 410.4 MB / 0.9358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08925/11.49, allocations: 51.88 MB / 3.35 GB, free: 361.6 MB / 0.9358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/11.51, allocations: 9.63 MB / 3.359 GB, free: 352.1 MB / 0.9358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01124/11.52, allocations: 1.972 MB / 3.361 GB, free: 350.2 MB / 0.9358 GB Notification: Performance of SimCode: time 8.42e-07/11.52, allocations: 0 / 3.361 GB, free: 350.2 MB / 0.9358 GB Notification: Performance of Templates: time 2.547/14.07, allocations: 1.265 GB / 4.626 GB, free: 314.6 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)