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.002634/0.002633, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.269/3.269, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.002004/0.002004, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007058/0.0007064, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1571, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.4905/0.6477, allocations: 54.87 MB / 429.4 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05007/0.6978, allocations: 23.89 MB / 453.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.7003, allocations: 39.69 kB / 453.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.7038, allocations: 0.6259 MB / 454 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02462/0.7285, allocations: 5.176 MB / 459.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.7435, allocations: 3.296 MB / 462.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005526/0.749, allocations: 2.145 MB / 464.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.7514, allocations: 0.878 MB / 465.4 MB, free: 1.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02993/0.7814, allocations: 9.539 MB / 475 MB, free: 8.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04476/0.8262, allocations: 14.91 MB / 489.9 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000599/0.8269, allocations: 76 kB / 490 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02646/0.8534, allocations: 8.584 MB / 498.6 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.8545, allocations: 394.8 kB / 498.9 MB, free: 128 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000822/0.8554, allocations: 317 kB / 499.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.8692, allocations: 4.771 MB / 0.4922 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8693, allocations: 0 / 0.4922 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.8693, allocations: 0 / 0.4922 GB, free: 11.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.265e-05/0.8694, allocations: 4 kB / 0.4922 GB, free: 11.02 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.01101/0.8804, allocations: 2.371 MB / 0.4945 GB, free: 8.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8805, allocations: 11.97 kB / 0.4945 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.8855, allocations: 489.7 kB / 0.495 GB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.8885, allocations: 0.8636 MB / 0.4959 GB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.8888, allocations: 185.5 kB / 0.496 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.8892, allocations: 116 kB / 0.4961 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006792/0.896, allocations: 1.996 MB / 0.4981 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.8961, allocations: 7.938 kB / 0.4981 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.8964, allocations: 59.88 kB / 0.4982 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.8966, allocations: 74.09 kB / 0.4982 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00683/0.9034, allocations: 1.784 MB / 0.5 GB, free: 2.824 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.02324/0.9267, allocations: 9.281 MB / 0.509 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005614/0.9324, allocations: 1.504 MB / 0.5105 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7083/1.641, allocations: 64.3 MB / 0.5733 GB, free: 105.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00664/1.647, allocations: 1.061 MB / 0.5743 GB, free: 104.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 1.013e-05/1.648, allocations: 0 / 0.5743 GB, free: 104.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.05009/1.698, allocations: 6.554 MB / 0.5807 GB, free: 98.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.698, allocations: 299.7 kB / 0.581 GB, free: 97.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/1.702, allocations: 1.035 MB / 0.582 GB, free: 96.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005418/1.703, allocations: 49.7 kB / 0.5821 GB, free: 96.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000853/1.704, allocations: 0.5664 MB / 0.5826 GB, free: 96.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.705, allocations: 417.7 kB / 0.583 GB, free: 95.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/1.705, allocations: 28 kB / 0.583 GB, free: 95.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/1.705, allocations: 366.8 kB / 0.5834 GB, free: 95.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/1.709, allocations: 0.6324 MB / 0.584 GB, free: 94.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/1.713, allocations: 1.05 MB / 0.585 GB, free: 93.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.717, allocations: 0.7363 MB / 0.5858 GB, free: 92.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/1.717, allocations: 4 kB / 0.5858 GB, free: 92.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01139/1.728, allocations: 2.104 MB / 0.5878 GB, free: 90.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001471/1.73, allocations: 4.446 MB / 0.5922 GB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.097e-05/1.73, allocations: 12 kB / 0.5922 GB, free: 85.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/1.747, allocations: 1.009 MB / 0.5932 GB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/1.75, allocations: 299.5 kB / 0.5934 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/1.758, allocations: 4.033 MB / 0.5974 GB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/1.762, allocations: 126.9 kB / 0.5975 GB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007235/1.763, allocations: 75.97 kB / 0.5976 GB, free: 80.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.763, allocations: 4 kB / 0.5976 GB, free: 80.15 MB / 410.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.004583/1.767, allocations: 0.7568 MB / 0.5983 GB, free: 79.39 MB / 410.7 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated