Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_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.001559/0.001559, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001828/0.001828, allocations: 190 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 329.4 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.81 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09561, allocations: 58.06 MB / 456.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006676/0.1023, allocations: 5.388 MB / 461.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.105, allocations: 1.593 MB / 463.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.1053, allocations: 31.81 kB / 463.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1065, allocations: 394.5 kB / 463.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.107, allocations: 254.9 kB / 464 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1075, allocations: 191.7 kB / 464.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.1083, allocations: 0.6269 MB / 464.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.1089, allocations: 321.2 kB / 465.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.1092, allocations: 274.9 kB / 465.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.1097, allocations: 342.9 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.1097, allocations: 32 kB / 465.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.11, allocations: 143.8 kB / 465.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1102, allocations: 211.4 kB / 466.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.1104, allocations: 242.8 kB / 466.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.111, allocations: 0.5762 MB / 466.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1111, allocations: 0 / 466.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1111, allocations: 0 / 466.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1111, allocations: 0 / 466.9 MB, free: 13.78 MB / 350.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.001222/0.1123, allocations: 0.7456 MB / 467.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1124, allocations: 15.89 kB / 467.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.1132, allocations: 104.3 kB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.1139, allocations: 428.1 kB / 468.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1139, allocations: 25.12 kB / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1141, allocations: 67.86 kB / 468.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.1149, allocations: 496.8 kB / 468.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1149, allocations: 0 / 468.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.115, allocations: 19.98 kB / 468.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/0.1152, allocations: 24.98 kB / 468.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.1158, allocations: 347.7 kB / 469.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.1182, allocations: 1.742 MB / 470.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.1186, allocations: 306.4 kB / 471.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.1188, allocations: 153.7 kB / 471.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1189, allocations: 4 kB / 471.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1189, allocations: 30.56 kB / 471.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.1189, allocations: 4 kB / 471.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002281/0.1212, allocations: 1.116 MB / 472.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1213, allocations: 92.92 kB / 472.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1217, allocations: 329.6 kB / 472.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1217, allocations: 29.83 kB / 472.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1219, allocations: 259.9 kB / 473.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.122, allocations: 90.66 kB / 473.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1222, allocations: 81.58 kB / 473.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1223, allocations: 346.8 kB / 473.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1225, allocations: 144.2 kB / 473.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1228, allocations: 231.2 kB / 474.1 MB, free: 6.188 MB / 350.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.002643/0.1255, allocations: 1.049 MB / 475.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1255, allocations: 4 kB / 475.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001378/0.1269, allocations: 0.6445 MB / 475.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1269, allocations: 7.938 kB / 475.8 MB, free: 4.41 MB / 350.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.0002528/0.1272, allocations: 159.8 kB / 475.9 MB, free: 4.254 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated