Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001621/0.001621, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001767/0.001767, allocations: 209 kB / 24.48 MB, free: 3.938 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.1864/0.1864, allocations: 38.56 MB / 353.2 MB, free: 12.28 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_PSGR,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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_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.002188/0.002188, allocations: 82.53 kB / 493.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.349, allocations: 62.46 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01306/0.362, allocations: 10.23 MB / 0.5531 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3741, allocations: 6.478 MB / 0.5595 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.3754, allocations: 63.5 kB / 0.5595 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02517/0.4005, allocations: 14.25 MB / 0.5734 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.4042, allocations: 1.124 MB / 0.5745 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.4062, allocations: 0.6706 MB / 0.5752 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00659/0.4128, allocations: 4.07 MB / 0.5792 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.4144, allocations: 0.8358 MB / 0.58 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.4165, allocations: 1.129 MB / 0.5811 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.4187, allocations: 1.456 MB / 0.5825 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.419, allocations: 144 kB / 0.5827 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.4203, allocations: 0.5422 MB / 0.5832 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009022/0.4212, allocations: 0.9077 MB / 0.5841 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009578/0.4221, allocations: 0.7894 MB / 0.5848 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.4253, allocations: 2.53 MB / 0.5873 GB, free: 6.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4253, allocations: 4 kB / 0.5873 GB, free: 6.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4253, allocations: 3.938 kB / 0.5873 GB, free: 6.836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.227e-05/0.4253, allocations: 0 / 0.5873 GB, free: 6.836 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.005753/0.4311, allocations: 2.127 MB / 0.5894 GB, free: 4.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.4311, allocations: 15.98 kB / 0.5894 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.4333, allocations: 383.4 kB / 0.5898 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.4363, allocations: 1.197 MB / 0.5909 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.005e-05/0.4364, allocations: 98.66 kB / 0.591 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005526/0.4369, allocations: 231.8 kB / 0.5913 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.4403, allocations: 2.153 MB / 0.5934 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/0.4404, allocations: 11.89 kB / 0.5934 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.4405, allocations: 55.98 kB / 0.5934 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006359/0.4412, allocations: 178.7 kB / 0.5936 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.4443, allocations: 1.756 MB / 0.5953 GB, free: 14.44 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.0122/0.4564, allocations: 7.447 MB / 0.6026 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.4589, allocations: 1.288 MB / 0.6038 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4603, allocations: 0.7262 MB / 0.6046 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.4604, allocations: 17 kB / 0.6046 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4604, allocations: 47.56 kB / 0.6046 GB, free: 4.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.248e-06/0.4604, allocations: 0 / 0.6046 GB, free: 4.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01928/0.4797, allocations: 7.148 MB / 0.6116 GB, free: 13.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.4798, allocations: 94.42 kB / 0.6117 GB, free: 13.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.4817, allocations: 0.9786 MB / 0.6126 GB, free: 12.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.4819, allocations: 53.64 kB / 0.6127 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/0.4827, allocations: 0.7933 MB / 0.6135 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/0.4834, allocations: 0.5616 MB / 0.614 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006251/0.484, allocations: 331.4 kB / 0.6143 GB, free: 10.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4842, allocations: 305.1 kB / 0.6146 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4856, allocations: 0.773 MB / 0.6154 GB, free: 9.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4874, allocations: 1.244 MB / 0.6166 GB, free: 8.027 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.01688/0.5043, allocations: 5.614 MB / 0.6221 GB, free: 2.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.5043, allocations: 4 kB / 0.6221 GB, free: 2.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009957/0.5142, allocations: 3.777 MB / 0.6258 GB, free: 14.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.5143, allocations: 16.03 kB / 0.6258 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.5143, allocations: 16 kB / 0.6258 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.5203, allocations: 1.712 MB / 0.6275 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.5216, allocations: 267.5 kB / 0.6277 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/0.5507, allocations: 17.73 MB / 0.645 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.5521, allocations: 79.88 kB / 0.6451 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.5524, allocations: 84.05 kB / 0.6452 GB, free: 10.14 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.001201/0.5536, allocations: 0.5288 MB / 0.6457 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.554, allocations: 147 kB / 0.6458 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.5595, allocations: 2.241 MB / 0.648 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.5595, allocations: 12 kB / 0.648 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.5595, allocations: 4 kB / 0.648 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.5595, allocations: 7.969 kB / 0.6481 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009288/0.5688, allocations: 3.793 MB / 0.6518 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5688, allocations: 7.938 kB / 0.6518 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.5704, allocations: 299.6 kB / 0.6521 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.5731, allocations: 0.5467 MB / 0.6526 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.5733, allocations: 51.97 kB / 0.6526 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.5846, allocations: 9.464 MB / 0.6619 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5846, allocations: 7.938 kB / 0.6619 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.5914, allocations: 3.05 MB / 0.6649 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/0.5923, allocations: 262.9 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.5927, allocations: 51.97 kB / 0.6652 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.5937, allocations: 67.89 kB / 0.6652 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.594, allocations: 125 kB / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5941, allocations: 43.98 kB / 0.6654 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001079/0.5952, allocations: 0.6366 MB / 0.666 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5952, allocations: 0 / 0.666 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00228/0.5975, allocations: 0.5663 MB / 0.6666 GB, free: 3.527 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.00044/0.5979, allocations: 174.9 kB / 0.6667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0059/0.6038, allocations: 3.015 MB / 0.6697 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6038, allocations: 0 / 0.6697 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.6065, allocations: 1.524 MB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.6081, allocations: 304.5 kB / 0.6715 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/0.6177, allocations: 5.231 MB / 0.6766 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.6194, allocations: 1.001 MB / 0.6775 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.6199, allocations: 107.4 kB / 0.6776 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of SimCode: time 1.783e-06/0.6199, allocations: 0 / 0.6776 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of Templates: time 0.06867/0.6886, allocations: 50.65 MB / 0.7271 GB, free: 5.277 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.420396627858281] Failed to read output from testmodel.py, exit status != 0: 0.6986098634079099 1.005788193 0.576232063 Calling exit ...