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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.Vsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_Vsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 108.9 kB / 17.06 MB, free: 6.016 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.001117/0.001117, allocations: 192 kB / 18 MB, free: 5.098 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.179/0.179, allocations: 37.98 MB / 309.2 MB, free: 5.953 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.001448/0.001448, allocations: 71.91 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08542, allocations: 55.24 MB / 486.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005653/0.09111, allocations: 4.728 MB / 491.3 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.0934, allocations: 1.474 MB / 492.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.09368, allocations: 11.94 kB / 492.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.09483, allocations: 414.3 kB / 493.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.0955, allocations: 278.6 kB / 493.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.09604, allocations: 211.6 kB / 493.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.09675, allocations: 0.6269 MB / 494.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.09719, allocations: 293.4 kB / 494.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.09764, allocations: 290.8 kB / 494.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.09817, allocations: 318.8 kB / 495.2 MB, free: 204 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.09824, allocations: 36 kB / 495.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.09855, allocations: 139.8 kB / 495.4 MB, free: 28 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.09878, allocations: 203.5 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.09908, allocations: 250.7 kB / 495.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.09973, allocations: 0.5685 MB / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.09974, allocations: 4 kB / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09975, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.09977, allocations: 0 / 496.4 MB, free: 15.01 MB / 382.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.001274/0.1011, allocations: 0.7455 MB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1011, allocations: 11.89 kB / 497.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.493e-05/0.1012, allocations: 82.7 kB / 497.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00075/0.1019, allocations: 104.2 kB / 497.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.1026, allocations: 440.1 kB / 497.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1026, allocations: 36.92 kB / 497.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.1028, allocations: 63.88 kB / 497.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.1034, allocations: 496.8 kB / 498.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1035, allocations: 7.938 kB / 498.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.1035, allocations: 12 kB / 498.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.1037, allocations: 28.98 kB / 498.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.1042, allocations: 347.7 kB / 498.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1064, allocations: 1.731 MB / 0.4887 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.1068, allocations: 306.4 kB / 0.489 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.107, allocations: 153.7 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.107, allocations: 4 kB / 0.4892 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1071, allocations: 38.56 kB / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.1071, allocations: 0 / 0.4892 GB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001876/0.109, allocations: 1.128 MB / 0.4903 GB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.109, allocations: 81.11 kB / 0.4904 GB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1093, allocations: 325.8 kB / 0.4907 GB, free: 8.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.1094, allocations: 37.7 kB / 0.4907 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1095, allocations: 243.9 kB / 0.491 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.1096, allocations: 98.64 kB / 0.4911 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1097, allocations: 73.69 kB / 0.4911 GB, free: 8.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1098, allocations: 342.8 kB / 0.4915 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.11, allocations: 140.3 kB / 0.4916 GB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.1103, allocations: 242.9 kB / 0.4918 GB, free: 7.332 MB / 382.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.002387/0.1127, allocations: 1.036 MB / 0.4928 GB, free: 6.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1127, allocations: 0 / 0.4928 GB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001257/0.1139, allocations: 0.6638 MB / 0.4935 GB, free: 5.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.114, allocations: 11.91 kB / 0.4935 GB, free: 5.547 MB / 382.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.0002358/0.1142, allocations: 156.4 kB / 0.4937 GB, free: 5.395 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated