Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 182.2 kB / 16.71 MB, free: 4.836 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.201/1.201, allocations: 225.7 MB / 243.2 MB, free: 8.508 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.0007076/0.0007077, allocations: 91.02 kB / 294.4 MB, free: 9.531 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.2861/0.2861, allocations: 38.18 MB / 383.7 MB, free: 40.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002955, allocations: 12 kB / 453.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2775, allocations: 59.14 MB / 0.5007 GB, free: 38.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005073/0.2827, allocations: 4.851 MB / 0.5054 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.2852, allocations: 2.313 MB / 0.5077 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.2855, allocations: 27.81 kB / 0.5077 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.2858, allocations: 87.47 kB / 0.5078 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005978/0.2864, allocations: 253 kB / 0.508 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.2869, allocations: 198.1 kB / 0.5082 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.2878, allocations: 0.9162 MB / 0.5091 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.2887, allocations: 0.7668 MB / 0.5099 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.289, allocations: 238.4 kB / 0.5101 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.2896, allocations: 314 kB / 0.5104 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.2896, allocations: 18.28 kB / 0.5104 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.2899, allocations: 135 kB / 0.5105 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.2901, allocations: 193.9 kB / 0.5107 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.2904, allocations: 241 kB / 0.5109 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.2909, allocations: 0.5544 MB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2909, allocations: 1.188 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2909, allocations: 0 / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2909, allocations: 0.5 kB / 0.5115 GB, free: 34.54 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009878/0.2919, allocations: 0.665 MB / 0.5121 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.292, allocations: 14.98 kB / 0.5122 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/0.2926, allocations: 103.4 kB / 0.5123 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.2932, allocations: 418.7 kB / 0.5127 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2932, allocations: 31.41 kB / 0.5127 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2934, allocations: 61.95 kB / 0.5127 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.294, allocations: 493.9 kB / 0.5132 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.294, allocations: 4.641 kB / 0.5132 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.2941, allocations: 10.94 kB / 0.5132 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.2942, allocations: 37.14 kB / 0.5133 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.2947, allocations: 342 kB / 0.5136 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.2966, allocations: 1.743 MB / 0.5153 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.2969, allocations: 304.3 kB / 0.5156 GB, free: 31.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.2971, allocations: 161.5 kB / 0.5157 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2971, allocations: 3.062 kB / 0.5157 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.2972, allocations: 34.56 kB / 0.5158 GB, free: 31.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.2972, allocations: 4 kB / 0.5158 GB, free: 31.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001603/0.2988, allocations: 1.105 MB / 0.5169 GB, free: 31.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.2988, allocations: 91.77 kB / 0.5169 GB, free: 31.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.2991, allocations: 332.2 kB / 0.5173 GB, free: 30.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2991, allocations: 30.73 kB / 0.5173 GB, free: 30.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2993, allocations: 241.8 kB / 0.5175 GB, free: 30.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.2993, allocations: 104.4 kB / 0.5176 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.2993, allocations: 5.781 kB / 0.5176 GB, free: 30.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.2994, allocations: 345.2 kB / 0.518 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2996, allocations: 146.4 kB / 0.5181 GB, free: 30.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2999, allocations: 228.2 kB / 0.5183 GB, free: 30.02 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.002216/0.3021, allocations: 1.035 MB / 0.5193 GB, free: 29.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3021, allocations: 0 / 0.5193 GB, free: 29.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001133/0.3032, allocations: 0.658 MB / 0.52 GB, free: 29.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3033, allocations: 9.875 kB / 0.52 GB, free: 29.26 MB / 378.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.0002064/0.3035, allocations: 151.1 kB / 0.5201 GB, free: 29.2 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated