Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001699/0.001699, 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.001971/0.001971, allocations: 214.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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1872/0.1872, allocations: 38.55 MB / 353.2 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 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [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.002168/0.002168, allocations: 63.89 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 62.48 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01384/0.3529, allocations: 10.22 MB / 0.5531 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3652, allocations: 6.492 MB / 0.5595 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.3665, allocations: 63.5 kB / 0.5595 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02585/0.3924, allocations: 14.24 MB / 0.5735 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.3955, allocations: 1.124 MB / 0.5745 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.3974, allocations: 0.6667 MB / 0.5752 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006153/0.4036, allocations: 4.07 MB / 0.5792 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.405, allocations: 0.8358 MB / 0.58 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.4068, allocations: 1.121 MB / 0.5811 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.409, allocations: 1.46 MB / 0.5825 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.4093, allocations: 148 kB / 0.5827 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.4105, allocations: 0.55 MB / 0.5832 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009268/0.4115, allocations: 0.8999 MB / 0.5841 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009793/0.4125, allocations: 0.7933 MB / 0.5848 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.4155, allocations: 2.53 MB / 0.5873 GB, free: 6.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4155, allocations: 0 / 0.5873 GB, free: 6.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4155, allocations: 4 kB / 0.5873 GB, free: 6.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.4156, allocations: 0 / 0.5873 GB, free: 6.875 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004367/0.4199, allocations: 2.139 MB / 0.5894 GB, free: 4.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.42, allocations: 11.98 kB / 0.5894 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.4219, allocations: 371.4 kB / 0.5898 GB, free: 4.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.4248, allocations: 1.197 MB / 0.5909 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4249, allocations: 106.7 kB / 0.591 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005589/0.4255, allocations: 231.8 kB / 0.5913 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.4289, allocations: 2.149 MB / 0.5934 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.429, allocations: 11.95 kB / 0.5934 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4291, allocations: 55.97 kB / 0.5934 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006721/0.4298, allocations: 182.7 kB / 0.5936 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/0.433, allocations: 1.752 MB / 0.5953 GB, free: 14.48 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.01231/0.4453, allocations: 7.443 MB / 0.6026 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.4478, allocations: 1.295 MB / 0.6038 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.4492, allocations: 0.7304 MB / 0.6046 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.4493, allocations: 13 kB / 0.6046 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.4493, allocations: 43.56 kB / 0.6046 GB, free: 4.652 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.707e-06/0.4493, allocations: 0 / 0.6046 GB, free: 4.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01914/0.4685, allocations: 7.148 MB / 0.6116 GB, free: 13.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.4686, allocations: 94.36 kB / 0.6117 GB, free: 13.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.47, allocations: 0.9786 MB / 0.6126 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4701, allocations: 49.7 kB / 0.6127 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.4708, allocations: 0.7933 MB / 0.6135 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005779/0.4714, allocations: 0.5616 MB / 0.614 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.4719, allocations: 331.5 kB / 0.6143 GB, free: 10.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.472, allocations: 301.1 kB / 0.6146 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.4734, allocations: 0.7769 MB / 0.6154 GB, free: 9.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4752, allocations: 1.244 MB / 0.6166 GB, free: 8.07 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.01633/0.4915, allocations: 5.61 MB / 0.6221 GB, free: 2.301 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.4915, allocations: 4 kB / 0.6221 GB, free: 2.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009367/0.5009, allocations: 3.78 MB / 0.6258 GB, free: 14.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5009, allocations: 12 kB / 0.6258 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.501, allocations: 16.77 kB / 0.6258 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/0.5067, allocations: 1.72 MB / 0.6275 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.5079, allocations: 267.5 kB / 0.6277 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.5377, allocations: 17.72 MB / 0.645 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.5391, allocations: 87.94 kB / 0.6451 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.5392, allocations: 75.98 kB / 0.6452 GB, free: 10.18 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001041/0.5403, allocations: 0.5405 MB / 0.6457 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.5406, allocations: 155 kB / 0.6459 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.546, allocations: 2.234 MB / 0.648 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.5461, allocations: 16 kB / 0.6481 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.5461, allocations: 4 kB / 0.6481 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5461, allocations: 7.969 kB / 0.6481 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008827/0.5549, allocations: 3.781 MB / 0.6518 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.5549, allocations: 11.97 kB / 0.6518 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.5565, allocations: 307.6 kB / 0.6521 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.5591, allocations: 0.5348 MB / 0.6526 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.5592, allocations: 55.97 kB / 0.6526 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.5707, allocations: 9.461 MB / 0.6619 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.5707, allocations: 4.031 kB / 0.6619 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/0.5772, allocations: 3.054 MB / 0.6649 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008794/0.5781, allocations: 270.9 kB / 0.6651 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.5783, allocations: 47.97 kB / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/0.5791, allocations: 63.88 kB / 0.6652 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.5794, allocations: 125 kB / 0.6653 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/0.5795, allocations: 43.98 kB / 0.6654 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009537/0.5804, allocations: 0.6366 MB / 0.666 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5804, allocations: 4 kB / 0.666 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001987/0.5824, allocations: 0.5663 MB / 0.6666 GB, free: 3.559 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003822/0.5828, allocations: 186.8 kB / 0.6667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00558/0.5884, allocations: 2.996 MB / 0.6697 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5884, allocations: 0 / 0.6697 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.591, allocations: 1.532 MB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5924, allocations: 291.1 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/0.6008, allocations: 5.243 MB / 0.6766 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.602, allocations: 1.001 MB / 0.6775 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.6025, allocations: 111.4 kB / 0.6777 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of SimCode: time 1.143e-06/0.6025, allocations: 0 / 0.6777 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.06785/0.6703, allocations: 50.64 MB / 0.7271 GB, free: 5.312 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.54834361281246] Failed to read output from testmodel.py, exit status != 0: 0.6804100382141769 0.875992565 0.45761829400000004 Calling exit ...