Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001435/0.001435, 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.001855/0.001855, allocations: 213.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.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1891/0.1891, allocations: 38.55 MB / 353.2 MB, free: 12.27 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_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.002125/0.002125, allocations: 67.89 kB / 493.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3149, allocations: 62.48 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01458/0.3295, allocations: 10.27 MB / 0.5532 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.343, allocations: 6.483 MB / 0.5595 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.3449, allocations: 67.44 kB / 0.5596 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02711/0.372, allocations: 14.2 MB / 0.5735 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.376, allocations: 1.14 MB / 0.5746 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3782, allocations: 0.7135 MB / 0.5753 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006886/0.3851, allocations: 4.18 MB / 0.5794 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3866, allocations: 0.8437 MB / 0.5802 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3888, allocations: 1.168 MB / 0.5813 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.3912, allocations: 1.503 MB / 0.5828 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.3915, allocations: 148 kB / 0.5829 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3928, allocations: 0.5539 MB / 0.5835 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009667/0.3938, allocations: 0.931 MB / 0.5844 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.3948, allocations: 0.8127 MB / 0.5852 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.3983, allocations: 2.6 MB / 0.5877 GB, free: 6.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3983, allocations: 0 / 0.5877 GB, free: 6.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3983, allocations: 0 / 0.5877 GB, free: 6.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.117e-05/0.3984, allocations: 0 / 0.5877 GB, free: 6.445 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.004803/0.4032, allocations: 2.213 MB / 0.5899 GB, free: 4.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.4032, allocations: 11.98 kB / 0.5899 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.4054, allocations: 387.3 kB / 0.5903 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.4087, allocations: 1.248 MB / 0.5915 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.4088, allocations: 102.7 kB / 0.5916 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006219/0.4094, allocations: 239.8 kB / 0.5918 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.413, allocations: 2.192 MB / 0.5939 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.4131, allocations: 7.938 kB / 0.5939 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.4132, allocations: 59.98 kB / 0.594 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006585/0.4139, allocations: 182.8 kB / 0.5942 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.4171, allocations: 1.83 MB / 0.596 GB, free: 13.79 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.01268/0.4298, allocations: 7.382 MB / 0.6032 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.4324, allocations: 1.377 MB / 0.6045 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.4339, allocations: 0.7508 MB / 0.6052 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.4339, allocations: 13.31 kB / 0.6053 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.434, allocations: 55.8 kB / 0.6053 GB, free: 3.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 3.848e-06/0.434, allocations: 3.938 kB / 0.6053 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0242/0.4582, allocations: 8.479 MB / 0.6136 GB, free: 11.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.4583, allocations: 98.36 kB / 0.6137 GB, free: 11.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.4597, allocations: 1.016 MB / 0.6147 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.4599, allocations: 53.7 kB / 0.6147 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/0.4608, allocations: 0.8092 MB / 0.6155 GB, free: 9.336 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008078/0.4616, allocations: 0.6159 MB / 0.6161 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008058/0.4624, allocations: 351.4 kB / 0.6165 GB, free: 8.367 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4626, allocations: 305.1 kB / 0.6168 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.4649, allocations: 0.8511 MB / 0.6176 GB, free: 7.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.4671, allocations: 1.341 MB / 0.6189 GB, free: 5.664 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.0138/0.4809, allocations: 5.183 MB / 0.624 GB, free: 320 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.4809, allocations: 4 kB / 0.624 GB, free: 316 kB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009584/0.4905, allocations: 3.992 MB / 0.6279 GB, free: 12.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4905, allocations: 12 kB / 0.6279 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.4905, allocations: 12 kB / 0.6279 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00469/0.4952, allocations: 1.597 MB / 0.6294 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4966, allocations: 311.5 kB / 0.6297 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0301/0.5267, allocations: 19.86 MB / 0.6491 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.5282, allocations: 91.88 kB / 0.6492 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.5284, allocations: 83.98 kB / 0.6493 GB, free: 5.691 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.001081/0.5295, allocations: 0.5442 MB / 0.6498 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.5298, allocations: 151 kB / 0.65 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.5354, allocations: 2.499 MB / 0.6524 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5354, allocations: 16 kB / 0.6524 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5354, allocations: 8.078 kB / 0.6524 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.5355, allocations: 11.95 kB / 0.6525 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.5449, allocations: 4.1 MB / 0.6565 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.5449, allocations: 4 kB / 0.6565 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.5467, allocations: 343.9 kB / 0.6568 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.5484, allocations: 0.4897 MB / 0.6573 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.5485, allocations: 55.97 kB / 0.6573 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.5617, allocations: 11.81 MB / 0.6689 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5618, allocations: 8.094 kB / 0.6689 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00692/0.5687, allocations: 3.393 MB / 0.6722 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.5697, allocations: 294.8 kB / 0.6725 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.5699, allocations: 47.98 kB / 0.6725 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/0.5709, allocations: 71.92 kB / 0.6726 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.5713, allocations: 132.9 kB / 0.6727 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5714, allocations: 59.92 kB / 0.6728 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009963/0.5724, allocations: 0.6534 MB / 0.6734 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5724, allocations: 0 / 0.6734 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002232/0.5746, allocations: 0.5937 MB / 0.674 GB, free: 11.45 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.0004602/0.5751, allocations: 194.4 kB / 0.6742 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.5815, allocations: 3.379 MB / 0.6775 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.5816, allocations: 4 kB / 0.6775 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003165/0.5847, allocations: 1.826 MB / 0.6792 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.5864, allocations: 333.6 kB / 0.6796 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.5955, allocations: 5.492 MB / 0.6849 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.5968, allocations: 1.049 MB / 0.686 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/0.5974, allocations: 119.4 kB / 0.6861 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.5974, allocations: 0 / 0.6861 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.3036/0.901, allocations: 65.55 MB / 0.7501 GB, free: 165 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] Could not SIGINT process: 1850832. Could not SIGINT process: 1850833. Could not SIGINT process: 1850836. Could not SIGINT process: 1850023. [Calling os._exit(0), Time elapsed: 496.405850417912] Failed to read output from testmodel.py, exit status != 0: 0.9099068571813405 0.91868827 0.518071789 Calling exit ...