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.00131/0.00131, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001527/0.001527, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2069/0.2069, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.002243/0.002243, allocations: 71.89 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3796, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01452/0.3941, allocations: 10.28 MB / 0.5525 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.4085, allocations: 6.479 MB / 0.5588 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.4101, allocations: 67.44 kB / 0.5589 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02788/0.438, allocations: 14.21 MB / 0.5727 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.4415, allocations: 1.14 MB / 0.5738 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.4437, allocations: 0.7096 MB / 0.5745 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006796/0.4505, allocations: 4.176 MB / 0.5786 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.4522, allocations: 0.8553 MB / 0.5794 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.4544, allocations: 1.16 MB / 0.5806 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.4568, allocations: 1.499 MB / 0.582 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.4572, allocations: 151.9 kB / 0.5822 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.4587, allocations: 0.5656 MB / 0.5827 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.4598, allocations: 0.9233 MB / 0.5836 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.4609, allocations: 0.8127 MB / 0.5844 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.4646, allocations: 2.596 MB / 0.587 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4646, allocations: 4 kB / 0.587 GB, free: 6.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4646, allocations: 0 / 0.587 GB, free: 6.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.53e-05/0.4646, allocations: 0 / 0.587 GB, free: 6.465 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.004772/0.4694, allocations: 2.217 MB / 0.5891 GB, free: 4.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4694, allocations: 11.98 kB / 0.5892 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.4716, allocations: 383.4 kB / 0.5895 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.4752, allocations: 1.248 MB / 0.5907 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4753, allocations: 102.7 kB / 0.5908 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006164/0.4759, allocations: 243.8 kB / 0.5911 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.4797, allocations: 2.192 MB / 0.5932 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.4797, allocations: 3.938 kB / 0.5932 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.4799, allocations: 59.98 kB / 0.5933 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006731/0.4806, allocations: 182.8 kB / 0.5934 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.4838, allocations: 1.83 MB / 0.5952 GB, free: 13.81 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.01287/0.4967, allocations: 7.378 MB / 0.6024 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.4993, allocations: 1.381 MB / 0.6038 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.5008, allocations: 0.7547 MB / 0.6045 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.5009, allocations: 17.3 kB / 0.6045 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.501, allocations: 55.81 kB / 0.6046 GB, free: 3.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.386e-06/0.501, allocations: 4 kB / 0.6046 GB, free: 3.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02503/0.526, allocations: 8.472 MB / 0.6129 GB, free: 11.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.5261, allocations: 98.36 kB / 0.613 GB, free: 11.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.5278, allocations: 1.012 MB / 0.614 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.528, allocations: 61.62 kB / 0.614 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007888/0.5288, allocations: 0.8053 MB / 0.6148 GB, free: 9.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007515/0.5295, allocations: 0.6159 MB / 0.6154 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.5302, allocations: 351.4 kB / 0.6157 GB, free: 8.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5303, allocations: 305.1 kB / 0.616 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.5319, allocations: 0.8511 MB / 0.6169 GB, free: 7.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.534, allocations: 1.341 MB / 0.6182 GB, free: 5.684 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.01505/0.549, allocations: 5.191 MB / 0.6232 GB, free: 332 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.5491, allocations: 4 kB / 0.6232 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.0105/0.5596, allocations: 3.984 MB / 0.6271 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.5596, allocations: 12 kB / 0.6271 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.5596, allocations: 12 kB / 0.6272 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005022/0.5647, allocations: 1.593 MB / 0.6287 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.5661, allocations: 315.5 kB / 0.629 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03012/0.5962, allocations: 19.84 MB / 0.6484 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5978, allocations: 99.92 kB / 0.6485 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.5981, allocations: 79.94 kB / 0.6486 GB, free: 5.719 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.001229/0.5993, allocations: 0.5518 MB / 0.6491 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.5997, allocations: 151 kB / 0.6492 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/0.6054, allocations: 2.506 MB / 0.6517 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.6055, allocations: 16 kB / 0.6517 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.6055, allocations: 7.938 kB / 0.6517 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.6055, allocations: 12.11 kB / 0.6517 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009771/0.6153, allocations: 4.092 MB / 0.6557 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.6153, allocations: 7.938 kB / 0.6557 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.6171, allocations: 343.9 kB / 0.6561 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.6187, allocations: 0.4936 MB / 0.6565 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.6189, allocations: 51.97 kB / 0.6566 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.6326, allocations: 11.82 MB / 0.6681 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.6326, allocations: 12.09 kB / 0.6681 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00763/0.6402, allocations: 3.393 MB / 0.6715 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.6414, allocations: 286.9 kB / 0.6717 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.6417, allocations: 51.94 kB / 0.6718 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6429, allocations: 71.92 kB / 0.6718 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.6433, allocations: 140.9 kB / 0.672 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.6435, allocations: 44.36 kB / 0.672 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001466/0.6449, allocations: 0.6573 MB / 0.6727 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6449, allocations: 0 / 0.6727 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002513/0.6475, allocations: 0.5975 MB / 0.6732 GB, free: 11.47 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.0004931/0.6479, allocations: 189 kB / 0.6734 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006545/0.6545, allocations: 3.387 MB / 0.6767 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6545, allocations: 0 / 0.6767 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.6578, allocations: 1.826 MB / 0.6785 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.6598, allocations: 322 kB / 0.6788 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6705, allocations: 5.361 MB / 0.6841 GB, free: 168 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.6723, allocations: 1.058 MB / 0.6851 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00145/0.6738, allocations: 428.8 kB / 0.6855 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.6743, allocations: 107.4 kB / 0.6856 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.6743, allocations: 0 / 0.6856 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.06217/0.7365, allocations: 33.14 MB / 0.718 GB, free: 13.74 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] [Calling os._exit(0), Time elapsed: 6.986412085592747] Failed to read output from testmodel.py, exit status != 0: 0.7464191671460867 0.975738126 0.293112505 Calling exit ...