Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009309/0.0009311, allocations: 183.8 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 225.7 MB / 243.2 MB, free: 8.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 93.27 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2629/0.2629, allocations: 38.18 MB / 383.7 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 12.22 kB / 453.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2509, allocations: 59.15 MB / 0.5007 GB, free: 38.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008336/0.2592, allocations: 10.56 MB / 0.511 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005935/0.2652, allocations: 6.72 MB / 0.5176 GB, free: 28.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.2659, allocations: 57.16 kB / 0.5176 GB, free: 28.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.2666, allocations: 345.8 kB / 0.5179 GB, free: 28.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.2682, allocations: 1.068 MB / 0.519 GB, free: 27.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2694, allocations: 0.6531 MB / 0.5196 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.2718, allocations: 3.796 MB / 0.5233 GB, free: 26.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.2736, allocations: 2.171 MB / 0.5254 GB, free: 24.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.2745, allocations: 0.8743 MB / 0.5263 GB, free: 24.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.2757, allocations: 1.359 MB / 0.5276 GB, free: 23.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.2759, allocations: 81.09 kB / 0.5277 GB, free: 23.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009155/0.2768, allocations: 0.6628 MB / 0.5284 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005637/0.2774, allocations: 0.8634 MB / 0.5292 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.278, allocations: 0.9152 MB / 0.5301 GB, free: 22.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2795, allocations: 2.452 MB / 0.5325 GB, free: 22.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2795, allocations: 3.938 kB / 0.5325 GB, free: 22.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2795, allocations: 0 / 0.5325 GB, free: 22.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.2795, allocations: 0 / 0.5325 GB, free: 22.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.002748/0.2823, allocations: 1.987 MB / 0.5344 GB, free: 20.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2823, allocations: 12.55 kB / 0.5344 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.2837, allocations: 338.2 kB / 0.5348 GB, free: 20.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.2851, allocations: 1.089 MB / 0.5358 GB, free: 20.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.2851, allocations: 119.9 kB / 0.5359 GB, free: 20.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/0.2855, allocations: 198 kB / 0.5361 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.2882, allocations: 2.461 MB / 0.5385 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.2883, allocations: 7.125 kB / 0.5385 GB, free: 18.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.2884, allocations: 71.62 kB / 0.5386 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003822/0.2888, allocations: 166.5 kB / 0.5388 GB, free: 18.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.2915, allocations: 2.153 MB / 0.5409 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009457/0.3009, allocations: 9.278 MB / 0.5499 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.3032, allocations: 2.117 MB / 0.552 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3047, allocations: 1.175 MB / 0.5531 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.171e-05/0.3048, allocations: 26.86 kB / 0.5532 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.3066, allocations: 1.405 MB / 0.5545 GB, free: 10.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=205): time 3.587e-06/0.3067, allocations: 0 / 0.5545 GB, free: 10.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=213): time 0.009398/0.3161, allocations: 6.857 MB / 0.5612 GB, free: 6.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.3162, allocations: 285.8 kB / 0.5615 GB, free: 6.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.3171, allocations: 0.9185 MB / 0.5624 GB, free: 5.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/0.3172, allocations: 67.45 kB / 0.5625 GB, free: 5.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.3176, allocations: 0.7363 MB / 0.5632 GB, free: 4.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.3179, allocations: 0.6544 MB / 0.5638 GB, free: 4.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.318, allocations: 40.81 kB / 0.5639 GB, free: 4.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.3181, allocations: 408.8 kB / 0.5643 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3194, allocations: 0.955 MB / 0.5652 GB, free: 3.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.3209, allocations: 1.517 MB / 0.5667 GB, free: 2.184 MB / 378.7 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.01143/0.3323, allocations: 6.171 MB / 0.5727 GB, free: 11.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.3323, allocations: 7.984 kB / 0.5727 GB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007196/0.3395, allocations: 4.069 MB / 0.5767 GB, free: 7.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.3396, allocations: 63.41 kB / 0.5767 GB, free: 7.586 MB / 394.7 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.001383/0.341, allocations: 0.984 MB / 0.5777 GB, free: 6.605 MB / 394.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated