Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006599/0.006599, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001288/0.001288, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.792/0.792, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.69 kB / 0.5814 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.716/0.865, allocations: 355.6 MB / 1.007 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.5383/1.403, allocations: 72.82 MB / 1.078 GB, free: 36.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01768/1.421, allocations: 428.6 kB / 1.079 GB, free: 36.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01865/1.44, allocations: 5.437 MB / 1.084 GB, free: 36.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04178/1.482, allocations: 14.14 MB / 1.098 GB, free: 36.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02228/1.504, allocations: 9.764 MB / 1.107 GB, free: 35.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.05072/1.555, allocations: 37.57 MB / 1.144 GB, free: 35.21 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02927/1.584, allocations: 19.8 MB / 1.163 GB, free: 29.6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03565/1.62, allocations: 17.13 MB / 1.18 GB, free: 20.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03156/1.651, allocations: 15.83 MB / 1.195 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007328/1.659, allocations: 1.855 MB / 1.197 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02085/1.679, allocations: 5.706 MB / 1.203 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01099/1.69, allocations: 5.774 MB / 1.208 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02803/1.718, allocations: 10.3 MB / 1.218 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.06055/1.779, allocations: 28.78 MB / 1.247 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.779, allocations: 0 / 1.247 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.358e-06/1.779, allocations: 3.984 kB / 1.247 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.001153/1.78, allocations: 4 kB / 1.247 GB, free: 3.551 MB / 0.8575 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.06936/1.85, allocations: 22.09 MB / 1.268 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.85, allocations: 8.031 kB / 1.268 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/1.862, allocations: 2.235 MB / 1.27 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03665/1.899, allocations: 15.84 MB / 1.286 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007276/1.9, allocations: 0.667 MB / 1.286 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004862/1.905, allocations: 0.9212 MB / 1.287 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04025/1.945, allocations: 16.41 MB / 1.303 GB, free: 9.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/1.945, allocations: 15.83 kB / 1.303 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00372/1.949, allocations: 326.6 kB / 1.304 GB, free: 9.184 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003824/1.949, allocations: 367.2 kB / 1.304 GB, free: 8.824 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04113/1.991, allocations: 20.86 MB / 1.324 GB, free: 3.953 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 removeSimpleEquations (simulation): time 0.1434/2.134, allocations: 81.15 MB / 1.404 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/2.156, allocations: 12.37 MB / 1.416 GB, free: 3.961 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6991/2.855, allocations: 9.773 MB / 1.425 GB, free: 490.2 MB / 1.029 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.07429/2.929, allocations: 34.18 MB / 1.459 GB, free: 473.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01715/2.947, allocations: 9.588 MB / 1.468 GB, free: 468.7 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02044/2.967, allocations: 5.752 MB / 1.474 GB, free: 467 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 4.769e-05/2.967, allocations: 0 / 1.474 GB, free: 467 MB / 1.029 GB Notification: Performance of matching and sorting (n=822): time 0.871/3.838, allocations: 216.6 MB / 1.685 GB, free: 264.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1298/3.968, allocations: 55.92 MB / 1.74 GB, free: 207.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02385/3.992, allocations: 14.92 MB / 1.754 GB, free: 193.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003892/3.996, allocations: 225.6 kB / 1.755 GB, free: 192.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007129/4.003, allocations: 7.145 MB / 1.762 GB, free: 185.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007635/4.011, allocations: 2.926 MB / 1.764 GB, free: 182.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01283/4.023, allocations: 3.531 MB / 1.768 GB, free: 179.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.911e-05/4.024, allocations: 305.1 kB / 1.768 GB, free: 178.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02652/4.05, allocations: 18.88 MB / 1.787 GB, free: 160 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02884/4.079, allocations: 21.46 MB / 1.808 GB, free: 137.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05486/4.134, allocations: 36.04 MB / 1.843 GB, free: 100.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.689e-05/4.134, allocations: 12.12 kB / 1.843 GB, free: 100.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.313/5.447, allocations: 131.3 MB / 1.971 GB, free: 440.3 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/5.447, allocations: 62.52 kB / 1.971 GB, free: 440.3 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/5.447, allocations: 58.56 kB / 1.971 GB, free: 440.3 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5453/5.992, allocations: 118 MB / 2.086 GB, free: 363.8 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/6.009, allocations: 3.277 MB / 2.09 GB, free: 360.6 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.132/6.141, allocations: 81.54 MB / 2.169 GB, free: 279 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07314/6.214, allocations: 6.309 MB / 2.175 GB, free: 272.7 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005305/6.22, allocations: 1.282 MB / 2.177 GB, free: 271.5 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03218/6.252, allocations: 21.9 MB / 2.198 GB, free: 249.5 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0259/6.278, allocations: 21.01 MB / 2.218 GB, free: 227.5 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05176/6.329, allocations: 35.14 MB / 2.253 GB, free: 191.5 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.47e-05/6.33, allocations: 19.98 kB / 2.253 GB, free: 191.5 MB / 1.03 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5551/6.885, allocations: 129.9 MB / 2.38 GB, free: 62.37 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/6.885, allocations: 66.75 kB / 2.38 GB, free: 62.3 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/6.885, allocations: 53.41 kB / 2.38 GB, free: 62.25 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9852/7.87, allocations: 117.6 MB / 2.495 GB, free: 424.3 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/7.886, allocations: 3.248 MB / 2.498 GB, free: 423.3 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.147/8.033, allocations: 86.1 MB / 2.582 GB, free: 354.8 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07156/8.105, allocations: 6.346 MB / 2.588 GB, free: 348.4 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004919/8.11, allocations: 1.243 MB / 2.589 GB, free: 347.2 MB / 1.03 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.004903/8.115, allocations: 0.7311 MB / 2.59 GB, free: 346.5 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005447/8.12, allocations: 1.46 MB / 2.591 GB, free: 345.8 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1905/8.31, allocations: 60.04 MB / 2.65 GB, free: 286.1 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1872/8.498, allocations: 66.56 MB / 2.715 GB, free: 219.6 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/8.498, allocations: 28 kB / 2.715 GB, free: 219.5 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1865/8.684, allocations: 65.87 MB / 2.779 GB, free: 153.7 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2711/8.956, allocations: 128.6 MB / 2.905 GB, free: 25.2 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/8.956, allocations: 0 / 2.905 GB, free: 25.2 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01061/8.966, allocations: 1.872 MB / 2.907 GB, free: 23.33 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7606/9.727, allocations: 81.38 MB / 2.986 GB, free: 417.9 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004301/9.731, allocations: 0.5688 MB / 2.987 GB, free: 417.6 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09631/9.828, allocations: 58.29 MB / 3.044 GB, free: 381.4 MB / 1.03 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.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 + (-bou.ports[1].m_flow) - valHea.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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.1084/9.936, allocations: 53.98 MB / 3.097 GB, free: 326.5 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.233/10.17, allocations: 94.89 MB / 3.189 GB, free: 232.5 MB / 1.03 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/10.19, allocations: 5.651 MB / 3.195 GB, free: 227.6 MB / 1.03 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006711/10.19, allocations: 211.9 kB / 3.195 GB, free: 227.4 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04377/10.24, allocations: 3.224 MB / 3.198 GB, free: 224.2 MB / 1.03 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005631/10.24, allocations: 0.8615 MB / 3.199 GB, free: 223.3 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003855/10.25, allocations: 0.6198 MB / 3.199 GB, free: 222.7 MB / 1.03 GB Notification: Performance of sorting global known variables: time 0.01935/10.26, allocations: 10.21 MB / 3.209 GB, free: 212.5 MB / 1.03 GB Notification: Performance of sort global known variables: time 5.11e-07/10.26, allocations: 0 / 3.209 GB, free: 212.5 MB / 1.03 GB Notification: Performance of remove unused functions: time 0.08321/10.35, allocations: 38.09 MB / 3.247 GB, free: 174.6 MB / 1.03 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.006039/10.35, allocations: 1.772 MB / 3.248 GB, free: 173 MB / 1.03 GB Notification: Performance of simCode: created initialization part: time 0.1284/10.48, allocations: 74.12 MB / 3.321 GB, free: 98.94 MB / 1.03 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/10.48, allocations: 1.812 kB / 3.321 GB, free: 98.94 MB / 1.03 GB Notification: Performance of simCode: created simulation system equations: time 0.05139/10.53, allocations: 25.24 MB / 3.345 GB, free: 73.71 MB / 1.03 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05707/10.59, allocations: 7.161 MB / 3.352 GB, free: 66.79 MB / 1.03 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/10.69, allocations: 51.1 MB / 3.402 GB, free: 15.7 MB / 1.03 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02004/10.71, allocations: 9.732 MB / 3.412 GB, free: 5.918 MB / 1.03 GB Notification: Performance of simCode: alias equations: time 0.5027/11.22, allocations: 7.437 MB / 3.419 GB, free: 415.5 MB / 1.03 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01471/11.23, allocations: 1.92 MB / 3.421 GB, free: 415.5 MB / 1.03 GB Notification: Performance of SimCode: time 1.383e-06/11.23, allocations: 2.625 kB / 3.421 GB, free: 415.5 MB / 1.03 GB Notification: Performance of Templates: time 1.312/12.54, allocations: 0.6089 GB / 4.03 GB, free: 342 MB / 1.03 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)