Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1874/0.1874, allocations: 38.52 MB / 352.4 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 68.08 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.388, allocations: 62.48 MB / 0.542 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01018/0.3982, allocations: 8.31 MB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00938/0.4075, allocations: 5.577 MB / 0.5556 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008818/0.4084, allocations: 38.19 kB / 0.5556 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.4211, allocations: 5.892 MB / 0.5614 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.4238, allocations: 0.8519 MB / 0.5622 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.4253, allocations: 0.5068 MB / 0.5627 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.4295, allocations: 2.624 MB / 0.5652 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009994/0.4305, allocations: 0.5594 MB / 0.5658 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.4321, allocations: 0.7902 MB / 0.5666 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.4341, allocations: 1.118 MB / 0.5677 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.4343, allocations: 104 kB / 0.5678 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4353, allocations: 419.4 kB / 0.5682 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007842/0.4361, allocations: 0.6623 MB / 0.5688 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008503/0.437, allocations: 0.6958 MB / 0.5695 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.4393, allocations: 1.74 MB / 0.5712 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4393, allocations: 0 / 0.5712 GB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4393, allocations: 0 / 0.5712 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.4393, allocations: 0 / 0.5712 GB, free: 6.711 MB / 414.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.003387/0.4427, allocations: 1.555 MB / 0.5727 GB, free: 5.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4428, allocations: 15.98 kB / 0.5727 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.443, allocations: 169.2 kB / 0.5729 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.4444, allocations: 275.8 kB / 0.5731 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4465, allocations: 0.8696 MB / 0.574 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.4466, allocations: 77.91 kB / 0.5741 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.447, allocations: 187.8 kB / 0.5742 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.4494, allocations: 1.564 MB / 0.5758 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.4495, allocations: 11.92 kB / 0.5758 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4496, allocations: 39.98 kB / 0.5758 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005789/0.4502, allocations: 145.9 kB / 0.576 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.4523, allocations: 1.249 MB / 0.5772 GB, free: 408 kB / 414.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.008951/0.4613, allocations: 6.365 MB / 0.5834 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4629, allocations: 0.8773 MB / 0.5842 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/0.4637, allocations: 488.5 kB / 0.5847 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.4638, allocations: 16.98 kB / 0.5847 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.4638, allocations: 47.56 kB / 0.5848 GB, free: 8.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.256e-06/0.4638, allocations: 0 / 0.5848 GB, free: 8.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006814/0.4706, allocations: 3.242 MB / 0.5879 GB, free: 4.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.4707, allocations: 90.14 kB / 0.588 GB, free: 4.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/0.4716, allocations: 0.7273 MB / 0.5887 GB, free: 4.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.4717, allocations: 45.7 kB / 0.5888 GB, free: 4.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.4722, allocations: 0.5667 MB / 0.5893 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.4725, allocations: 384.8 kB / 0.5897 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.4729, allocations: 230.8 kB / 0.5899 GB, free: 2.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4731, allocations: 418.7 kB / 0.5903 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/0.4741, allocations: 0.5647 MB / 0.5909 GB, free: 1.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.4753, allocations: 0.8853 MB / 0.5917 GB, free: 0.8711 MB / 430.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.008569/0.4838, allocations: 3.24 MB / 0.5949 GB, free: 13.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.4838, allocations: 0 / 0.5949 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006057/0.4899, allocations: 2.694 MB / 0.5975 GB, free: 10.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4899, allocations: 8 kB / 0.5975 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.4899, allocations: 12 kB / 0.5975 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.4929, allocations: 1.158 MB / 0.5987 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.4938, allocations: 199.7 kB / 0.5989 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.5132, allocations: 12.09 MB / 0.6107 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.5141, allocations: 55.91 kB / 0.6107 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.5142, allocations: 59.94 kB / 0.6108 GB, free: 12.96 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006999/0.5149, allocations: 397.4 kB / 0.6112 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.5151, allocations: 99.38 kB / 0.6113 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.5174, allocations: 1.261 MB / 0.6125 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5174, allocations: 16 kB / 0.6125 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5175, allocations: 0 / 0.6125 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5175, allocations: 7.969 kB / 0.6125 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.5222, allocations: 2.489 MB / 0.6149 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5222, allocations: 4 kB / 0.615 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.5237, allocations: 271.7 kB / 0.6152 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.5239, allocations: 57.86 kB / 0.6153 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.524, allocations: 39.97 kB / 0.6153 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.5262, allocations: 2.621 MB / 0.6179 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.5262, allocations: 7.984 kB / 0.6179 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.529, allocations: 1.758 MB / 0.6196 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.5295, allocations: 183.2 kB / 0.6198 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.5297, allocations: 35.98 kB / 0.6198 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.5302, allocations: 43.95 kB / 0.6198 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.5304, allocations: 72.81 kB / 0.6199 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.5305, allocations: 35.94 kB / 0.6199 GB, free: 3.203 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006327/0.5311, allocations: 499 kB / 0.6204 GB, free: 2.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5311, allocations: 0 / 0.6204 GB, free: 2.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001256/0.5324, allocations: 380 kB / 0.6208 GB, free: 2.348 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/0.5358, allocations: 2.328 MB / 0.6231 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.5398, allocations: 2.034 MB / 0.625 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5398, allocations: 7.938 kB / 0.625 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.541, allocations: 0.7253 MB / 0.6258 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5421, allocations: 214.7 kB / 0.626 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/0.5681, allocations: 13.95 MB / 0.6396 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.5695, allocations: 1.31 MB / 0.6409 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008812/0.5703, allocations: 320 kB / 0.6412 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.5711, allocations: 451.3 kB / 0.6416 GB, free: 12.43 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5711, allocations: 4 kB / 0.6416 GB, free: 12.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/0.6534, allocations: 31.71 MB / 0.6726 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.86, allocations: 7.625 kB / 0.6726 GB, free: 12.91 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.725648269057274] Failed to read output from testmodel.py, exit status != 0: 15.997773279901594 16.022918544 15.578317561 Calling exit ...