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.001537/0.001537, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001779/0.001779, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.33/1.33, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1862/0.1862, allocations: 38.04 MB / 330.4 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 66.44 kB / 399.5 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1074, allocations: 58.06 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00647/0.1139, allocations: 4.729 MB / 462.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1165, allocations: 1.426 MB / 463.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.1168, allocations: 19.88 kB / 463.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1181, allocations: 402.2 kB / 464.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.1189, allocations: 278.7 kB / 464.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.1195, allocations: 219.5 kB / 464.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008392/0.1204, allocations: 0.623 MB / 465.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.1209, allocations: 297.2 kB / 465.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.1215, allocations: 282.9 kB / 465.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.1222, allocations: 314.9 kB / 466.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.1223, allocations: 36 kB / 466.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.1226, allocations: 139.8 kB / 466.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.1229, allocations: 199.5 kB / 466.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.1233, allocations: 250.8 kB / 466.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.124, allocations: 0.5762 MB / 467.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.124, allocations: 0 / 467.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.124, allocations: 0 / 467.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.1241, allocations: 0 / 467.3 MB, free: 14.27 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.001478/0.1255, allocations: 0.7456 MB / 468 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1256, allocations: 15.89 kB / 468 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.1265, allocations: 104.3 kB / 468.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.1272, allocations: 420.1 kB / 468.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.1272, allocations: 29.11 kB / 468.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.1274, allocations: 59.97 kB / 468.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.1282, allocations: 496.8 kB / 469.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1282, allocations: 11.84 kB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.1283, allocations: 16 kB / 469.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.1285, allocations: 24.98 kB / 469.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.1291, allocations: 351.7 kB / 469.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.1317, allocations: 1.735 MB / 471.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1321, allocations: 306.4 kB / 471.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1323, allocations: 157.6 kB / 471.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1323, allocations: 7.938 kB / 471.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1324, allocations: 34.56 kB / 471.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.1324, allocations: 0 / 471.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002174/0.1346, allocations: 1.124 MB / 472.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1346, allocations: 85.05 kB / 473 MB, free: 8.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.135, allocations: 329.6 kB / 473.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.135, allocations: 37.64 kB / 473.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1352, allocations: 252.1 kB / 473.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/0.1353, allocations: 94.64 kB / 473.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1355, allocations: 73.69 kB / 473.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1356, allocations: 346.8 kB / 474.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1359, allocations: 144.2 kB / 474.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1362, allocations: 231.2 kB / 474.4 MB, free: 6.691 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.002745/0.1389, allocations: 1.045 MB / 475.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1389, allocations: 0 / 475.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001304/0.1402, allocations: 0.6566 MB / 476.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1403, allocations: 11.94 kB / 476.1 MB, free: 4.906 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.0002481/0.1405, allocations: 151.8 kB / 476.3 MB, free: 4.758 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated