Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001459/0.001459, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001618/0.001618, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1762/0.1762, allocations: 38.53 MB / 353.2 MB, free: 12.52 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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.002092/0.002092, allocations: 76.16 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 62.47 MB / 0.5432 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01277/0.3084, allocations: 11.29 MB / 0.5543 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3199, allocations: 7.174 MB / 0.5613 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.321, allocations: 71.44 kB / 0.5613 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02473/0.3457, allocations: 14.47 MB / 0.5755 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.3488, allocations: 1.147 MB / 0.5766 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.3508, allocations: 0.7057 MB / 0.5773 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.3571, allocations: 4.192 MB / 0.5814 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.3586, allocations: 0.8671 MB / 0.5822 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.3606, allocations: 1.148 MB / 0.5833 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.3632, allocations: 1.561 MB / 0.5849 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000397/0.3636, allocations: 152 kB / 0.585 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.365, allocations: 0.5968 MB / 0.5856 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.3661, allocations: 0.9271 MB / 0.5865 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.3676, allocations: 0.9834 MB / 0.5874 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.3711, allocations: 2.584 MB / 0.59 GB, free: 4.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3711, allocations: 4 kB / 0.59 GB, free: 4.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3711, allocations: 0 / 0.59 GB, free: 4.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.449e-05/0.3711, allocations: 0 / 0.59 GB, free: 4.586 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.004987/0.3761, allocations: 2.213 MB / 0.5921 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3762, allocations: 15.98 kB / 0.5922 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.3782, allocations: 387.3 kB / 0.5925 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.3812, allocations: 1.244 MB / 0.5937 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3813, allocations: 106.7 kB / 0.5938 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/0.3818, allocations: 243.7 kB / 0.5941 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.3852, allocations: 2.192 MB / 0.5962 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.3853, allocations: 7.938 kB / 0.5962 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.3854, allocations: 59.98 kB / 0.5963 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005965/0.386, allocations: 190.8 kB / 0.5965 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.3891, allocations: 1.826 MB / 0.5982 GB, free: 11.92 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.01246/0.4015, allocations: 8.415 MB / 0.6065 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.4039, allocations: 1.392 MB / 0.6078 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4053, allocations: 0.7546 MB / 0.6086 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/0.4054, allocations: 25.31 kB / 0.6086 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.4054, allocations: 47.88 kB / 0.6086 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.206e-06/0.4054, allocations: 0 / 0.6086 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02266/0.4281, allocations: 8.491 MB / 0.6169 GB, free: 8.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.4282, allocations: 94.42 kB / 0.617 GB, free: 8.199 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.4297, allocations: 1.067 MB / 0.618 GB, free: 7.121 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.4299, allocations: 53.7 kB / 0.6181 GB, free: 7.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/0.4305, allocations: 0.8015 MB / 0.6189 GB, free: 6.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.4312, allocations: 0.6159 MB / 0.6195 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.4318, allocations: 355.4 kB / 0.6198 GB, free: 5.277 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4319, allocations: 301.1 kB / 0.6201 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4335, allocations: 0.855 MB / 0.6209 GB, free: 4.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4355, allocations: 1.348 MB / 0.6223 GB, free: 2.566 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.01313/0.4486, allocations: 5.187 MB / 0.6273 GB, free: 13.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/0.4486, allocations: 4 kB / 0.6273 GB, free: 13.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009178/0.4578, allocations: 3.988 MB / 0.6312 GB, free: 9.188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.4578, allocations: 12 kB / 0.6312 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/0.4579, allocations: 23.97 kB / 0.6313 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/0.4625, allocations: 1.601 MB / 0.6328 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.4639, allocations: 307.5 kB / 0.6331 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02949/0.4933, allocations: 20.29 MB / 0.6529 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4947, allocations: 95.92 kB / 0.653 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.4949, allocations: 79.98 kB / 0.6531 GB, free: 2.055 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.001049/0.496, allocations: 0.5518 MB / 0.6536 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.4963, allocations: 163 kB / 0.6538 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005485/0.5018, allocations: 2.485 MB / 0.6562 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.5018, allocations: 23.94 kB / 0.6562 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5019, allocations: 4 kB / 0.6562 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.5019, allocations: 7.969 kB / 0.6563 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009608/0.5115, allocations: 4.488 MB / 0.6606 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5115, allocations: 8.031 kB / 0.6606 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.5132, allocations: 335.6 kB / 0.661 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.5148, allocations: 0.4938 MB / 0.6614 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.515, allocations: 55.97 kB / 0.6615 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.5279, allocations: 12.03 MB / 0.6733 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5279, allocations: 4.031 kB / 0.6733 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/0.5345, allocations: 3.409 MB / 0.6766 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00088/0.5354, allocations: 298.8 kB / 0.6769 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.5357, allocations: 51.92 kB / 0.6769 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.5366, allocations: 75.86 kB / 0.677 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.5369, allocations: 129.1 kB / 0.6771 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.537, allocations: 47.98 kB / 0.6772 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001064/0.538, allocations: 0.7178 MB / 0.6779 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.538, allocations: 0 / 0.6779 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002199/0.5402, allocations: 0.5975 MB / 0.6784 GB, free: 7.035 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.000514/0.5407, allocations: 186.1 kB / 0.6786 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006466/0.5472, allocations: 3.378 MB / 0.6819 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5472, allocations: 4 kB / 0.6819 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.5503, allocations: 1.827 MB / 0.6837 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5521, allocations: 349.8 kB / 0.684 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.5618, allocations: 5.495 MB / 0.6894 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.5636, allocations: 1.64 MB / 0.691 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.5642, allocations: 115.4 kB / 0.6911 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.5642, allocations: 0 / 0.6911 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of Templates: time 0.2785/0.8427, allocations: 65.3 MB / 0.7549 GB, free: 161.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] Could not SIGINT process: 2762163. Could not SIGINT process: 2762164. Could not SIGINT process: 2762167. Could not SIGINT process: 2761566. [Calling os._exit(0), Time elapsed: 496.2888949860353] Failed to read output from testmodel.py, exit status != 0: 0.8511051030363888 0.85854851 0.48529279599999997 Calling exit ...