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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001335/0.001335, allocations: 196 kB / 16.14 MB, free: 6.695 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 72.67 kB / 0.5011 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4304, allocations: 80.2 MB / 0.5794 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6729/1.103, allocations: 353.1 MB / 0.9242 GB, free: 39.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.09332/1.197, allocations: 72.99 MB / 0.9955 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/1.213, allocations: 397.6 kB / 0.9959 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01794/1.231, allocations: 4.422 MB / 1 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03889/1.27, allocations: 12.53 MB / 1.012 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.02324/1.294, allocations: 8.883 MB / 1.021 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.05436/1.348, allocations: 48.24 MB / 1.068 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02925/1.377, allocations: 17.52 MB / 1.085 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03466/1.412, allocations: 14.51 MB / 1.099 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4727/1.885, allocations: 15.71 MB / 1.115 GB, free: 27.85 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.009609/1.894, allocations: 1.209 MB / 1.116 GB, free: 27.85 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/1.916, allocations: 4.871 MB / 1.121 GB, free: 27.85 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.01116/1.927, allocations: 5.088 MB / 1.126 GB, free: 27.85 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02319/1.95, allocations: 9.514 MB / 1.135 GB, free: 26.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.05013/2.001, allocations: 27.9 MB / 1.162 GB, free: 23.7 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/2.001, allocations: 0 / 1.162 GB, free: 23.7 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.464e-06/2.001, allocations: 0 / 1.162 GB, free: 23.7 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.001206/2.002, allocations: 3.5 kB / 1.162 GB, free: 23.7 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.07324/2.075, allocations: 22.11 MB / 1.184 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/2.075, allocations: 9.625 kB / 1.184 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/2.089, allocations: 2.234 MB / 1.186 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03514/2.124, allocations: 15.56 MB / 1.201 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007506/2.125, allocations: 0.6765 MB / 1.202 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006137/2.131, allocations: 0.9275 MB / 1.203 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/2.177, allocations: 16.42 MB / 1.219 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/2.178, allocations: 13.09 kB / 1.219 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005347/2.183, allocations: 326.1 kB / 1.219 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003287/2.183, allocations: 364.1 kB / 1.22 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04176/2.225, allocations: 20.89 MB / 1.24 GB, free: 5.367 MB / 0.7637 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.1612/2.386, allocations: 80.83 MB / 1.319 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02369/2.41, allocations: 12.42 MB / 1.331 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01669/2.427, allocations: 9.739 MB / 1.34 GB, free: 6.898 MB / 0.8575 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.07852/2.505, allocations: 34.18 MB / 1.374 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01862/2.524, allocations: 9.612 MB / 1.383 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02866/2.553, allocations: 8.546 MB / 1.392 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=555): time 3.283e-05/2.553, allocations: 4 kB / 1.392 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=826): time 1.232/3.785, allocations: 214.5 MB / 1.601 GB, free: 365.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1345/3.919, allocations: 55.23 MB / 1.655 GB, free: 309.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02485/3.944, allocations: 14.82 MB / 1.669 GB, free: 294.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.004276/3.949, allocations: 219.8 kB / 1.67 GB, free: 294.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.006523/3.955, allocations: 7.192 MB / 1.677 GB, free: 287.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.008366/3.964, allocations: 2.941 MB / 1.68 GB, free: 284.9 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01451/3.978, allocations: 3.54 MB / 1.683 GB, free: 281.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/3.978, allocations: 301.1 kB / 1.683 GB, free: 281.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.027/4.005, allocations: 18.88 MB / 1.702 GB, free: 262.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02961/4.035, allocations: 21.46 MB / 1.723 GB, free: 239.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05387/4.089, allocations: 36.05 MB / 1.758 GB, free: 202.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.939e-05/4.089, allocations: 16 kB / 1.758 GB, free: 202.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.5576/4.646, allocations: 131.3 MB / 1.886 GB, free: 71.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/4.647, allocations: 53.7 kB / 1.886 GB, free: 71.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.764e-05/4.647, allocations: 52 kB / 1.886 GB, free: 71.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8933/5.54, allocations: 117.9 MB / 2.001 GB, free: 417.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01681/5.557, allocations: 3.271 MB / 2.005 GB, free: 417.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1374/5.694, allocations: 77.54 MB / 2.08 GB, free: 367.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07902/5.773, allocations: 6.731 MB / 2.087 GB, free: 360.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005323/5.779, allocations: 1.28 MB / 2.088 GB, free: 359.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03295/5.811, allocations: 21.9 MB / 2.11 GB, free: 337.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02735/5.839, allocations: 21.01 MB / 2.13 GB, free: 315.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05141/5.89, allocations: 35.17 MB / 2.164 GB, free: 279.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.257e-05/5.89, allocations: 16 kB / 2.164 GB, free: 279.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.5471/6.438, allocations: 129.9 MB / 2.291 GB, free: 150.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/6.438, allocations: 58.7 kB / 2.291 GB, free: 150.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.156e-05/6.438, allocations: 56 kB / 2.291 GB, free: 150.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5344/6.972, allocations: 117.6 MB / 2.406 GB, free: 32.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/6.988, allocations: 3.252 MB / 2.409 GB, free: 29.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4946/7.483, allocations: 81.47 MB / 2.489 GB, free: 394 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07936/7.562, allocations: 6.743 MB / 2.496 GB, free: 393.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007314/7.569, allocations: 1.252 MB / 2.497 GB, free: 393.8 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1015 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008572/7.578, allocations: 0.7335 MB / 2.497 GB, free: 393.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007246/7.585, allocations: 1.469 MB / 2.499 GB, free: 393.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2124/7.798, allocations: 60.05 MB / 2.558 GB, free: 367 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2123/8.01, allocations: 66.44 MB / 2.622 GB, free: 300.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002054/8.01, allocations: 32 kB / 2.622 GB, free: 300.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2048/8.215, allocations: 65.77 MB / 2.687 GB, free: 235.1 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.2747/8.49, allocations: 128.9 MB / 2.813 GB, free: 106.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.861e-05/8.49, allocations: 8.062 kB / 2.813 GB, free: 106.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/8.501, allocations: 1.887 MB / 2.814 GB, free: 104.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7189/9.22, allocations: 81.39 MB / 2.894 GB, free: 404.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005349/9.226, allocations: 0.564 MB / 2.894 GB, free: 404.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1145/9.34, allocations: 55.72 MB / 2.949 GB, free: 393.7 MB / 0.9512 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; 1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valCoo.m_flow ; valHea.m_flow ] = [ -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.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 ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1132/9.453, allocations: 53.17 MB / 3.001 GB, free: 369.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2602/9.714, allocations: 95.08 MB / 3.094 GB, free: 304.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02123/9.735, allocations: 5.657 MB / 3.099 GB, free: 299.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0115/9.746, allocations: 207.9 kB / 3.099 GB, free: 299.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05049/9.797, allocations: 3.632 MB / 3.103 GB, free: 295.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008062/9.805, allocations: 0.8576 MB / 3.104 GB, free: 294.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005046/9.81, allocations: 0.6198 MB / 3.104 GB, free: 294.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.02311/9.833, allocations: 10.14 MB / 3.114 GB, free: 284.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.142e-06/9.833, allocations: 0 / 3.114 GB, free: 284.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.1105/9.944, allocations: 38.46 MB / 3.152 GB, free: 245.8 MB / 0.9512 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 (609): * Single equations (assignments): 588 * 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.006497/9.95, allocations: 1.702 MB / 3.153 GB, free: 244.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.1259/10.08, allocations: 74.09 MB / 3.226 GB, free: 170.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/10.08, allocations: 4 kB / 3.226 GB, free: 170.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.05065/10.13, allocations: 25.2 MB / 3.25 GB, free: 145 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05806/10.19, allocations: 7.356 MB / 3.258 GB, free: 137.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08504/10.27, allocations: 57.12 MB / 3.313 GB, free: 80.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0152/10.29, allocations: 9.745 MB / 3.323 GB, free: 70.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.03258/10.32, allocations: 7.421 MB / 3.33 GB, free: 63.51 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01248/10.33, allocations: 1.926 MB / 3.332 GB, free: 61.58 MB / 0.9512 GB Notification: Performance of SimCode: time 1.362e-06/10.33, allocations: 0 / 3.332 GB, free: 61.58 MB / 0.9512 GB Notification: Performance of Templates: time 2.005/12.34, allocations: 0.5858 GB / 3.918 GB, free: 379.6 MB / 0.9513 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)