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.001381/0.001381, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001523/0.001523, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 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.2042/0.2042, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002346/0.002346, allocations: 78.38 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.346, allocations: 62.46 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01417/0.3602, allocations: 10.22 MB / 0.5524 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.3737, allocations: 6.497 MB / 0.5587 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.3753, allocations: 63.5 kB / 0.5588 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02911/0.4044, allocations: 14.24 MB / 0.5727 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.4096, allocations: 1.116 MB / 0.5738 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.4127, allocations: 0.6745 MB / 0.5745 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008466/0.4211, allocations: 4.074 MB / 0.5784 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.4232, allocations: 0.8319 MB / 0.5793 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.4258, allocations: 1.117 MB / 0.5803 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.4288, allocations: 1.46 MB / 0.5818 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007049/0.4295, allocations: 144 kB / 0.5819 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.4313, allocations: 0.5461 MB / 0.5824 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.4327, allocations: 0.9038 MB / 0.5833 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4345, allocations: 0.8011 MB / 0.5841 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.4385, allocations: 2.53 MB / 0.5866 GB, free: 6.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4385, allocations: 0 / 0.5866 GB, free: 6.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4385, allocations: 0 / 0.5866 GB, free: 6.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.576e-05/0.4386, allocations: 0 / 0.5866 GB, free: 6.848 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.006401/0.445, allocations: 2.135 MB / 0.5887 GB, free: 4.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.445, allocations: 15.98 kB / 0.5887 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.4473, allocations: 371.4 kB / 0.589 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.4506, allocations: 1.197 MB / 0.5902 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4507, allocations: 106.6 kB / 0.5903 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006303/0.4513, allocations: 231.8 kB / 0.5905 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/0.4554, allocations: 2.145 MB / 0.5926 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-05/0.4555, allocations: 15.89 kB / 0.5926 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.4557, allocations: 55.97 kB / 0.5927 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008497/0.4566, allocations: 186.6 kB / 0.5929 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.46, allocations: 1.752 MB / 0.5946 GB, free: 14.45 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.01316/0.4732, allocations: 7.447 MB / 0.6019 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.4758, allocations: 1.288 MB / 0.6031 GB, free: 5.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.4772, allocations: 0.7234 MB / 0.6038 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-05/0.4773, allocations: 20.98 kB / 0.6038 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.4773, allocations: 43.56 kB / 0.6039 GB, free: 4.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.667e-06/0.4773, allocations: 0 / 0.6039 GB, free: 4.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02041/0.4977, allocations: 7.137 MB / 0.6108 GB, free: 13.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.4978, allocations: 94.42 kB / 0.6109 GB, free: 13.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.4993, allocations: 0.9825 MB / 0.6119 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.4994, allocations: 53.73 kB / 0.6119 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007916/0.5002, allocations: 0.7933 MB / 0.6127 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.5009, allocations: 0.5616 MB / 0.6133 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006387/0.5016, allocations: 331.4 kB / 0.6136 GB, free: 10.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5017, allocations: 305.1 kB / 0.6139 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.5032, allocations: 0.7769 MB / 0.6146 GB, free: 9.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.5051, allocations: 1.244 MB / 0.6158 GB, free: 8.039 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.01739/0.5225, allocations: 5.61 MB / 0.6213 GB, free: 2.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.5225, allocations: 4 kB / 0.6213 GB, free: 2.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01028/0.5328, allocations: 3.781 MB / 0.625 GB, free: 14.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.5328, allocations: 20.06 kB / 0.625 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.5329, allocations: 16 kB / 0.6251 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005986/0.5389, allocations: 1.72 MB / 0.6267 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5401, allocations: 267.5 kB / 0.627 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0307/0.5708, allocations: 17.72 MB / 0.6443 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.5723, allocations: 83.94 kB / 0.6444 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.5726, allocations: 75.98 kB / 0.6444 GB, free: 10.15 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.001284/0.5739, allocations: 0.5357 MB / 0.645 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/0.5744, allocations: 150.9 kB / 0.6451 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.5798, allocations: 2.241 MB / 0.6473 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.5798, allocations: 12 kB / 0.6473 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.5799, allocations: 8 kB / 0.6473 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.5799, allocations: 15.91 kB / 0.6473 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/0.5894, allocations: 3.781 MB / 0.651 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.5894, allocations: 11.92 kB / 0.651 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.591, allocations: 299.6 kB / 0.6513 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.5937, allocations: 0.5429 MB / 0.6519 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.5938, allocations: 51.97 kB / 0.6519 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.6057, allocations: 9.461 MB / 0.6611 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.6057, allocations: 4 kB / 0.6611 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/0.6126, allocations: 3.053 MB / 0.6641 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/0.6136, allocations: 266.9 kB / 0.6644 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.6139, allocations: 47.97 kB / 0.6644 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.615, allocations: 67.88 kB / 0.6645 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.6153, allocations: 129 kB / 0.6646 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6154, allocations: 39.98 kB / 0.6647 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00142/0.6168, allocations: 0.6405 MB / 0.6653 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6168, allocations: 0 / 0.6653 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002991/0.6198, allocations: 0.5663 MB / 0.6658 GB, free: 3.531 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.0004759/0.6203, allocations: 175.2 kB / 0.666 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006247/0.6266, allocations: 3.004 MB / 0.6689 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.6266, allocations: 7.938 kB / 0.6689 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6292, allocations: 1.524 MB / 0.6704 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6308, allocations: 304.1 kB / 0.6707 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.6409, allocations: 5.092 MB / 0.6757 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.6428, allocations: 1.001 MB / 0.6767 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001303/0.6441, allocations: 400 kB / 0.6771 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.6445, allocations: 99.42 kB / 0.6771 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.6446, allocations: 3.938 kB / 0.6772 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of Templates: time 0.05914/0.7037, allocations: 31.84 MB / 0.7082 GB, free: 8.191 MB / 0.545 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: 6.700545007362962] Failed to read output from testmodel.py, exit status != 0: 0.7145275119692087 0.7310770400000001 0.288880917 Calling exit ...