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.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.001817/0.001817, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002128/0.002128, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.536/1.536, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.188/0.188, allocations: 38.56 MB / 353.2 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [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.003013/0.003013, allocations: 71.88 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3803, allocations: 62.46 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01061/0.391, allocations: 7.663 MB / 0.5506 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009757/0.4007, allocations: 5.042 MB / 0.5556 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.4017, allocations: 37.16 kB / 0.5556 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.4151, allocations: 5.751 MB / 0.5612 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.4176, allocations: 0.8558 MB / 0.5621 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.419, allocations: 0.503 MB / 0.5625 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004227/0.4232, allocations: 2.616 MB / 0.5651 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.4242, allocations: 0.5476 MB / 0.5656 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.4256, allocations: 0.7979 MB / 0.5664 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.4273, allocations: 1.082 MB / 0.5675 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.4276, allocations: 104 kB / 0.5676 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008792/0.4284, allocations: 387.5 kB / 0.5679 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.4292, allocations: 0.6661 MB / 0.5686 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.4299, allocations: 0.5756 MB / 0.5692 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.4323, allocations: 1.759 MB / 0.5709 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4323, allocations: 0 / 0.5709 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4323, allocations: 4 kB / 0.5709 GB, free: 7.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.658e-05/0.4323, allocations: 0 / 0.5709 GB, free: 7.781 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.003413/0.4357, allocations: 1.555 MB / 0.5724 GB, free: 6.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4358, allocations: 15.97 kB / 0.5724 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.4373, allocations: 275.8 kB / 0.5727 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.4395, allocations: 0.866 MB / 0.5735 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.4396, allocations: 73.97 kB / 0.5736 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004813/0.44, allocations: 183.8 kB / 0.5738 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.4426, allocations: 1.56 MB / 0.5753 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.4427, allocations: 7.984 kB / 0.5753 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.4428, allocations: 43.92 kB / 0.5753 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006332/0.4434, allocations: 153.9 kB / 0.5755 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.4457, allocations: 1.245 MB / 0.5767 GB, free: 1.656 MB / 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.008971/0.4547, allocations: 5.492 MB / 0.5821 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.4564, allocations: 0.8716 MB / 0.5829 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/0.4572, allocations: 484.5 kB / 0.5834 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.4573, allocations: 17 kB / 0.5834 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.4573, allocations: 47.44 kB / 0.5834 GB, free: 10.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.437e-06/0.4573, allocations: 0 / 0.5834 GB, free: 10.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007065/0.4644, allocations: 3.249 MB / 0.5866 GB, free: 7.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.4645, allocations: 90.11 kB / 0.5867 GB, free: 7.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.4654, allocations: 0.7269 MB / 0.5874 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.4655, allocations: 41.7 kB / 0.5874 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.466, allocations: 0.5667 MB / 0.588 GB, free: 5.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.4664, allocations: 384.7 kB / 0.5884 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.4668, allocations: 230.9 kB / 0.5886 GB, free: 5.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.4671, allocations: 418.8 kB / 0.589 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4681, allocations: 0.5647 MB / 0.5895 GB, free: 4.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.4694, allocations: 0.8931 MB / 0.5904 GB, free: 3.125 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.0089/0.4783, allocations: 3.216 MB / 0.5935 GB, free: 15.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.4783, allocations: 7.938 kB / 0.5936 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006349/0.4846, allocations: 2.702 MB / 0.5962 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.4847, allocations: 8 kB / 0.5962 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.4847, allocations: 15.94 kB / 0.5962 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/0.4877, allocations: 1.131 MB / 0.5973 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.4886, allocations: 207.7 kB / 0.5975 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.5093, allocations: 11.84 MB / 0.6091 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.5102, allocations: 59.91 kB / 0.6091 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.5104, allocations: 55.98 kB / 0.6092 GB, free: 15.54 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.0007702/0.5112, allocations: 409.3 kB / 0.6096 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5113, allocations: 95.39 kB / 0.6097 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.5138, allocations: 1.257 MB / 0.6109 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.5138, allocations: 11.94 kB / 0.6109 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5138, allocations: 7.938 kB / 0.6109 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5138, allocations: 3.984 kB / 0.6109 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.5187, allocations: 2.237 MB / 0.6131 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.5187, allocations: 4.031 kB / 0.6131 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/0.5203, allocations: 275.6 kB / 0.6134 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.5204, allocations: 57.67 kB / 0.6134 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/0.5205, allocations: 39.97 kB / 0.6135 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.5229, allocations: 2.591 MB / 0.616 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5229, allocations: 4.062 kB / 0.616 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.5261, allocations: 1.743 MB / 0.6177 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006099/0.5267, allocations: 175.3 kB / 0.6179 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5269, allocations: 43.86 kB / 0.6179 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.5274, allocations: 47.95 kB / 0.618 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.5276, allocations: 68.81 kB / 0.618 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.5277, allocations: 24 kB / 0.618 GB, free: 6.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006774/0.5284, allocations: 479 kB / 0.6185 GB, free: 5.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5284, allocations: 0 / 0.6185 GB, free: 5.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001396/0.5298, allocations: 376 kB / 0.6189 GB, free: 5.277 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.0002294/0.53, allocations: 143 kB / 0.619 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004165/0.5342, allocations: 2.038 MB / 0.621 GB, free: 3.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5342, allocations: 4 kB / 0.621 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.5354, allocations: 0.7292 MB / 0.6217 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5365, allocations: 221.1 kB / 0.6219 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007123/0.5437, allocations: 4.214 MB / 0.626 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/0.5446, allocations: 0.7054 MB / 0.6267 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.545, allocations: 83.42 kB / 0.6268 GB, free: 13 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.545, allocations: 0 / 0.6268 GB, free: 13 MB / 478.1 MB Notification: Performance of Templates: time 0.0358/0.5808, allocations: 24.46 MB / 0.6507 GB, free: 4.52 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.455174700822681] Failed to read output from testmodel.py, exit status != 0: 0.5923422244377434 0.605920445 0.170217178 Calling exit ...