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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 192.3 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 247.1 MB, free: 4.316 MB / 190.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.2833/0.2833, allocations: 38.01 MB / 337.2 MB, free: 13.02 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 70.22 kB / 467.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1072, allocations: 58.07 MB / 0.5133 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01345/0.1207, allocations: 10.94 MB / 0.524 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1327, allocations: 7.084 MB / 0.5309 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1339, allocations: 43.75 kB / 0.5309 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02324/0.1572, allocations: 12.91 MB / 0.5435 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.1606, allocations: 1.104 MB / 0.5446 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1626, allocations: 0.6589 MB / 0.5453 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006426/0.169, allocations: 3.899 MB / 0.5491 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.1708, allocations: 1 MB / 0.55 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.1729, allocations: 1.078 MB / 0.5511 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.1753, allocations: 1.398 MB / 0.5525 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.1756, allocations: 144 kB / 0.5526 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1768, allocations: 0.5071 MB / 0.5531 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009933/0.1778, allocations: 0.8885 MB / 0.554 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.1792, allocations: 0.9601 MB / 0.5549 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.1827, allocations: 2.499 MB / 0.5573 GB, free: 12.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1828, allocations: 4 kB / 0.5573 GB, free: 12.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1828, allocations: 0 / 0.5573 GB, free: 12.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.1828, allocations: 0 / 0.5573 GB, free: 12.47 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.004957/0.1878, allocations: 2.21 MB / 0.5595 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.1879, allocations: 11.89 kB / 0.5595 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.1897, allocations: 331.5 kB / 0.5598 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.1925, allocations: 1.296 MB / 0.5611 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.1926, allocations: 102.6 kB / 0.5612 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/0.1932, allocations: 243.7 kB / 0.5614 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.1969, allocations: 2.141 MB / 0.5635 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.1969, allocations: 7.938 kB / 0.5635 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.1971, allocations: 59.98 kB / 0.5636 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006523/0.1978, allocations: 182.7 kB / 0.5637 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.2008, allocations: 1.76 MB / 0.5655 GB, free: 3.918 MB / 430.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.01245/0.2133, allocations: 8.595 MB / 0.5739 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.2161, allocations: 1.814 MB / 0.5756 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2175, allocations: 0.7612 MB / 0.5764 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-05/0.2176, allocations: 25.05 kB / 0.5764 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.2176, allocations: 47.56 kB / 0.5764 GB, free: 8.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 2.645e-06/0.2176, allocations: 0 / 0.5764 GB, free: 8.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01908/0.2367, allocations: 7.604 MB / 0.5839 GB, free: 364 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.2368, allocations: 94.45 kB / 0.584 GB, free: 252 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.257/0.4938, allocations: 1.032 MB / 0.585 GB, free: 67.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.4942, allocations: 53.42 kB / 0.585 GB, free: 67.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.4947, allocations: 0.7813 MB / 0.5858 GB, free: 67.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.4952, allocations: 0.5629 MB / 0.5863 GB, free: 66.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/0.4958, allocations: 334.1 kB / 0.5867 GB, free: 66.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.4959, allocations: 302.5 kB / 0.5869 GB, free: 66.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4973, allocations: 0.7723 MB / 0.5877 GB, free: 66.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.499, allocations: 1.244 MB / 0.5889 GB, free: 65.38 MB / 446.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.01632/0.5153, allocations: 5.688 MB / 0.5945 GB, free: 63.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.5154, allocations: 4.281 kB / 0.5945 GB, free: 63.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009507/0.5249, allocations: 3.921 MB / 0.5983 GB, free: 61.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.5249, allocations: 11.92 kB / 0.5983 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/0.525, allocations: 14.69 kB / 0.5983 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006073/0.5311, allocations: 1.75 MB / 0.6 GB, free: 61.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.5322, allocations: 261 kB / 0.6003 GB, free: 61.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.5534, allocations: 18.51 MB / 0.6184 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5549, allocations: 83.94 kB / 0.6184 GB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.555, allocations: 75.98 kB / 0.6185 GB, free: 48.36 MB / 446.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.0008048/0.5558, allocations: 0.5368 MB / 0.619 GB, free: 47.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.556, allocations: 155 kB / 0.6192 GB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.5602, allocations: 2.405 MB / 0.6215 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5603, allocations: 13.42 kB / 0.6215 GB, free: 45.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5603, allocations: 7.938 kB / 0.6215 GB, free: 45.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.5603, allocations: 15.97 kB / 0.6216 GB, free: 45.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006711/0.567, allocations: 4.312 MB / 0.6258 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.5671, allocations: 7.25 kB / 0.6258 GB, free: 40.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.5684, allocations: 307.6 kB / 0.6261 GB, free: 40.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.5707, allocations: 0.5581 MB / 0.6266 GB, free: 39.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5708, allocations: 55.97 kB / 0.6267 GB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/0.5781, allocations: 10.14 MB / 0.6366 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5782, allocations: 4 kB / 0.6366 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.5834, allocations: 3.221 MB / 0.6397 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.5841, allocations: 356 kB / 0.6401 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.5843, allocations: 47.92 kB / 0.6401 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/0.585, allocations: 63.94 kB / 0.6402 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.5853, allocations: 113.1 kB / 0.6403 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.5854, allocations: 40.09 kB / 0.6403 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007169/0.5861, allocations: 0.7047 MB / 0.641 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5861, allocations: 0 / 0.641 GB, free: 24.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001834/0.588, allocations: 0.5704 MB / 0.6416 GB, free: 23.79 MB / 446.1 MB 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.0003252/0.5883, allocations: 193.4 kB / 0.6417 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.5927, allocations: 3.117 MB / 0.6448 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.5928, allocations: 0 / 0.6448 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.5947, allocations: 1.587 MB / 0.6463 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5962, allocations: 330 kB / 0.6466 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.6024, allocations: 5.217 MB / 0.6517 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/0.6034, allocations: 1.585 MB / 0.6533 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.6038, allocations: 107.4 kB / 0.6534 GB, free: 11.51 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6039, allocations: 3.938 kB / 0.6534 GB, free: 11.5 MB / 446.1 MB Notification: Performance of Templates: time 0.06064/0.6645, allocations: 50.19 MB / 0.7024 GB, free: 9.305 MB / 494.1 MB " [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.534363289014436] Failed to read output from testmodel.py, exit status != 0: 0.6711591010680422 0.6846052300000001 0.49916195700000004 Calling exit ...