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.0007961/0.0007961, allocations: 95.94 kB / 17.31 MB, free: 5.941 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.0008539/0.0008539, allocations: 178.5 kB / 18.21 MB, free: 5.418 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.793/1.793, allocations: 205.4 MB / 224.4 MB, free: 12.91 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1725/0.1725, allocations: 38.05 MB / 310.7 MB, free: 5.879 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.0005303/0.0005303, allocations: 15.28 kB / 377.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2981, allocations: 56.33 MB / 434.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004825/0.303, allocations: 4.974 MB / 439.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.3051, allocations: 1.653 MB / 440.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.3053, allocations: 19.88 kB / 440.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3057, allocations: 87.44 kB / 440.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.3062, allocations: 254.9 kB / 441.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.3066, allocations: 191.7 kB / 441.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.3072, allocations: 0.9194 MB / 442.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007613/0.308, allocations: 0.5516 MB / 442.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.3082, allocations: 230.9 kB / 443 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3087, allocations: 310.9 kB / 443.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.3087, allocations: 20 kB / 443.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.309, allocations: 139.7 kB / 443.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3091, allocations: 191.5 kB / 443.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.3093, allocations: 252.5 kB / 443.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3096, allocations: 438.9 kB / 444.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3096, allocations: 0 / 444.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3097, allocations: 4 kB / 444.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3097, allocations: 0 / 444.3 MB, free: 8.391 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.001012/0.3107, allocations: 0.6677 MB / 445 MB, free: 7.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3107, allocations: 12.03 kB / 445 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.3115, allocations: 100.3 kB / 445.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.312, allocations: 424.2 kB / 445.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3121, allocations: 29.11 kB / 445.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3122, allocations: 59.89 kB / 445.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.3128, allocations: 492.8 kB / 446.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3129, allocations: 0 / 446.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3129, allocations: 20 kB / 446.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.3131, allocations: 28.97 kB / 446.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.3135, allocations: 347.7 kB / 446.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.3155, allocations: 1.746 MB / 448.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3158, allocations: 306.4 kB / 448.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.316, allocations: 165.5 kB / 448.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.316, allocations: 7.984 kB / 448.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.316, allocations: 42.5 kB / 448.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.3161, allocations: 0 / 448.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001669/0.3177, allocations: 1.105 MB / 449.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3178, allocations: 89.05 kB / 449.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.318, allocations: 325.6 kB / 450.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3181, allocations: 29.7 kB / 450.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3182, allocations: 252.1 kB / 450.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.3183, allocations: 102.6 kB / 450.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3183, allocations: 37.7 kB / 450.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.3184, allocations: 346.8 kB / 451 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3186, allocations: 140.3 kB / 451.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3188, allocations: 242.9 kB / 451.4 MB, free: 0.9258 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.00216/0.321, allocations: 1.03 MB / 452.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.321, allocations: 0 / 452.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001327/0.3223, allocations: 0.6639 MB / 453.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3224, allocations: 7.938 kB / 453.1 MB, free: 15.15 MB / 334.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.000257/0.3227, allocations: 155.8 kB / 453.2 MB, free: 15 MB / 334.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated