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.001852/0.001852, 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.002494/0.002494, allocations: 215.6 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.501/1.501, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.187/0.187, allocations: 38.56 MB / 353.2 MB, free: 12.33 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.002228/0.002228, allocations: 67.91 kB / 493.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 62.48 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01326/0.3539, allocations: 10.28 MB / 0.5532 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3665, allocations: 6.471 MB / 0.5595 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.3688, allocations: 67.44 kB / 0.5596 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02562/0.3944, allocations: 14.21 MB / 0.5735 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.398, allocations: 1.143 MB / 0.5746 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.4002, allocations: 0.7135 MB / 0.5753 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006812/0.407, allocations: 4.172 MB / 0.5794 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.4088, allocations: 0.8476 MB / 0.5802 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4113, allocations: 1.164 MB / 0.5813 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.414, allocations: 1.511 MB / 0.5828 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.4143, allocations: 148 kB / 0.5829 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.4157, allocations: 0.5539 MB / 0.5835 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009638/0.4166, allocations: 0.9233 MB / 0.5844 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.4177, allocations: 0.8127 MB / 0.5852 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.4209, allocations: 2.6 MB / 0.5877 GB, free: 6.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4209, allocations: 0 / 0.5877 GB, free: 6.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4209, allocations: 0 / 0.5877 GB, free: 6.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.4209, allocations: 0 / 0.5877 GB, free: 6.473 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.004572/0.4255, allocations: 2.213 MB / 0.5899 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4255, allocations: 11.98 kB / 0.5899 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.4276, allocations: 395.3 kB / 0.5903 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.4306, allocations: 1.236 MB / 0.5915 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.4307, allocations: 106.7 kB / 0.5916 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005715/0.4313, allocations: 239.8 kB / 0.5918 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.4348, allocations: 2.188 MB / 0.5939 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.4348, allocations: 7.922 kB / 0.5939 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.435, allocations: 67.97 kB / 0.594 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006537/0.4356, allocations: 182.8 kB / 0.5942 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.4388, allocations: 1.823 MB / 0.596 GB, free: 13.82 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.01197/0.4508, allocations: 7.39 MB / 0.6032 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.4533, allocations: 1.381 MB / 0.6045 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.4546, allocations: 0.7487 MB / 0.6053 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.4547, allocations: 17.31 kB / 0.6053 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4548, allocations: 51.81 kB / 0.6053 GB, free: 3.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.547e-06/0.4548, allocations: 7.875 kB / 0.6053 GB, free: 3.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02328/0.478, allocations: 8.476 MB / 0.6136 GB, free: 11.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4781, allocations: 98.36 kB / 0.6137 GB, free: 11.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.4795, allocations: 1.016 MB / 0.6147 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.4797, allocations: 53.7 kB / 0.6147 GB, free: 10.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.4803, allocations: 0.8092 MB / 0.6155 GB, free: 9.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.4809, allocations: 0.6198 MB / 0.6161 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.4814, allocations: 351.4 kB / 0.6165 GB, free: 8.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4815, allocations: 305.1 kB / 0.6168 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.483, allocations: 0.8472 MB / 0.6176 GB, free: 7.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.4849, allocations: 1.344 MB / 0.6189 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.01354/0.4984, allocations: 5.187 MB / 0.624 GB, free: 336 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.4984, allocations: 4 kB / 0.624 GB, free: 332 kB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009238/0.5076, allocations: 3.988 MB / 0.6279 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.5077, allocations: 12 kB / 0.6279 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.5077, allocations: 12 kB / 0.6279 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004626/0.5123, allocations: 1.589 MB / 0.6294 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5137, allocations: 315.5 kB / 0.6297 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02832/0.542, allocations: 19.85 MB / 0.6491 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.5435, allocations: 96.05 kB / 0.6492 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.5437, allocations: 87.98 kB / 0.6493 GB, free: 5.715 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.00105/0.5447, allocations: 0.5443 MB / 0.6498 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.545, allocations: 155 kB / 0.65 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.5502, allocations: 2.495 MB / 0.6524 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5502, allocations: 16 kB / 0.6524 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.5502, allocations: 7.938 kB / 0.6524 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5502, allocations: 7.969 kB / 0.6525 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008672/0.5589, allocations: 4.1 MB / 0.6565 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5589, allocations: 8.031 kB / 0.6565 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.5606, allocations: 335.6 kB / 0.6568 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.5621, allocations: 0.4936 MB / 0.6573 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.5623, allocations: 47.98 kB / 0.6573 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.5744, allocations: 11.83 MB / 0.6689 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.5744, allocations: 7.969 kB / 0.6689 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.581, allocations: 3.393 MB / 0.6722 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.582, allocations: 290.8 kB / 0.6725 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.5822, allocations: 47.98 kB / 0.6725 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.5831, allocations: 75.92 kB / 0.6726 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.5834, allocations: 136.9 kB / 0.6727 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.5835, allocations: 55.92 kB / 0.6728 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009515/0.5845, allocations: 0.6495 MB / 0.6734 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5845, allocations: 0 / 0.6734 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00256/0.5871, allocations: 0.5976 MB / 0.674 GB, free: 11.48 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.0005347/0.5876, allocations: 182.8 kB / 0.6742 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006364/0.594, allocations: 3.39 MB / 0.6775 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.594, allocations: 0 / 0.6775 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002904/0.5969, allocations: 1.831 MB / 0.6793 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.001456/0.5983, allocations: 319.7 kB / 0.6796 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.607, allocations: 5.497 MB / 0.6849 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.6083, allocations: 1.041 MB / 0.6859 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.6088, allocations: 119.4 kB / 0.6861 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.6088, allocations: 0 / 0.6861 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.3273/0.9361, allocations: 65.55 MB / 0.7501 GB, free: 165 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: 1855691. Could not SIGINT process: 1855692. Could not SIGINT process: 1855695. Could not SIGINT process: 1854967. [Calling os._exit(0), Time elapsed: 496.0152558409609] Failed to read output from testmodel.py, exit status != 0: 0.9445264269597828 0.952994733 0.5297662289999999 Calling exit ...