Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.PhaseShifts.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.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_PhaseShifts",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.001319/0.001319, allocations: 100.8 kB / 16.5 MB, free: 6.641 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.00144/0.00144, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.376/1.376, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1649/0.1649, allocations: 37.99 MB / 308.6 MB, free: 6.234 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.001289/0.001289, allocations: 60.42 kB / 374.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1946, allocations: 55.25 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.PhaseShifts): time 0.009155/0.2038, allocations: 13.56 MB / 443.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00885/0.2127, allocations: 5.006 MB / 448.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.215, allocations: 83.44 kB / 448.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.2188, allocations: 1.342 MB / 450 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.2234, allocations: 1.448 MB / 451.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.2263, allocations: 0.8072 MB / 452.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007794/0.2341, allocations: 5.795 MB / 458 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.2366, allocations: 1.015 MB / 459 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.2395, allocations: 1.136 MB / 460.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.2431, allocations: 2.041 MB / 462.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006041/0.2437, allocations: 112 kB / 462.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.2456, allocations: 0.7175 MB / 463 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.2472, allocations: 1.224 MB / 464.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.2488, allocations: 1.131 MB / 465.4 MB, free: 204 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.252, allocations: 3.068 MB / 468.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.252, allocations: 0 / 468.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.252, allocations: 0 / 468.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.2522, allocations: 0 / 468.4 MB, free: 13.12 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: 576 * Number of variables: 576 Notification: Performance of Generate backend data structure: time 0.004805/0.257, allocations: 2.543 MB / 471 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.257, allocations: 16.02 kB / 471 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003473/0.2574, allocations: 312.8 kB / 471.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.2596, allocations: 469.5 kB / 471.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.2616, allocations: 1.336 MB / 473.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/0.2617, allocations: 140.1 kB / 473.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.2621, allocations: 235.7 kB / 473.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.2661, allocations: 3.143 MB / 476.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/0.2662, allocations: 15.84 kB / 476.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.2664, allocations: 79.97 kB / 476.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006771/0.267, allocations: 323.8 kB / 477 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.2708, allocations: 2.561 MB / 479.6 MB, free: 1.637 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.286, allocations: 13.64 MB / 493.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.2879, allocations: 1.472 MB / 494.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/0.2887, allocations: 0.6463 MB / 495.3 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.643e-05/0.2888, allocations: 25.28 kB / 495.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2889, allocations: 51.88 kB / 495.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.166e-06/0.2889, allocations: 0 / 495.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.006048/0.2949, allocations: 4.099 MB / 499.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.295, allocations: 90.42 kB / 499.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.2965, allocations: 1.261 MB / 0.4891 GB, free: 11.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/0.2966, allocations: 45.7 kB / 0.4892 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.2973, allocations: 1.096 MB / 0.4902 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.2977, allocations: 485.2 kB / 0.4907 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.2982, allocations: 407.5 kB / 0.4911 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.2983, allocations: 309.1 kB / 0.4914 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.2993, allocations: 0.6874 MB / 0.4921 GB, free: 8.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.3009, allocations: 1.58 MB / 0.4936 GB, free: 6.293 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.009477/0.3103, allocations: 4.609 MB / 0.4981 GB, free: 1.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/0.3104, allocations: 15.94 kB / 0.4981 GB, free: 1.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005023/0.3154, allocations: 3.032 MB / 0.5011 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.3155, allocations: 23.94 kB / 0.5011 GB, free: 14.12 MB / 398.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.0008915/0.3164, allocations: 0.6217 MB / 0.5017 GB, free: 13.5 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated