Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 114.8 kB / 17.69 MB, free: 5.312 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.001134/0.001134, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1825/0.1825, allocations: 37.98 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2603, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005596/0.2659, allocations: 4.738 MB / 436.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2681, allocations: 1.473 MB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.2683, allocations: 11.94 kB / 438.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2693, allocations: 406.2 kB / 438.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.2699, allocations: 286.6 kB / 438.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.2704, allocations: 211.5 kB / 439.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005703/0.271, allocations: 0.623 MB / 439.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.2715, allocations: 297.2 kB / 440 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.2718, allocations: 278.9 kB / 440.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.2723, allocations: 318.9 kB / 440.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.2724, allocations: 36 kB / 440.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.2727, allocations: 143.7 kB / 440.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.2729, allocations: 203.5 kB / 441 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.2731, allocations: 250.8 kB / 441.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.2738, allocations: 0.5762 MB / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2738, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.2738, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2738, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001341/0.2752, allocations: 0.734 MB / 442.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2752, allocations: 19.83 kB / 442.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/0.276, allocations: 112.1 kB / 442.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.2768, allocations: 448.1 kB / 443.1 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2768, allocations: 29.12 kB / 443.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.277, allocations: 51.98 kB / 443.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.2776, allocations: 492.8 kB / 443.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2777, allocations: 4 kB / 443.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.2777, allocations: 16 kB / 443.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.2779, allocations: 28.97 kB / 443.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.2784, allocations: 351.7 kB / 444.1 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.2805, allocations: 1.731 MB / 445.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.2808, allocations: 310 kB / 446.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.281, allocations: 157.7 kB / 446.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.281, allocations: 4 kB / 446.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.281, allocations: 42.5 kB / 446.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.281, allocations: 0 / 446.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.0017/0.2827, allocations: 1.122 MB / 447.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.2828, allocations: 84.98 kB / 447.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.2831, allocations: 329.6 kB / 447.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.2831, allocations: 29.7 kB / 447.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2832, allocations: 244 kB / 448.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.2833, allocations: 106.5 kB / 448.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2834, allocations: 65.7 kB / 448.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2835, allocations: 350.8 kB / 448.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2837, allocations: 148.3 kB / 448.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.284, allocations: 238.9 kB / 449 MB, free: 2.082 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.2862, allocations: 1.032 MB / 450 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2862, allocations: 4 kB / 450 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00107/0.2873, allocations: 0.652 MB / 450.7 MB, free: 328 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.2873, allocations: 7.938 kB / 450.7 MB, free: 320 kB / 318.1 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 simplifyComplexFunction (initialization): time 0.0002172/0.2875, allocations: 164.7 kB / 450.8 MB, free: 152 kB / 318.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated