Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001115/0.001115, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.542/1.542, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007653/0.0007654, allocations: 92.97 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2319, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.04667/0.2786, allocations: 61.26 MB / 436.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03151/0.3102, allocations: 26.08 MB / 462.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.3123, allocations: 47.62 kB / 462.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.3145, allocations: 0.5903 MB / 463.1 MB, free: 8.535 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01804/0.3326, allocations: 5.368 MB / 468.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009908/0.3425, allocations: 3.243 MB / 471.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005574/0.3481, allocations: 4.158 MB / 475.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.3499, allocations: 0.9063 MB / 476.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/0.3665, allocations: 9.741 MB / 486.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02336/0.3899, allocations: 15.46 MB / 0.4902 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005088/0.3904, allocations: 76 kB / 0.4902 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2262/0.6167, allocations: 8.467 MB / 0.4985 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007487/0.6175, allocations: 413.1 kB / 0.4989 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6187, allocations: 0.7668 MB / 0.4996 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00984/0.6286, allocations: 4.871 MB / 0.5044 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6286, allocations: 3.875 kB / 0.5044 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6287, allocations: 0.9375 kB / 0.5044 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.343e-05/0.6287, allocations: 0 / 0.5044 GB, free: 36.71 MB / 378.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.008874/0.6376, allocations: 2.354 MB / 0.5067 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.6377, allocations: 8.969 kB / 0.5067 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.6413, allocations: 488.4 kB / 0.5072 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.6435, allocations: 0.9061 MB / 0.5081 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.6437, allocations: 184.2 kB / 0.5082 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.644, allocations: 111.1 kB / 0.5083 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.6479, allocations: 2.009 MB / 0.5103 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.648, allocations: 5.5 kB / 0.5103 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.6481, allocations: 50.61 kB / 0.5104 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.169e-05/0.6482, allocations: 78.06 kB / 0.5104 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/0.6517, allocations: 1.785 MB / 0.5122 GB, free: 34.68 MB / 378.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.01152/0.6633, allocations: 9.289 MB / 0.5213 GB, free: 29.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.6662, allocations: 1.495 MB / 0.5227 GB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6672, allocations: 0.7024 MB / 0.5234 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1149/0.7821, allocations: 64.32 MB / 0.5862 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/0.7853, allocations: 1.073 MB / 0.5873 GB, free: 10.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 4.539e-06/0.7853, allocations: 0 / 0.5873 GB, free: 10.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.01921/0.8045, allocations: 6.533 MB / 0.5936 GB, free: 4.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.8047, allocations: 299.9 kB / 0.5939 GB, free: 4.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.8062, allocations: 1.04 MB / 0.5949 GB, free: 3.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.8064, allocations: 52.14 kB / 0.595 GB, free: 3.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.8069, allocations: 0.5707 MB / 0.5955 GB, free: 3.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.8074, allocations: 415.8 kB / 0.5959 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8075, allocations: 27.31 kB / 0.596 GB, free: 3.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8076, allocations: 362.3 kB / 0.5963 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.8088, allocations: 0.637 MB / 0.5969 GB, free: 2.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.8102, allocations: 1.048 MB / 0.598 GB, free: 1.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/0.8127, allocations: 1.661 MB / 0.5996 GB, free: 96 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.8127, allocations: 0 / 0.5996 GB, free: 96 kB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004161/0.8169, allocations: 2.174 MB / 0.6017 GB, free: 14.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.8172, allocations: 440.2 kB / 0.6021 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.8173, allocations: 12 kB / 0.6021 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006126/0.8234, allocations: 1.011 MB / 0.6031 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.8247, allocations: 300.5 kB / 0.6034 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.8281, allocations: 4.034 MB / 0.6073 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.8298, allocations: 122.8 kB / 0.6075 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.83, allocations: 73.48 kB / 0.6075 GB, free: 8.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.8301, allocations: 0 / 0.6075 GB, free: 8.965 MB / 442.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.001624/0.8317, allocations: 0.7685 MB / 0.6083 GB, free: 8.508 MB / 442.7 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated