Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",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.001075/0.001075, allocations: 105.6 kB / 17.06 MB, free: 6.012 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.001115/0.001115, allocations: 195 kB / 18 MB, free: 5.094 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1721/0.1721, allocations: 37.99 MB / 309.2 MB, free: 5.965 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.001482/0.001482, allocations: 67.91 kB / 431.4 MB, free: 16.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 55.25 MB / 486.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01461/0.1164, allocations: 13.32 MB / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.129, allocations: 7.974 MB / 0.496 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.1306, allocations: 47.75 kB / 0.4961 GB, free: 3.527 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.3487/0.4794, allocations: 91.19 MB / 0.5851 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.4835, allocations: 1.48 MB / 0.5866 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.4863, allocations: 1.045 MB / 0.5876 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02091/0.5073, allocations: 14.52 MB / 0.6018 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.5102, allocations: 1.602 MB / 0.6033 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03279/0.543, allocations: 23.54 MB / 0.6263 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.5463, allocations: 1.893 MB / 0.6282 GB, free: 9.562 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009134/0.5473, allocations: 244 kB / 0.6284 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.5497, allocations: 0.9992 MB / 0.6294 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.5516, allocations: 1.346 MB / 0.6307 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.5542, allocations: 1.432 MB / 0.6321 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005288/0.5595, allocations: 3.982 MB / 0.636 GB, free: 1.699 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5595, allocations: 3.938 kB / 0.636 GB, free: 1.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5595, allocations: 0 / 0.636 GB, free: 1.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5597, allocations: 0 / 0.636 GB, free: 1.695 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.008138/0.5678, allocations: 3.181 MB / 0.6391 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5679, allocations: 15.89 kB / 0.6391 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006467/0.5685, allocations: 315.2 kB / 0.6394 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.571, allocations: 459.2 kB / 0.6398 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/0.5754, allocations: 1.865 MB / 0.6417 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.5756, allocations: 169.2 kB / 0.6418 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007262/0.5763, allocations: 252.3 kB / 0.6421 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005843/0.5822, allocations: 3.183 MB / 0.6452 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.48e-05/0.5823, allocations: 7.938 kB / 0.6452 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.5826, allocations: 90.45 kB / 0.6453 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006435/0.5832, allocations: 211.8 kB / 0.6455 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005279/0.5885, allocations: 2.853 MB / 0.6482 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.6086, allocations: 11.51 MB / 0.6595 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.6127, allocations: 2.591 MB / 0.662 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.6154, allocations: 1.525 MB / 0.6635 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.6156, allocations: 28.58 kB / 0.6635 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002899/0.6185, allocations: 1.697 MB / 0.6652 GB, free: 3.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 6.763e-06/0.6185, allocations: 0 / 0.6652 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02872/0.6473, allocations: 13.99 MB / 0.6789 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.6475, allocations: 417.8 kB / 0.6793 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.6497, allocations: 1.477 MB / 0.6807 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002726/0.65, allocations: 84.75 kB / 0.6808 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/0.6509, allocations: 1.004 MB / 0.6818 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/0.6518, allocations: 0.8784 MB / 0.6826 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000952/0.6528, allocations: 0.5361 MB / 0.6831 GB, free: 368 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6529, allocations: 301.1 kB / 0.6834 GB, free: 64 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.6552, allocations: 1.351 MB / 0.6847 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/0.659, allocations: 2.014 MB / 0.6867 GB, free: 12.43 MB / 0.5137 GB 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.01866/0.6777, allocations: 7.235 MB / 0.6938 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.6778, allocations: 4 kB / 0.6938 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01602/0.6938, allocations: 5.387 MB / 0.699 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.6939, allocations: 71.3 kB / 0.6991 GB, free: 15.32 MB / 0.5294 GB 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.002818/0.6968, allocations: 1.355 MB / 0.7004 GB, free: 13.94 MB / 0.5294 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated