Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001669/0.001669, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001607/0.001607, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1825/0.1825, allocations: 38.54 MB / 353.2 MB, free: 12.5 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [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.003599/0.003599, allocations: 79.88 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3738, allocations: 62.47 MB / 0.5432 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.0134/0.3872, allocations: 11.29 MB / 0.5543 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3992, allocations: 7.17 MB / 0.5613 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.4008, allocations: 71.44 kB / 0.5613 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02593/0.4267, allocations: 14.48 MB / 0.5755 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0035/0.4302, allocations: 1.143 MB / 0.5766 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.4322, allocations: 0.7135 MB / 0.5773 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.4388, allocations: 4.192 MB / 0.5814 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.4406, allocations: 0.867 MB / 0.5822 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.4427, allocations: 1.144 MB / 0.5833 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.4454, allocations: 1.565 MB / 0.5849 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.4458, allocations: 148 kB / 0.585 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.4471, allocations: 0.6007 MB / 0.5856 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009589/0.4481, allocations: 0.9271 MB / 0.5865 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.4492, allocations: 0.9756 MB / 0.5874 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.4526, allocations: 2.592 MB / 0.59 GB, free: 4.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4526, allocations: 0 / 0.59 GB, free: 4.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4526, allocations: 0 / 0.59 GB, free: 4.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.4526, allocations: 0 / 0.59 GB, free: 4.398 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004788/0.4574, allocations: 2.213 MB / 0.5921 GB, free: 2.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4574, allocations: 15.98 kB / 0.5922 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.4595, allocations: 387.3 kB / 0.5925 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.4626, allocations: 1.24 MB / 0.5937 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.4627, allocations: 114.7 kB / 0.5938 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.4633, allocations: 239.8 kB / 0.5941 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/0.4669, allocations: 2.192 MB / 0.5962 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.467, allocations: 4 kB / 0.5962 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.4671, allocations: 59.97 kB / 0.5963 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006494/0.4678, allocations: 198.7 kB / 0.5965 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.471, allocations: 1.827 MB / 0.5982 GB, free: 11.73 MB / 446.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.01292/0.484, allocations: 8.411 MB / 0.6065 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.4865, allocations: 1.396 MB / 0.6078 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4879, allocations: 0.7584 MB / 0.6086 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.488, allocations: 21.38 kB / 0.6086 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.4881, allocations: 43.88 kB / 0.6086 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 2.885e-06/0.4881, allocations: 0 / 0.6086 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02422/0.5123, allocations: 8.487 MB / 0.6169 GB, free: 8.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.5124, allocations: 98.42 kB / 0.617 GB, free: 8.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.5139, allocations: 1.063 MB / 0.618 GB, free: 6.934 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.514, allocations: 53.7 kB / 0.6181 GB, free: 6.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.5147, allocations: 0.8054 MB / 0.6189 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000623/0.5153, allocations: 0.612 MB / 0.6195 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/0.5159, allocations: 355.4 kB / 0.6198 GB, free: 5.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5161, allocations: 305.2 kB / 0.6201 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.5176, allocations: 0.8472 MB / 0.6209 GB, free: 3.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.5195, allocations: 1.352 MB / 0.6223 GB, free: 2.379 MB / 462.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.01433/0.5338, allocations: 5.187 MB / 0.6273 GB, free: 13.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.5338, allocations: 4 kB / 0.6273 GB, free: 13.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009729/0.5436, allocations: 3.996 MB / 0.6312 GB, free: 8.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.5436, allocations: 19.25 kB / 0.6312 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.5436, allocations: 12 kB / 0.6313 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004971/0.5486, allocations: 1.6 MB / 0.6328 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.55, allocations: 315.5 kB / 0.6331 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/0.5792, allocations: 20.29 MB / 0.6529 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.5808, allocations: 91.92 kB / 0.653 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.5809, allocations: 87.98 kB / 0.6531 GB, free: 1.852 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.582, allocations: 0.548 MB / 0.6536 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.5822, allocations: 159 kB / 0.6538 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.5877, allocations: 2.492 MB / 0.6562 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.5877, allocations: 16 kB / 0.6562 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5877, allocations: 4 kB / 0.6563 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.5877, allocations: 11.97 kB / 0.6563 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009723/0.5974, allocations: 4.488 MB / 0.6606 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.5974, allocations: 0 / 0.6606 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.5992, allocations: 339.6 kB / 0.661 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.6009, allocations: 0.4978 MB / 0.6615 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.6011, allocations: 55.97 kB / 0.6615 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6144, allocations: 12.03 MB / 0.6733 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.008e-05/0.6144, allocations: 7.938 kB / 0.6733 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/0.6214, allocations: 3.404 MB / 0.6766 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009915/0.6224, allocations: 298.8 kB / 0.6769 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.6227, allocations: 51.92 kB / 0.6769 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.6236, allocations: 75.92 kB / 0.677 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.6239, allocations: 137 kB / 0.6771 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.624, allocations: 47.98 kB / 0.6772 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001046/0.6251, allocations: 0.71 MB / 0.6779 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6251, allocations: 0 / 0.6779 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002097/0.6272, allocations: 0.5975 MB / 0.6785 GB, free: 6.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004341/0.6276, allocations: 186.9 kB / 0.6786 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006286/0.6339, allocations: 3.374 MB / 0.6819 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6339, allocations: 0.6875 kB / 0.6819 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.637, allocations: 1.834 MB / 0.6837 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.6387, allocations: 353.6 kB / 0.6841 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009308/0.648, allocations: 5.497 MB / 0.6894 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.6496, allocations: 1.628 MB / 0.691 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.6502, allocations: 127.4 kB / 0.6911 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.6502, allocations: 0 / 0.6911 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.3062/0.9564, allocations: 65.29 MB / 0.7549 GB, free: 160.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] Could not SIGINT process: 2846115. Could not SIGINT process: 2846117. Could not SIGINT process: 2846120. Could not SIGINT process: 2845208. [Calling os._exit(0), Time elapsed: 496.4565232889727] Failed to read output from testmodel.py, exit status != 0: 0.9686714289709926 0.974415286 0.519376304 Calling exit ...