Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",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.0009341/0.0009341, allocations: 88.64 kB / 16.31 MB, free: 5.621 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.00101/0.00101, allocations: 181.4 kB / 17.21 MB, free: 5.539 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.555/1.555, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3352/0.3352, allocations: 38.05 MB / 309.7 MB, free: 8.84 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.0004783/0.0004786, allocations: 18.17 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09982, allocations: 56.34 MB / 433 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007635/0.1075, allocations: 8.337 MB / 441.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.1148, allocations: 5.515 MB / 446.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.1156, allocations: 51.62 kB / 446.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008168/0.1238, allocations: 4.531 MB / 451.4 MB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.1266, allocations: 0.8479 MB / 452.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.128, allocations: 459.2 kB / 452.7 MB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1912/0.3192, allocations: 3.031 MB / 455.7 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.3209, allocations: 0.8476 MB / 456.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.322, allocations: 0.6515 MB / 457.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3234, allocations: 1.032 MB / 458.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3235, allocations: 53.62 kB / 458.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.3242, allocations: 278.9 kB / 458.6 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005126/0.3247, allocations: 0.615 MB / 459.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.325, allocations: 260.1 kB / 459.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.326, allocations: 1.296 MB / 460.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.326, allocations: 0 / 460.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.326, allocations: 0 / 460.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.326, allocations: 0 / 460.7 MB, free: 37.09 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002355/0.3284, allocations: 1.379 MB / 462.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3285, allocations: 9.594 kB / 462.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.3286, allocations: 164.5 kB / 462.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/0.3296, allocations: 215.6 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3311, allocations: 0.8986 MB / 463.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.3311, allocations: 71.25 kB / 463.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.3315, allocations: 182.5 kB / 463.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.3335, allocations: 1.568 MB / 465.2 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.3335, allocations: 10.22 kB / 465.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.3336, allocations: 35.75 kB / 465.3 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004474/0.3341, allocations: 150.2 kB / 465.4 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.336, allocations: 1.26 MB / 466.7 MB, free: 35.61 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.006669/0.3427, allocations: 6.493 MB / 473.2 MB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.344, allocations: 0.9125 MB / 474.1 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.3446, allocations: 0.5114 MB / 474.6 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.72e-05/0.3447, allocations: 17.2 kB / 474.6 MB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3447, allocations: 44.16 kB / 474.6 MB, free: 32.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.905e-06/0.3447, allocations: 3.094 kB / 474.6 MB, free: 32.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00557/0.3503, allocations: 3.704 MB / 478.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3504, allocations: 94.17 kB / 478.4 MB, free: 30.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.3511, allocations: 0.7227 MB / 479.2 MB, free: 30.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.3512, allocations: 47.5 kB / 479.2 MB, free: 30.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.3514, allocations: 0.557 MB / 479.8 MB, free: 30.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.3517, allocations: 365.1 kB / 480.1 MB, free: 30.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.3517, allocations: 24.38 kB / 480.1 MB, free: 30.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3519, allocations: 414.9 kB / 480.5 MB, free: 29.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.3526, allocations: 0.5642 MB / 481.1 MB, free: 29.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008966/0.3536, allocations: 0.8876 MB / 482 MB, free: 29.59 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.005263/0.3588, allocations: 1.837 MB / 483.8 MB, free: 29.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3588, allocations: 3 kB / 483.8 MB, free: 29.52 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