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.002041/0.002041, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003004/0.003004, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1891/0.1891, allocations: 38.56 MB / 352.5 MB, free: 12.32 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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_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.002178/0.002178, allocations: 67.89 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3803, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01106/0.3914, allocations: 7.662 MB / 0.5499 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.4015, allocations: 5.047 MB / 0.5548 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.4025, allocations: 37.03 kB / 0.5549 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.4156, allocations: 5.75 MB / 0.5605 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.418, allocations: 0.8558 MB / 0.5613 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.4195, allocations: 0.4991 MB / 0.5618 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003862/0.4233, allocations: 2.624 MB / 0.5644 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.4242, allocations: 0.5477 MB / 0.5649 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.4254, allocations: 0.794 MB / 0.5657 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.4271, allocations: 1.082 MB / 0.5667 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.4273, allocations: 104 kB / 0.5668 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008815/0.4282, allocations: 383.5 kB / 0.5672 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.4288, allocations: 0.6662 MB / 0.5678 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.4295, allocations: 0.5755 MB / 0.5684 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.4317, allocations: 1.759 MB / 0.5701 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4317, allocations: 0 / 0.5701 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4317, allocations: 0 / 0.5701 GB, free: 7.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.4317, allocations: 0 / 0.5701 GB, free: 7.77 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.00342/0.4352, allocations: 1.555 MB / 0.5716 GB, free: 6.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4352, allocations: 11.98 kB / 0.5717 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.4367, allocations: 283.8 kB / 0.5719 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.4388, allocations: 0.8698 MB / 0.5728 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.4389, allocations: 69.98 kB / 0.5728 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.4394, allocations: 187.8 kB / 0.573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.4423, allocations: 1.556 MB / 0.5745 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.4423, allocations: 4 kB / 0.5745 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4424, allocations: 47.97 kB / 0.5746 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006006/0.443, allocations: 149.9 kB / 0.5747 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.4453, allocations: 1.245 MB / 0.576 GB, free: 1.645 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.008995/0.4542, allocations: 5.496 MB / 0.5813 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.4559, allocations: 0.8781 MB / 0.5822 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000804/0.4567, allocations: 484.5 kB / 0.5826 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.4568, allocations: 13 kB / 0.5827 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.4568, allocations: 51.44 kB / 0.5827 GB, free: 10.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 5.751e-06/0.4568, allocations: 4 kB / 0.5827 GB, free: 10.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.00682/0.4637, allocations: 3.245 MB / 0.5859 GB, free: 7.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.4637, allocations: 90.05 kB / 0.586 GB, free: 7.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.4647, allocations: 0.723 MB / 0.5867 GB, free: 6.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.4648, allocations: 41.7 kB / 0.5867 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.4653, allocations: 0.5667 MB / 0.5873 GB, free: 5.727 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.4656, allocations: 392.7 kB / 0.5876 GB, free: 5.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.466, allocations: 230.9 kB / 0.5879 GB, free: 5.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.4662, allocations: 414.7 kB / 0.5882 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009536/0.4671, allocations: 0.5647 MB / 0.5888 GB, free: 4.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4684, allocations: 0.8892 MB / 0.5897 GB, free: 3.109 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.008251/0.4766, allocations: 3.232 MB / 0.5928 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4766, allocations: 0 / 0.5928 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005985/0.4826, allocations: 2.694 MB / 0.5955 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4826, allocations: 8 kB / 0.5955 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/0.4827, allocations: 15.94 kB / 0.5955 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.4855, allocations: 1.139 MB / 0.5966 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.4863, allocations: 203.7 kB / 0.5968 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.5058, allocations: 11.83 MB / 0.6083 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.507, allocations: 63.91 kB / 0.6084 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5071, allocations: 64.03 kB / 0.6085 GB, free: 15.51 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.0008348/0.508, allocations: 410.7 kB / 0.6088 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.5082, allocations: 95.39 kB / 0.6089 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.5106, allocations: 1.257 MB / 0.6102 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.5106, allocations: 15.94 kB / 0.6102 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5107, allocations: 0 / 0.6102 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.5107, allocations: 3.984 kB / 0.6102 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/0.5172, allocations: 2.241 MB / 0.6124 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5172, allocations: 4 kB / 0.6124 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/0.5194, allocations: 271.6 kB / 0.6126 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.5197, allocations: 53.67 kB / 0.6127 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.5198, allocations: 48.12 kB / 0.6127 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.5227, allocations: 2.579 MB / 0.6153 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.5227, allocations: 4 kB / 0.6153 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.5269, allocations: 1.739 MB / 0.617 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/0.5277, allocations: 175.3 kB / 0.6171 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.5279, allocations: 51.95 kB / 0.6172 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.5287, allocations: 43.95 kB / 0.6172 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.5289, allocations: 68.81 kB / 0.6173 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/0.529, allocations: 28 kB / 0.6173 GB, free: 6.094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009428/0.53, allocations: 479 kB / 0.6178 GB, free: 5.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.53, allocations: 3.938 kB / 0.6178 GB, free: 5.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002239/0.5322, allocations: 376 kB / 0.6181 GB, free: 5.258 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.0003238/0.5325, allocations: 147 kB / 0.6183 GB, free: 5.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005262/0.5378, allocations: 2.042 MB / 0.6203 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5378, allocations: 0 / 0.6203 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.5394, allocations: 0.7379 MB / 0.621 GB, free: 2.277 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5409, allocations: 205.8 kB / 0.6212 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.548, allocations: 4.101 MB / 0.6252 GB, free: 13.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009268/0.549, allocations: 0.7171 MB / 0.6259 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008338/0.5498, allocations: 311.9 kB / 0.6262 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.5501, allocations: 67.44 kB / 0.6262 GB, free: 12.79 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5501, allocations: 0 / 0.6262 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Templates: time 0.03381/0.5839, allocations: 19.78 MB / 0.6456 GB, free: 9.227 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.178477611392736] Failed to read output from testmodel.py, exit status != 0: 0.5931022148579359 0.606919164 0.17208098300000002 Calling exit ...