Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGR",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.001009/0.001009, allocations: 85.95 kB / 16.31 MB, free: 6.449 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.001044/0.001045, allocations: 183.2 kB / 17.21 MB, free: 6.316 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.512/1.512, allocations: 205.4 MB / 223.4 MB, free: 5.25 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3279/0.3279, allocations: 38.05 MB / 309.7 MB, free: 9.215 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.0004818/0.0004819, allocations: 15.98 kB / 376.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 56.33 MB / 432.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0112/0.1167, allocations: 11.67 MB / 444.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1272, allocations: 7.251 MB / 451.9 MB, free: 3.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.1287, allocations: 83.38 kB / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1984/0.3271, allocations: 11.99 MB / 463.9 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.3299, allocations: 1.162 MB / 465.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.3315, allocations: 0.6304 MB / 465.7 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.3359, allocations: 4.572 MB / 470.3 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.3374, allocations: 1.182 MB / 471.5 MB, free: 35.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.3387, allocations: 0.9111 MB / 472.4 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.3401, allocations: 1.396 MB / 473.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3403, allocations: 74.66 kB / 473.9 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.3411, allocations: 415.3 kB / 474.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.3416, allocations: 0.8203 MB / 475.1 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.3419, allocations: 350.6 kB / 475.4 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3433, allocations: 1.869 MB / 477.3 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3433, allocations: 0 / 477.3 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.3433, allocations: 0 / 477.3 MB, free: 34.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.3433, allocations: 0 / 477.3 MB, free: 34.32 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002905/0.3462, allocations: 1.852 MB / 479.1 MB, free: 33.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3463, allocations: 9.156 kB / 479.2 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.3465, allocations: 226.7 kB / 479.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.3479, allocations: 320.9 kB / 479.7 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.35, allocations: 1.193 MB / 480.9 MB, free: 32.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.3501, allocations: 101.5 kB / 481 MB, free: 32.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/0.3505, allocations: 240 kB / 481.2 MB, free: 32.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.3536, allocations: 2.136 MB / 483.4 MB, free: 32.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.3536, allocations: 9.844 kB / 483.4 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3538, allocations: 59.62 kB / 483.4 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004896/0.3542, allocations: 180.5 kB / 483.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.3569, allocations: 1.759 MB / 485.4 MB, free: 32.42 MB / 382.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.01063/0.3676, allocations: 8.639 MB / 494 MB, free: 28.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.3698, allocations: 1.816 MB / 495.8 MB, free: 27.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3712, allocations: 0.7785 MB / 496.6 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.3713, allocations: 17.28 kB / 496.6 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3713, allocations: 44.05 kB / 496.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.916e-06/0.3713, allocations: 1.375 kB / 496.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01044/0.3818, allocations: 5.49 MB / 0.4904 GB, free: 25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3819, allocations: 94.95 kB / 0.4905 GB, free: 24.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.3832, allocations: 1.029 MB / 0.4915 GB, free: 24.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.3833, allocations: 51.64 kB / 0.4915 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.3838, allocations: 0.768 MB / 0.4923 GB, free: 23.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.3841, allocations: 0.5003 MB / 0.4928 GB, free: 23.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.3842, allocations: 30.16 kB / 0.4928 GB, free: 23.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3843, allocations: 377.4 kB / 0.4931 GB, free: 23.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.3854, allocations: 0.7185 MB / 0.4938 GB, free: 22.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3868, allocations: 1.183 MB / 0.495 GB, free: 22.09 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.00696/0.3938, allocations: 2.332 MB / 0.4973 GB, free: 21.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.3938, allocations: 5.562 kB / 0.4973 GB, free: 21.39 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. Error: No system for the symbolic initialization was generated