Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 183.8 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007766/0.0007766, allocations: 87.86 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1963, allocations: 47.58 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.59, allocations: 2.794 GB / 3.162 GB, free: 82.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/5.591, allocations: 82.16 kB / 3.162 GB, free: 82.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.151/7.741, allocations: 0.6675 GB / 3.829 GB, free: 40.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.714e-06/7.741, allocations: 0 / 3.829 GB, free: 40.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001219/7.741, allocations: 32.84 kB / 3.829 GB, free: 40.27 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.009866/7.751, allocations: 2.849 MB / 3.832 GB, free: 38.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/7.751, allocations: 9.688 kB / 3.832 GB, free: 38.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/7.756, allocations: 0.5582 MB / 3.833 GB, free: 38.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/7.758, allocations: 1.016 MB / 3.834 GB, free: 38.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/7.758, allocations: 184.2 kB / 3.834 GB, free: 38.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004547/7.759, allocations: 118.3 kB / 3.834 GB, free: 38.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/7.764, allocations: 2.01 MB / 3.836 GB, free: 37.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/7.764, allocations: 10 kB / 3.836 GB, free: 37.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/7.764, allocations: 53.17 kB / 3.836 GB, free: 37.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/7.764, allocations: 80.2 kB / 3.836 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/7.768, allocations: 1.75 MB / 3.838 GB, free: 37.9 MB / 458.7 MB 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.01196/7.78, allocations: 9.304 MB / 3.847 GB, free: 32.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/7.783, allocations: 1.471 MB / 3.848 GB, free: 32.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/7.784, allocations: 0.6928 MB / 3.849 GB, free: 32.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1069/7.891, allocations: 63.4 MB / 3.911 GB, free: 24.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/7.894, allocations: 1.072 MB / 3.912 GB, free: 24.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 4.719e-06/7.894, allocations: 0 / 3.912 GB, free: 24.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=121): time 0.01728/7.911, allocations: 6.517 MB / 3.918 GB, free: 20.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/7.912, allocations: 299.2 kB / 3.919 GB, free: 20.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/7.913, allocations: 1.04 MB / 3.92 GB, free: 19.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/7.913, allocations: 45.7 kB / 3.92 GB, free: 19.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/7.914, allocations: 0.5695 MB / 3.92 GB, free: 18.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/7.914, allocations: 408.6 kB / 3.921 GB, free: 18.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/7.914, allocations: 37.53 kB / 3.921 GB, free: 18.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/7.914, allocations: 363.2 kB / 3.921 GB, free: 18.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/7.915, allocations: 0.6235 MB / 3.922 GB, free: 17.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/7.916, allocations: 1.034 MB / 3.923 GB, free: 16.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/7.919, allocations: 1.647 MB / 3.924 GB, free: 14.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/7.919, allocations: 8 kB / 3.924 GB, free: 14.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003648/7.922, allocations: 2.121 MB / 3.926 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/7.923, allocations: 429.8 kB / 3.927 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/7.923, allocations: 12 kB / 3.927 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006367/7.929, allocations: 0.9895 MB / 3.928 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/7.93, allocations: 296.7 kB / 3.928 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/7.934, allocations: 4.026 MB / 3.932 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/7.936, allocations: 134.8 kB / 3.932 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/7.936, allocations: 74.88 kB / 3.932 GB, free: 7.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/7.936, allocations: 4 kB / 3.932 GB, free: 7.105 MB / 490.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/7.938, allocations: 0.7546 MB / 3.933 GB, free: 6.41 MB / 490.7 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated